bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grub and RedHat rescue mode


From: Robert Story
Subject: grub and RedHat rescue mode
Date: Fri, 3 May 2002 21:55:31 -0400

I just spent some time haggling with grub while in red hat rescue mode. I had
installed Windows on a new partion, which of course broke grub. So I booted
into rescue mode, and tried to run grub-install to get things back in
order. Unfortunately, I kept getting an error that /dev/root did not exist,
despite the fact that I was trying to install on /dev/hda or (hd0).

I finally tracked it down to a routine in grub-install that was calling
"df /" to find the device for the root file system. In linux rescue mode,
this is /dev/root, which apparently doesn't really exist. I removed the df
and simply hard-coded the device to /dev/hda, and all was well.

I'd suggest that rescue mode is one of the times when you need grub to work
the most!  I hope that future version of grub will work in this scenario.

Thanks for all the work so far!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]