Suse 11dual boot Fedora 9

First, let me admit that I should have googled BEFORE installing OpenSuse 11 on top of Fedora 9. I didn’t.

On a DMRAID system I first installed Fedora 9 32 bit.
I do NOT know if Grub was then installed on the MBR. I think so, although I also have a /boot partition.

Then, I installed Opensuse 32 bit and I think let it install the Grub boot loader, on the mbr as well.

Of course, the Fedora install is not on the boot menu.

Using any partition program I can see all the partitions and I know that the root partition of Fedora is partition 3.

How do I tell Yast to add that to the menu?

These are the files currently in /boot.

nat@phenom9600:/boot> ll
total 46136
-rw------- 1 root root     512 2008-07-11 11:32 backup_mbr
lrwxrwxrwx 1 root root       1 2008-07-11 11:16 boot -> .
-rw-r--r-- 1 root root   86348 2008-05-01 06:34 config-2.6.25-14.fc9.i686
-rw-r--r-- 1 root root   88650 2008-06-30 06:53 config-2.6.25.9-0.2-pae
-rw-r--r-- 1 root root   83739 2008-06-30 06:50 config-2.6.25.9-0.2-xen
-rw-r--r-- 1 root root   86595 2008-06-27 16:21 config-2.6.25.9-76.fc9.i686
drwxr-xr-x 3 root root    1024 2008-07-07 23:03 efi
drwxr-xr-x 2 root root    1024 2008-07-14 23:05 grub
lrwxrwxrwx 1 root root      23 2008-07-11 12:11 initrd -> initrd-2.6.25.9-0.2-pae
-rw------- 1 root root 2747571 2008-07-07 23:09 initrd-2.6.25-14.fc9.i686.img
-rw-r--r-- 1 root root 6009292 2008-07-11 12:11 initrd-2.6.25.9-0.2-pae
-rw-r--r-- 1 root root 5227131 2008-07-11 12:09 initrd-2.6.25.9-0.2-xen
-rw------- 1 root root 2762246 2008-07-08 03:38 initrd-2.6.25.9-76.fc9.i686.img
lrwxrwxrwx 1 root root      23 2008-07-11 12:09 initrd-xen -> initrd-2.6.25.9-0.2-xen
drwx------ 2 root root   12288 2008-07-07 21:38 lost+found
-rw-r--r-- 1 root root  427520 2008-07-14 23:05 message
-rw-r--r-- 1 root root  152839 2008-06-30 06:53 symsets-2.6.25.9-0.2-pae.tar.gz
-rw-r--r-- 1 root root  150686 2008-06-30 06:51 symsets-2.6.25.9-0.2-xen.tar.gz
-rw-r--r-- 1 root root  443401 2008-06-30 06:53 symtypes-2.6.25.9-0.2-pae.gz
-rw-r--r-- 1 root root  435192 2008-06-30 06:51 symtypes-2.6.25.9-0.2-xen.gz
-rw-r--r-- 1 root root  128856 2008-06-30 06:53 symvers-2.6.25.9-0.2-pae.gz
-rw-r--r-- 1 root root  125840 2008-06-30 06:50 symvers-2.6.25.9-0.2-xen.gz
-rw-r--r-- 1 root root  892575 2008-05-01 06:34 System.map-2.6.25-14.fc9.i686
-rw-r--r-- 1 root root  916846 2008-06-30 06:44 System.map-2.6.25.9-0.2-pae
-rw-r--r-- 1 root root  875829 2008-06-30 06:45 System.map-2.6.25.9-0.2-xen
-rw-r--r-- 1 root root  891941 2008-06-27 16:21 System.map-2.6.25.9-76.fc9.i686
-rw-r--r-- 1 root root 2731596 2008-06-30 06:52 vmlinux-2.6.25.9-0.2-pae.gz
-rw-r--r-- 1 root root 2207753 2008-06-30 06:50 vmlinux-2.6.25.9-0.2-xen.gz
lrwxrwxrwx 1 root root      24 2008-07-11 12:11 vmlinuz -> vmlinuz-2.6.25.9-0.2-pae
-rwxr-xr-x 1 root root 2088288 2008-05-01 06:34 vmlinuz-2.6.25-14.fc9.i686
-rw-r--r-- 1 root root 2129440 2008-06-30 06:45 vmlinuz-2.6.25.9-0.2-pae
-rw-r--r-- 1 root root 1849551 2008-06-30 06:45 vmlinuz-2.6.25.9-0.2-xen
-rwxr-xr-x 1 root root 2086752 2008-06-27 16:21 vmlinuz-2.6.25.9-76.fc9.i686
lrwxrwxrwx 1 root root      24 2008-07-11 12:09 vmlinuz-xen -> vmlinuz-2.6.25.9-0.2-xen
-rw-r--r-- 1 root root  376890 2008-06-06 22:20 xen-3.2.1_16881_04-4.2.gz
lrwxrwxrwx 1 root root      25 2008-07-11 11:19 xen-3.2.gz -> xen-3.2.1_16881_04-4.2.gz
lrwxrwxrwx 1 root root      25 2008-07-11 11:19 xen-3.gz -> xen-3.2.1_16881_04-4.2.gz
-rw-r--r-- 1 root root  406865 2008-06-06 22:18 xen-dbg-3.2.1_16881_04-4.2.gz
lrwxrwxrwx 1 root root      29 2008-07-11 11:19 xen-dbg-3.2.gz -> xen-dbg-3.2.1_16881_04-4.2.gz
lrwxrwxrwx 1 root root      29 2008-07-11 11:19 xen-dbg-3.gz -> xen-dbg-3.2.1_16881_04-4.2.gz
lrwxrwxrwx 1 root root      29 2008-07-11 11:19 xen-dbg.gz -> xen-dbg-3.2.1_16881_04-4.2.gz
lrwxrwxrwx 1 root root      25 2008-07-11 11:19 xen.gz -> xen-3.2.1_16881_04-4.2.gz
lrwxrwxrwx 1 root root      27 2008-07-11 11:19 xen-syms -> xen-syms-3.2.1_16881_04-4.2
-rw-r--r-- 1 root root 5176089 2008-06-06 22:20 xen-syms-3.2.1_16881_04-4.2
lrwxrwxrwx 1 root root      31 2008-07-11 11:19 xen-syms-dbg -> xen-syms-dbg-3.2.1_16881_04-4.2
-rw-r--r-- 1 root root 5394652 2008-06-06 22:18 xen-syms-dbg-3.2.1_16881_04-4.2

