Need help link 11.3 with ubuntu 10.4

I actually got through most of this myself, I’m just thinking that booting ubuntu w/ grub legacy is the issue…

Heres an Ides of my setup

Window$ /dev/sda1 (hd0,1) Primary
Ubuntu /dev/sda2 (hd0,2) Primary Mount = /
Ubuntu /dev/sda3 Logical Mount = /usr
opensuse /dev/sda4 (hd0,3) Primay Mount = /
SWAP /dev/sda5 (hd0,4)
opensuse /dev/sda6 (hd0,5)

I was having problems becasue I forget that the logical partition won’t count as (hd0,3)…live and learn, still fairly new but I caught myself, got into opensuse, success!! I go to adjust the menu.lst for my ubuntu menu entry, and it still cannot mount… is it because I’m using grub legacy on an OD thats designed for grub2… What would be the proper menu entry to get into ubuntu… from grub legacy.

FYI, I hate grub2 and have spevifically set this partition setup so I can stick w/ suse’s grub legacy (v 0.97). Granted, asi’m sure you can tell, thats not where I wanted my SWAP, but her, so far that the only prefrence glitch. With this setup, what do I add to Suse’s menu.lst… I attepted to provide the information necessary, but if I failed and you need something else, please let me know, just understand I can get into anything except ubuntu 10.4 LTS atm.

Thanks in advance …

  • CHEERS

P.S. I have ubuntu’s kernel /boot/vmlinuz-whater file written down

as goes with

initrd /boot/initrd-img-whatever file … So I have this information on paper, just need to know how to use it…

I need from in SUSE

fdisk -l

and

cat /boot/grub/menu.lst

fdisk -l

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xb706e742

Device Boot Start End Blocks Id System
/dev/sda1 * 1 94645 760228864 7 HPFS/NTFS
/dev/sda2 94645 96388 14000128 83 Linux
/dev/sda3 96388 98411 16248833 5 Extended
/dev/sda4 98411 116337 143996928 83 Linux
/dev/sda5 98131 98411 2248704 82 Linux swap / Solaris
/dev/sda6 96388 98130 13998080 83 Linux

Partition table entries are not in disk order

/boot/grub/menu.lst

Modified by YaST2. Last modification on Sat Aug 28 17:33:50 EDT 2010

THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader

Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader

default 0
timeout 30
##YaST - generic_mbr
gfxmenu (hd0,3)/boot/message
##YaST - activate

###Don’t change this comment - YaST2 identifier: Original name: linux###
title Desktop – openSUSE 11.3 - 2.6.34-12
root (hd0,3)
kernel /boot/vmlinuz-2.6.34-12-desktop root=/dev/sda4 resume=/dev/disk/by-id/ata-WDC_WD10EADS-22M2B0_WD-WCAV56833784-part5 splash=silent quiet showopts vga=0x307
initrd /boot/initrd-2.6.34-12-desktop

###Don’t change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe – openSUSE 11.3 - 2.6.34-12
root (hd0,3)
kernel /boot/vmlinuz-2.6.34-12-desktop root=/dev/disk/by-id/ata-WDC_WD10EADS-22M2B0_WD-WCAV56833784-part4 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x314
initrd /boot/initrd-2.6.34-12-desktop

###Don’t change this comment - YaST2 identifier: Original name: windows###
title Windows
map (hd0) (hd0)
map (hd0) (hd0)
rootnoverify (hd0,0)
makeactive
chainloader +1

###Don’t change this comment - YaST2 identifier: Original name: menu###
title Ubuntu 10.4 LTS
root (hd0,2)
kernel /boot/vmlinuz-2.6.32-24-generic root=/dev/sda3 resume=/dev/disk/by-id/ata-WDC_WD10EADS-22M2B0_WD-WCAV56833784-part5 splash=silent quiet showopts vga=0x307
initrd /boot/initrd-img-2.6.32-24-generic

