LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   booting to windows (https://www.linuxquestions.org/questions/linux-general-1/booting-to-windows-123023/)

n_logo 12-05-2003 02:02 PM

booting to windows
 
I am using Grub.

My code in grub looks like..

other=Windows 98
root (hd1,0)
chainloader +1


When I select windows from the boot loader, I get a screen similar to this:

Booting Windows 98...

root (hd1,0)
fat system, (something else)
chainloader +1


Then the system just sits there. The drive is plugged into a pci raid card, but I dont think that it should matter because Grub is able to read the drive and get partition info and fs info. So... what can I do to get access to Windows again?

wapcaplet 12-05-2003 02:33 PM

It looks like you may have done the same thing I did last time I tried using GRUB: I accidentally (via a small typo) loaded the bootloader into the Windows root partition, rather than into the hard drive's master boot record. I got the same message when trying to boot; the MBR loaded GRUB, I selected "Windows", which loaded the boot record on the Windows partition... which just contained GRUB again.

I was unable to really recover my Windows drive. I eventually got it to boot, by using a Windows CDRom and running "sys c:", but Windows was horribly broken afterwards. About all I can tell you is to reinstall Windows. And use LILO this time - it's much friendlier IMHO :) To me, it's a lot safer to edit a configuration file (/etc/lilo.conf), make sure everything is right, and then run 'lilo', rather than typing potentially catastrophic commands into GRUB's shell.

You may still be able to mount your Windows drive to back stuff up if you need to, assuming the FAT is not damaged by being overwritten with GRUB.


All times are GMT -5. The time now is 12:39 AM.