And what follows is the contents of /boot/grub/grub.conf.
Note that the two Fedora titles are there due to my failed attempt to tell Yast about the Fedora partition.


phenom9600:/boot/grub # cat grub.conf
# Modified by YaST2. Last modification on Fri Jul 11 11:18:00 EDT 2008
default 0
timeout 8
##YaST - generic_mbr
gfxmenu (hd0,0)/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.0
    root (hd0,0)
    kernel /vmlinuz root=/dev/mapper/nvidia_fcdefcfd_part7    resume=/dev/mapper/nvidia_fcdefcfd_part5 splash=silent showopts vga=0x31a
    initrd /initrd

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.0
    root (hd0,0)
    kernel /vmlinuz root=/dev/mapper/nvidia_fcdefcfd_part7 showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off x11failsafe vga=0x31a
    initrd /initrd

title Fedora 9 Root Partition

title Fedora 9 Boot Partition

###Don't change this comment - YaST2 identifier: Original name: xen###
title XEN
    root (hd0,0)
    kernel /xen-pae.gz
    module /vmlinuz-xenpae root=/dev/mapper/nvidia_fcdefcfd_part7    resume=/dev/mapper/nvidia_fcdefcfd_part5 splash=silent showopts vga=0x31a
    module /initrd-xenpaephenom9600:/boot/grub #


Please advise.
Thank you.
nat

You can add what you require using the Yast bootloader tool.
But you need to know where you kernel image for F9 is, it is in /boot of your fedora /root and will be “vmlinuz”…
With Fedora I think it keeps old ones in there after kernel updates, so there may be more than one.

Or you can manually edit your /boot/grub/menu.lst to boot F9

you should be able to get to read your F9 /menu.lst file to help you with kernel options etc…

/boot has its own partition. This is the same /boot used by suse.
Looking at a snippet of my previous post, a listing of /boot taken under suse, it seems like there are two f9 (fedora 9) images:

lrwxrwxrwx 1 root root      23 2008-07-11 12:11 initrd -> initrd-2.6.25.9-0.2-pae
-rw------- 1 root root 2747571 2008-07-07 23:09 initrd-2.6.25-14.fc9.i686.img
-rw-r--r-- 1 root root 6009292 2008-07-11 12:11 initrd-2.6.25.9-0.2-pae
-rw-r--r-- 1 root root 5227131 2008-07-11 12:09 initrd-2.6.25.9-0.2-xen
-rw------- 1 root root 2762246 2008-07-08 03:38 initrd-2.6.25.9-76.fc9.i686.img
lrwxrwxrwx 1 root root      23 2008-07-11 12:09 initrd-xen -> initrd-2.6.25.9-0.2-xen

I am a bit wary of changing menu.lst since I don’t understand all the options. (Specifically, what does “resume=…” mean?)
Let me try… Here is the current menu.lst:


# Modified by YaST2. Last modification on Tue Jul 15 13:14:00 EDT 2008
default 0
timeout 8
##YaST - generic_mbr
gfxmenu (hd0,0)/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.0 - 2.6.25.9-0.2 (pae)
    root (hd0,0)
    kernel /vmlinuz-2.6.25.9-0.2-pae root=/dev/mapper/nvidia_fcdefcfd_part7 resume=/dev/mapper/nvidia_fcdefcfd_part5 splash=silent showopts vga=0x37d
    initrd /initrd-2.6.25.9-0.2-pae

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.0 - 2.6.25.9-0.2
    root (hd0,0)
    kernel /vmlinuz-2.6.25.9-0.2-pae root=/dev/mapper/nvidia_fcdefcfd_part7 showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off x11failsafe vga=0x37d
    initrd /initrd-2.6.25.9-0.2-pae

###Don't change this comment - YaST2 identifier: Original name: xen###
title Xen -- openSUSE 11.0 - 2.6.25.9-0.2
    root (hd0,0)
    kernel /xen.gz 
    module /vmlinuz-2.6.25.9-0.2-xen root=/dev/mapper/nvidia_fcdefcfd_part7 resume=/dev/mapper/nvidia_fcdefcfd_part5 splash=silent showopts vga=0x37d
    module /initrd-2.6.25.9-0.2-xen

title Fedora 9
    kernel (hd0,0)/initrd-2.6.25.9-76.fc9.i686.img root=/dev/mapper/nvidia_fcdefcfd_part3

[After reboot]
I get an error 13 from Grub. Invalid img.

Thanks,
nat

getting out of my depth, hope someone else can help