lost grub and ability to load WinHD

Stuart Sears stuart at sjsears.com
Thu Aug 12 09:25:49 UTC 2004


On Thu, 2004-08-12 at 00:30, Stephen W wrote:
> Messed with new distros and messed up grub.
> 
> Cannot load my Windows HD...
as in, you can no longer boot windows?
can you boot anything else?
> I did this once before but cannot find the answer to
> the problem.
> Went thru all my old Emails (all 565 of them) and it
> is not there.
if you just want to boot windows from grub, put something like this at
the bottom of your /boot/grub/grub.conf file:

title Windows
rootnoverify (hd0,0)
chainloader +1

this assumes that your windows C: drive is /dev/hda1 (or sda1, if you
have a SCSI machine)
grub counts from 0!
(hd0,0) = first drive, first partition.
chainloader +1 = run the bootloader you find on sector 1 of this
partition.

HTH

Stuart
--
Stuart Sears RHCE, RHCX






More information about the redhat-list mailing list