LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   GRUB question (https://www.linuxquestions.org/questions/linux-newbie-8/grub-question-541941/)

jdestruel 03-30-2007 11:21 AM

GRUB question
 
Before I ask my question, here is my setup:

1. I installed XP pro and I backed it up.
2. I installed Suse 10.2 with GRUB active i.e. when I boot, GRUB loads and I can select which OS I want.
2. My partition on which I had XP got corrupted and I had to re-format and reload from the backup.
3. when I reloaded from the backup, the MBR was the original one, without GRUB. So, now when I boot, it goes directly into XP. I don't see Linux anymore.

My question: What do I need to do so that GRUB gets re-activated and I have a dual boot?

Thanks

pljvaldez 03-30-2007 11:26 AM

http://www.justlinux.com/forum/showthread.php?t=144295

darkangel29 03-31-2007 11:27 AM

I use a livecd that will let me configure grub. I chroot in to my linux partition, in shell type chroot /dev/hdXx. Then type the commands: grub, find /boot/grub/menu.lst, root (hdX,x), setup (hdX). Then reboot. Just change the x with correct partition and hdd number


All times are GMT -5. The time now is 10:05 PM.