Help restoring Grub.

Status
Not open for further replies.

Dark Star

Cyborg Agent
Ok Installed Mandriva 08 .. It took away my Ubuntu Grub .. Well now Mandriva even not working :mad: It nly works just after I install it and after 2 bot I end up in GDM hangs. :mad: Sucks.. Well thats not the point how can I restore my past fiesty grub so that I can use till my Cd arrives..;)
 

QwertyManiac

Commander in Chief
You should have known that, or should have searched it at least, being so good at Linux here. There've been so many threads on this ... :(

Anyway, the procedure is:

Easy and Dumb:
1. Boot your computer up with Ubuntu CD
2. Go through all the process until you reach "[!!!] Disk Partition"
3. Select Manual Partition
4. Mount your appropriate Linux partitions

/
/boot
swap
.....

5. DO NOT FORMAT THEM.
6. Finish the manual partition
7. Say "Yes" when it asks you to save the changes
8. It will give you errors saying that "the system couldn't install ....." after that
9. Ignore them, keep select "continue" until you get back to the Ubuntu installation menu
10. Jump to "Install Grub ...."
11. Once it is finished, just restart your computer
Smart:
1. Pop in the Live CD, boot from it until you reach the desktop.
2. Open a terminal window or switch to a tty.
3. Type "grub"
4. Type "root (hd0,6)", or whatever your harddisk + boot partition numbers are (my /boot is at /dev/sda7, which translates to hd0,6 for grub).
5. Type "setup (hd0)", ot whatever your harddisk nr is.
6. Quit grub by typing "quit".
7. Reboot.

Evergreen topic - *ubuntuforums.org/archive/index.php/t-24113.html
 

infra_red_dude

Wire muncher!
Shashwat, I think you had the same problem a few months ago rite? At least you should've been more careful this time.

Were you able to solve this problem?
 
OP
Dark Star

Dark Star

Cyborg Agent
Ya did solved :) and I had same prob months ago :p Well how to merge 2 grub menus.. I mean when open SUSe mandriva sk me to install grub should I install it in the same HDD of Ubuntu 1 :?
 

QwertyManiac

Commander in Chief
You're installing it onto the MBR right? If so yeah, you have to let it overwrite and hope that it detects the Ubuntu too.

Else, after you get inside SUSE/Mandriva/Whatever open the Ubuntu partition and see the menu.lst there and paste the required entries to the acting distro's Grub's menu.lst as required.
 

infra_red_dude

Wire muncher!
The best thing would be NOT to let mandriva install GRUB onto MBR. Instead let it reside on the boot partition. Then you can manually edit the grub menu list in you ubuntu and add the mandriva entry.
 

Pathik

Google Bot
^^ Another option wd be not to install Mandriva's GRUB at all..
So that u dont have to pass thru two bootloaders to get to Mandriva...
Or keep the Mandriva bootloaders default OS as Mandriva and keep the waiting time 0 secs..
 
Status
Not open for further replies.
Top Bottom