I had both xubuntu and opensuse 11.2 RC installed and working correctly by installing xubuntu after opensuse which made it use ubuntu’s GRUB version. Then I upgraded to 11.2 and it switched to opensuse GRUB version making xubuntu getting code 15 file not found. I tried to fix this with a guide. Now I can boot with xubuntu but not opensuse, error 15. I’ve seen many guides(example) where ubuntu’s boot have been fixed but none for opensuse. How can I do this? /boot/grub/menu ?
Ubuntu uses grub2. openSUSE does not. I would use grub2 in ubuntu if I were you.
In ubuntu open a terminal and do this:
sudo update-grub
you should see it pick up the openSUSE kernel in the output
then do
sudo grub-install /dev/sda
(this assumes your device path is /dev/sda change if the boot HD is different eg; sdb)
When you reboot, you should get an entry for openSUSE
mattias@mattias-desktop:~/Desktop$ sudo grub-install /dev/sda/
/dev/sda/: Not found or not a block device.
mattias@mattias-desktop:~/Desktop$ sudo grub-install /dev/sdb/
/dev/sdb/: Not found or not a block device.
mattias@mattias-desktop:~/Desktop$
update-grub still has bugs. It seems not to update partition numbers everywhere while generating the menu. For example, it would change root (hd0,10) in root (hd0,11) but leave kernel (hd0,10)/boot/vmlinuz untouched, which results in a “file not found” error while trying to boot such entries. The solution is simply to take a look at /boot/grub/grub.cfg before rebooting and check if all partition numbers are correct. Grub2 start counting partitions at 1, while legacy Grub (the one used in openSUSE) starts at 0. The version shipped with Ubuntu is still beta and hasn’t been updated yet.
Strange - I’ve been sandboxing it and so far it’s worked flawlessly.
It didn’t have problem importing openSUSE menu entries, juste with the (redundant) syntax I highlihted, which is used in Mandriva’s menu.lst.
They are much more interesting issues, like while chainloading openSUSE grub from grub2 (in mbr) and trying to boot Linux or Unix from there. Systems boot but later cannot create memory devices (as far as I remember). I’m not quite sure what’s happening. Maybe I should report this one day, as soon as I’m able to reproduce the problem on different machines (will take some time though).
That was the worst guide I’ve ever seen
"Now you need to edit the /etc/default/grub file to fit your system
$ nano /etc/default/grub"
If I knew what the problem was and how to correct it I wouldn’t need a guide. >:( FAIL!
Are you still using the 11.2 grub?
In swerdna’s guide you need to change this example:
#Don’t change this comment - YaST2 identifier: Original name: Ubuntu 9.04 2.6.28-11-gen#
title Ubuntu 9.04, kernel 2.6.28-11-generic (/dev/sda9)
root (hd0,8)
configfile /boot/grub/menu.lst
To this, and also the (hd?,?) part according to your needs
#Don’t change this comment - YaST2 identifier: Original name: Ubuntu 9.04 2.6.28-11-gen#
title Ubuntu 9.10, kernel 2.6.28-11-generic (/dev/sda**?)
root (hd0,?**)
configfile /boot/grub/grub.cfg