( I am resending this, as it did no make it the last time Original Subject : Grub syntax problems )
Hi! In short : grub ( run from boot block ) accepts ( via manual edit ) both "root(hd1,0)" and "root (hd1,0)" ( space between "root" and "(hd1,0)" ), but in /boot/grub/grub.conf only "root (hd1,0)" is accepted, while "root(hd1,0)" is silently dropped ( boot grub, edit the entry and see that the "root(hd1,0)" line is missing. Long story : I added a new disk in my system ( hdd ) and added a boot entry for it in grub.conf on my Psyche ( RH 8.0 ) system : ( the last entry for phoebe BETA is new ) # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You do not have a /boot partition. This means that # all kernel and initrd paths are relative to /, eg. # root (hd0,5) # kernel /boot/vmlinuz-version ro root=/dev/hdc6 # initrd /boot/initrd-version.img #boot=/dev/hdc default=2 timeout=2 splashimage=(hd0,5)/boot/grub/splash.xpm.gz title Red Hat Linux (2.4.18-18.8.0) root (hd0,5) kernel /boot/vmlinuz-2.4.18-18.8.0 ro root=LABEL=/ hda=ide-scsi initrd /boot/initrd-2.4.18-18.8.0.img title Red Hat Linux (2.4.18-14) root (hd0,5) kernel /boot/vmlinuz-2.4.18-14 ro root=LABEL=/ hda=ide-scsi initrd /boot/initrd-2.4.18-14.img title Windows 2000 Pro rootnoverify (hd0,0) chainloader +1 title Red Hat Linux 8.0.93 phoebe BETA root(hd1,0) kernel /boot/vmlinuz-2.4.20-2.21 ro root=LABEL=root_93 hda=ide-scsi initrd /boot/initrd-2.4.20-2.21.img The entry is correct, but on boot it complains error 15 : file not found. It turns out ( select the entry in boot menu, press e ) that the "root(hd1,0)" line got lost. If I add it manually ( 'O' , 'e' , type "root(hd1,0)" , ENTER , 'b' ), then it boots without a problem. grub is grub-0.92-7 I upgraded it to grub-0.93-2 ( from phoebe2 CD ) , run "grub-install /dev/hdc" and it still behaves the same. Solution : Replace the "root(hd1,0)" line with "root (hd1,0)" . How to syntax check grub.conf ? Regards, David Balazic -- David Balazic -------------- "Be excellent to each other." - Bill S. Preston, Esq., & "Ted" Theodore Logan - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - _______________________________________________ Bug-grub mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-grub