> -----Original Message----- > From: [email protected] [mailto:help-grub- > [email protected]] On Behalf Of Lentes, Bernd > Sent: Thursday, October 06, 2011 6:20 PM > To: GRUB ML ([email protected]) > Subject: difference in recognizing the drives on boot and in running OS ? > > Hi, > > i have a sles 10 box not booting. Grub says error 22, which, afaik means > that it doesn't find a partition. / and /boot reside on /dev/sdc2. > Device.map says sdc is hd2 in GRUB notation. I changed the root entries in > menu.lst to hd2,1. I ran (in a GRUB shell in the running OS) root (hd2,1) > and setup (hd2). Everything went fine. But when i try to reboot, i get > error 22. Is there a possible difference between GRUB recognizing the > drives during boot, and later on in a running OS ?
Probably not, but there is most definitely a possibility the drive target will change between one boot and the next. > Is there a way to find > out how GRUB assigns the drives on boot, maybe using the GRUB command-line > which is available during boot up ? No, but running GRUB2 instead of GRUB Legacy and specifying the drive target by UUID should eliminate the issue. _______________________________________________ Help-grub mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-grub
