5

How can linux detect automatically if kernel must boot on dev hdc or hda

view full story
linux-howto

http://unix.stackexchange.com – I have an industrial delivered with sligltly diferent internal board. Depending o the board revision the disk dom is see as hda or hdc. Till now to select between these two option I simply put two entry inside the grub menu.lst like show belowe, so at the first start the maintenance people will select the correct device which will be memorize for future reboot. default = 0 timeout = 9 title Linux 2.4.34 ( hda ) root (hd0,0) kernel /boot/vmlinuz-2.4.34 ro root=/dev/hda1 console=ttyS0,9600 console=tty0 apm=off title Linux 2.4.34 ( hdc ) root (hd0,0) kernel /b (HowTos)