Here is a typical line from grub:
now, we are deploying the same image (inc. kernel) on multiple machines, some are IDE (hda) others SATA (sda)
Is there a way for the label provided to root= to be dynamic dependant on which drive type it is?
Code:
kernel (hd0,0)/gentoo-current root=/dev/sda3
now, we are deploying the same image (inc. kernel) on multiple machines, some are IDE (hda) others SATA (sda)
Is there a way for the label provided to root= to be dynamic dependant on which drive type it is?