LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   cannot boot xp anymore with RH 7.0 (https://www.linuxquestions.org/questions/linux-general-1/cannot-boot-xp-anymore-with-rh-7-0-a-25992/)

niton 07-17-2002 01:38 PM

cannot boot xp anymore with RH 7.0
 
I first installed XP on my laptop on a 25 gb partition and then I set up Redhat 7.0 on 5 gb.

When I updated the kernel, I changed stuff in the lilo.conf and run lilo.

Great, now I can only boot on Redhat and I cannot boot anymore on XP.

Do I have to reinstall everything or is there something I can do about it ?

My XP partition is NTFS and I guess when I configured lilo it blowed up my MBR, right ?

Some help would be appreciated, thanks.

jetblackz 07-17-2002 09:42 PM

You're correct in assuming that lilo overwrote NTFS bootloader on MBR.

Boot to XP CD. Choose rescue/recovery console. Type help. Then you can maybe do fixmbr. Then you can boot Redhat floppy or CD1 and go to rescue. Edit your lilo.conf.

Ideally, either back up a file or comment out the working lines BEFORE you change something in Linux.

cp lilo.conf lilo.conf.bak

or

pico /etc/lilo.conf
# WindowsXP
#other=/dev/hda2
#label=WindowsXP

Then make change.

linuxcool 07-17-2002 10:01 PM

How did you boot xp and linux before you made the changes? Did you use lilo or xp boot loader program? Could post a copy of your /etc/lilo.conf file.


All times are GMT -5. The time now is 11:57 AM.