ran grub-install, no longer sure how to boot windows
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
ran grub-install, no longer sure how to boot windows
I have one drive, split in half, first half is NTFS (win2k) and second is my linux + swap. I ran grub-install /dev/hda1, wanting to remove the windows boot loader, now grub loads first (before the windows boot loader did), but I can't load windows. I have 3 other kernels that load fine.
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1084 8707198+ 7 HPFS/NTFS
/dev/hda2 1085 2432 10827810 5 Extended
/dev/hda5 1085 2307 9823716 83 Linux
/dev/hda6 2308 2432 1004031 82 Linux swap
I ran grub-install /dev/hda1, which I am guessing was a mistake. I thought I could mirror my desktop machine config which loads grub first, then when I select DOS, loads windows2k.
2 problems are that I don't have floppy (laptop) and have no idea how to boot windows to where I can run fdisk /fixmbr?
Any tips? I guess the problem is I overwrote the first sectort on /dev/hda1 with grub? Is there any way to fix this within Linux?
Yes I know how to do that. My problem is I am pretty sure I typed "grub-install /dev/hda1", which I would believe overwrote the neccesary info on the win2k partition (/dev/hda1) to boot itself. Is there any way to fix this?
With the Windows2000 CD, you could try to boot it and use the Repair System option.
Although I don't remember if the win2k CD has the option, it should.
Once done, you use the RedHat 9.0 CD to boot into Rescue mode and re-install GRUB back into the MBR.
After booting with my laptop's win2k CD (a normal win2k pro cd wouldn't work for some reason), I went to the recovery console and ran fboot which then wrote to boot sector of c:
I didn't run fixmbr because I figured then it would be untouched and grub would run fine. However GRUB froze after printing GRUB. I booted up with my Knoppix cd and ran grub-install to /dev/hda and now I'm set up.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.