How to restore boot loader on Mandriva 09 dual boot with Suse 11.0 ?
Okay simple question, I am trying to restore my dual boot-loader on Mandriva 2009 and OpenSuse 11.0.
Somehow during one of my updates with a newer kernel and removal of my older kernel on Manriva 2009, the grub boot-loader erased OpenSuse from the boot-loader menu. What is an easy fix for this? I thought about doing a complete new install of Mandriva 2009 without formatting to accomplish said repair. Anyone offer a better solution or advice? d-1 |
I use a GRUB boot cd for this kind of thing. Basically you boot the CD and get a GRUB prompt. then you run:
Code:
find /boot/grub/stage1 Code:
root (hdx,x) Code:
setup (hd0) Then run "reboot" on the GRUB prompt, eject the CD, and you should be greeted with GRUB after the POST. |
I am a bit confused, here is what I see when I go to MCC and enter into boot-loader and pull down on the arrow scroll down.
when I pull the scroll arrow down in MCC in grub, here is what I see in exact order..... /dev/sda (ATA Maxtor STM332062) /dev/sdg/ (samsung HDSOMUJ1MP729155 /dev/sda1 /dev/sda5 /dev/sdg6 /dev/sdg1 /dev/sdg2 /dev/Fdo (H1440) |
Which boot loader did you use mandriva or Opensuse ?
Tell us which one Open a terminal as su run the command fdisk -l(L lower case) and give the output |
Sorry I did not post sooner, I got in late......I appreciate the help:
OpenSuse is on the sdg drive.... Disk /dev/sda: 320.0 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x3d7bd5ad Device Boot Start End Blocks Id System /dev/sda1 * 1 1019 8185086 83 Linux /dev/sda2 1020 38913 304383555 5 Extended /dev/sda5 1020 1528 4088511 82 Linux swap / Solaris /dev/sda6 1529 38913 300294981 83 Linux Disk /dev/sdg: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x000d156c Device Boot Start End Blocks Id System /dev/sdg1 1 2611 20972826 83 Linux /dev/sdg2 2612 60801 467411175 83 Linux Mandriva 2009 is on sda drive, OpenSuse is on sdg drive Quote:
|
Solution to broken dual-boot boot loader:
This is what I did to resolve my broken dual boot-loader for mandriva and Suse. 1) Use Mandriva 2009 Installation DVD 2) Choose New Installation, but do not format any of the drives 3) name the 2nd drive /whatevernameyouchoose /whatevernameyouchooseHOME 4) Choose 1st sector of sda for MBR 5) Configure Items such as Timezone and Internet connection and proceed with obvious rest of the steps Viola.....dual boot with Mandriva and Suse...... d-1 |
attempting triple boot with xp, ubuntu, suse
1. Installed XP. Works fine.
2. Installed Ubuntu. Can boot to either without problem. 3. Installed SUSE 11 x64. Can boot to XP or SUSE, BUT NOT TO UBUNTU. 4. Followed instructions on: https://help.ubuntu.com/community/Re...tallingWindows. Specifically step 4 on the first section. After this, the configuration is returned to basically that of step 2 above. Except SUSE still exists. 5. Used SUPER GRUB DISK and restored Grub from SUSE partition. Configuration returned to step 3 above. Code:
hostname:/home/username # fdisk -l |
What is the outcome of the command cat /boot/grub/menu.lst
|
Code:
# Modified by YaST2. Last modification on Sat Dec 6 18:00:12 CET 2008 |
Booting from the Opensuse Grub with this entry in the menu.lst in Opensuse:
title Ubuntu 8.10, kernel 2.6.27-9-generic (/dev/sda5) root (hd0,4) configfile /boot/grub/menu.lst will first give you the Opensuse menu options which should include Opensuse, xp, Ubuntu. With the entry above, you will then get a second menu which contains the menu.lst from Ubuntu giving you options to boot. If you don't want the second menu to come up, you will need to change the entry above, the "configfile...part". Easiest thing to do would be to copy the entry for Ubuntu from the Ubuntu menu.lst to the Opensuse menu.lst. In your last post with the menu.lst entries, the entry for Opensuse is looking for the kernel and the entry for Ubuntu is looking for its menu.lst and after finding that will look for the appropriate kernel. |
//moderator.note: cleanup time. These posts got pruned from their original one (threadid=687428) after a certain member hijacked that thread.
|
All times are GMT -5. The time now is 04:20 AM. |