You can copy your Ubuntu menu entry from /boot/grub/grub.cfg (Ubuntu) into /boot/grub/menu.lst (openSUSE)

  • replace ‘menuentry’ with ‘title’
  • replace ‘set root=’ with ‘root’
  • replace ‘linux /boot/…’ with ‘kernel /boot…’
  • keep initrd … unchanged
  • delete the other lines and the curly brackets.

… if you did install grub2 under Ubuntu (?)

grub2 was installed under ubuntu, but before I installed 11.3 … I’m really only dealing with grub legacy because I made sure to install opensuse last, I prefer legacy over 2…

I can’t access Ubuntu right now…would anyone mnd copying their ubuntu grub2 menu entry? Not as familiar with it…

Assuming sda2 is ubuntu

add this

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

I can’t seem to get it to find the initrd file.

I’m typing this :

initrd /boot/initrd.image.x.y.y - something , and it seems as though its still looking in opensuse’s / dir , i’m thinking this just by looking at my options when I hit TAB…

Dude

Just add the entry I gave you, exactly as it is to the suse menu.lst
Do you know how to edit that file?

What about mounting your Ubuntu root partition (it looks like it should be /dev/sda2 ) ? So :
mount /dev/sda2 /mnt
or maybe :
mount -t ext4 (or ext3) /dev/sda2 /mnt
Then have a look in /mnt/boot/grub/grub.cfg . It should be your grub2 menu file.

This is wrong. It should be (at least) :
initrd /boot/initrd.img

but probably (assuming you have the latest Ubuntu Kernel ) :
initrd /boot/initrd.img-2.6.32-24-generic

or something similar.

@ caf4926
Ubuntu doesn’t create such links by itself. You have to use the full names. In case of the latest kernel, that would be : vmlinuz-2.6.32-24-generic and initrd.img-2.6.32-24-generic (on 64bit machines, otherwise something with PAE ) .

Must be why my menu doesn’t work when booting Ub* :wink:

caf4926 is correct. Check in Ubu and you’ll find the symlinks for vmlinuz and initrd.img directly under /, it’s a Debian habit.
FFI: HowTo Multiboot Ubuntu from openSUSE using the GRUB bootloader

Here’s the clue:

Partition table entries are not in disk order

Usually there’s a line in ‘fdisk -l’ like this showing the extent of the wrapper partition that extends around the extended partitions:

/dev/sdaX xxxxx yyyyy zzzzzzzz   f  W95 Ext'd (LBA)

subcook69420’s is kinda wonky :slight_smile:

Oh ! You’re right. I checked in /boot but didn’t expect to find them in / .
My apologies, caf4926.

LOL
No worries - I managed to keep my cool on this one
Just hope the OP got it sorted.

I just went back, re-installed opensuse 11.3, than put ubuntu on the end of the hard drive, I’ll just deal with grub2.

Isn’t grub2 going to the be opensuse standard around 12.0 anyway (whether or not they go ahead and do 11.4 ??

No question about it, Grub2 is coming to stay.

I actually like it.
It is as easy to manage as Legacy and has never failed to pick up every OS I have installed, though sometimes it requires me to do sudo update-grub, post install.

…and that was really my determining factor, " …might as well get used to it…"

I prefer grub legacy, but as just verified, its about to be phased out ( at least from the mainstream GNU “pool”

I guess my biggest gripe about grub2 is the extra steps it can require. As mentioned by caf, “grub-update” is a commonly used command. For me at least, I just got in the habit of running it every time I make a change. 'Course, I guess at the same times it means its more detailed, efficient, or thorough…

to me grub legacy is just more straight to the point, cut and dry, and fits with the Suse style, just IMHO…

-cheers

It reminds me somehow of some older discussions.
I personally don’t see grub2 as such a big enhancement.

  • it was supposed to be able to boot Unix kernel directly but it does not.
  • it still fails to parse the syntax of Mandriva’s menu.lst
  • it doesn’t like some vga mode values in hex (have to convert them in decimal manually)
  • it dropped some essential features (at least for me) like the ability to rewrite the partition table. Legacy Grub let you do that.
    Otherwise … yes it’s working. It should support EFI but I never had the opportunity to test it (stick to rEFIt to boot openSUSE on iMacs)