Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
hi. i lost my windows xp (i assume since i can't boot into windows xp) after i did a linux install of GRUB boot loader.
heres exactly what happen.
i have windows xp on my c drive
i installed red hat linux 9.0 on another drive with the LILO boot loader. afterwards, i didn't like the LILO loader so i installed GRUB with the following command:
grub-install /dev/hdai didnt remove LILO or anything(didn't know how). when i rebooted. the LILO loader was still there. after i clicked on DOS, the GRUB loader pops up and i repeatedly click on DOS but GRUB just reloads itself. i couldn't boot into windows. i started messing around with it and got into a GRUB prompt. i typed the following command:
rootnoverify (hd0)dunno why i did that, but i still couldn't boot into windows. SOMEONE help please. thanks in advance

hi
I suppose you can still boot in linux with grub.
first run 'grub' as root
you'll get a command line from grub
then type:
'root (hd0,0)' #this is your bootpartition(/boot) (hd0,0=hda1, hd0,1=hda2, etc...)
then
'setup (hd0)' #this will put grub in the MBR and overwrite any other loaders(such as lilo)
then type
'quit'
to get out of the command lineNow you'll have to edit /boot/grub/grub.conf
it's somthing like this:
default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gztitle=Linux
root (hd0,0)
kernel (hd0,0)/boot/bzImage root=/dev/hda3title=Windows
root (hd0,5)
chainloader (hd0,5)+1The last section is to be able to boot up windows with grub, so you'll probably just have to add that part.
Now just reboot and see if it works.grtz
hesoez

I doubt, that this resolves the problem. bbimaginex hat his/her XP on the c drive. I'd assume the Windows part should look lioke:
title=Windows
chainloader (hd0,0)+1At least it should be worth to try it.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |