SUSE can't boot into Ubuntu 9.10

hello all! first post here :slight_smile:

I’m running SUSE 11.2 along with windows 7 and Ubuntu

Windows 7 on sda1, Ubuntu 9.10 on sda2, SUSE on sda3.

Yet SUSE GRUB couldn’t detect Ubuntu for some reason, it did detect Windows 7 though. So my current SUSE GRUB shows SUSE, Windows 7 and SUSE failsafe.

Here’s what i tried

YaST - System - Bootloader - Other -reread configuration from Disk
However, it couldn’t find Ubuntu

Manually add Ubuntu into menu.lst


###Don't change this comment - YaST2 identifier: Original name: linux###
title Ubuntu 9.10
rootnoverify (hd0,1)
chainloader +1 

SUSE GRUB shows Ubuntu but when attempt to boot into Ubuntu, I get Error 13


rootnoverify (hd0,1)
chainloader +1

Error 13: Invalid or unsupported executable format

my partition table


Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0af20af2

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        2550    20482843+   7  HPFS/NTFS
/dev/sda2            2551        5100    20482875   83  Linux
/dev/sda3   *        5101        7650    20482875   83  Linux
/dev/sda4            7651       19457    94839727+   5  Extended
/dev/sda5            8161       19457    90743121    7  HPFS/NTFS
/dev/sda6            7651        8160     4096512   82  Linux swap / Solaris

Your help is greatly appreciated :slight_smile:

Would this do it I wonder

#Don’t change this comment - YaST2 identifier: Original name: none#
title Ubuntu 9.10
root (hd0,1)
kernel /vmlinuz root=/dev/sda2 ro quiet splash
initrd /initrd.img

oh WOW! you help me solved a problem that i’ve been struggling for days in just one post. Now i learn something new! If you can, please show me how did you come up with that boot entry!


#Don't change this comment - YaST2 identifier: Original name: none#
title Ubuntu 9.10
root (hd0,1)
kernel /vmlinuz root=/dev/sda2 ro quiet splash
initrd /initrd.img 

will the kernel thing change when new Ubuntu release come out? so basically i will just have to change the location of the OS like (hd0,1) to the appropriate parittion and keep every other lines the same right?

Please take here my greatest gratitude!

The reason is that Ubuntu 9.10 is using Grub2 and openSUSE Legacy Grub. The config files have different names.

You’re trying to chainload Ubuntu’s Grub. It would work if you did install Ubuntu’s Grub in the bootsector of your second partition (sda2). But more likely you didn’t. What caf4926 suggests is to boot Ubuntu’s kernel directly.

will the kernel thing change when new Ubuntu release come out? so basically i will just have to change the location of the OS like (hd0,1) to the appropriate parittion and keep every other lines the same right?

Partitions numbering starts by 0 in Legacy Grub and by 1 in Grub 2.
So (hd0,0) in openSUSE’s Grub would be (hd0,1) in Ubuntu’s (since version 9.10 - Karmic)

This should continue thru kernel updates.

How did I come up with it??: Well you gave me the info I needed in fdisk -l and told me which partition was Ub*. That’s how

Thank you for your explanations! Just one more thing, could you also explain or point me to some guides on installing Ubuntu’s GRUB in the second partition’s boot sector? Because i remember i did install Ubuntu’s bootloader

Thank you again and i’ll be sure to check out the website too, it has useful tutorials.

That would be (under Ubuntu!) :
grub-install /dev/sda2

More info here: Grub2 - Community Help Wiki

Got it! :smiley:

Thanks it helped me to make work my dual boot, OpenSUSE / Ubuntu.

But Yast did not make it alone ! I had to edit the menu.lst ! :frowning: