reinstall grub
Hi, can someone help me please?
I had the following dualboot setup: Redhat 9 on a Primary Slave WinXP on Primary Master Everything was running fine except a couple of days ago, I use acronis true image 7 to transfer my stuff from my drive on primary master to my new drive. I then proceeded to boot off the new drive, but now GRUB is gone and it just straight boots to windows xp. I think the problem is the MBR is lost when I transferred the data. Is there anyway I can reinstall GRUB on the MBR without having to reinstall Linux again? (I currently can't boot to Linux without the bootloader) Thanks! |
you'll need a bootdisk to get you into your linux system. If you didn't make one during instal, you can probably get one from one of RH's ftp sites. Once you get into linux, open up a console as root, and type
me@localhost# grub you'll get a grub command prompt: grub> root (hd1,0) /*or wherever your boot partition is - (hd1,0) = /dev/hdb1 */ grub> setup (hd0) grub> quit |
Thank you very much! You saved my life!!!!
I don't know how to thank you! Thanks! |
Quote:
We were all new once :). |
All times are GMT -5. The time now is 01:02 PM. |