I have shrinked the home partition of openSUSE and created an 30GB extended partition for Ubuntu
17GB root
12GB home
now i want to install Ubuntu, without losing openSUSE GRUB
or is there a way to get back grub from opensuse??
my current dual-boot system
openSUSE 11.4 (Desktop) on /dev/sda2 home /dev/sdb1
openSUSE 11.4 (Failsafe) on /dev/sda2 home /dev/sdb1
Microsoft Windows XP Home Edition SP3 on /dev/sda3
ubuntu would be on extended: /dev/sdb2: /dev/sdb5 root /dev/sdb6 home
>
> I have shrinked the home partition of openSUSE and created an 30GB
> extended partition for Ubuntu
> 17GB root
> 12GB home
>
> now i want to install Ubuntu, without losing openSUSE GRUB
>
> or is there a way to get back grub from opensuse??
>
> my current dual-boot system
> openSUSE 11.4 (Desktop) on /dev/sda2 home /dev/sdb1
> openSUSE 11.4 (Failsafe) on /dev/sda2 home /dev/sdb1
> Microsoft Windows XP Home Edition SP3 on /dev/sda3
>
> ubuntu would be on extended: /dev/sdb2: /dev/sdb5 root /dev/sdb6 home
>
>
> /dev/sda1 is linux-swap
>
>
Easiest way is install Ubuntu’s grub to Ubuntu’s root
partition (/dev/sdb5) boot sector.
Add to openSUSE Grub menu.list lines:
title Ubuntu
rootnoverify (hd1,4)
chainloader (hd1,4)+1
>
> thank for the help
> the Ubuntu GRUB menu won’t appear, i have still the openSUSE GRUB (by
> installing Ubuntu GRUB to UBUNTU root partition)
>
> but the entry for Ubuntu look like this:
>
> title Ubuntu 11.04 - 2.6.38-8-generic (on /dev/sdb5)
> root (hd1,4)
> kernel (hd1,4)/vmlinuz root=/dev/sdb5 ro quiet splash
> initrd (hd1,4)/initrd.img
> quiet
>
> otherwise I get this error message by GRUB:
>
>
> Code:
> --------------------
> Error 13… No executable found
> --------------------
>
>
> or something like this, i forgot the exact error message.
>
> the entry was
>
>
> Code:
> --------------------
> title Ubuntu
> rootnoverify (hd1,4)
> chainloader +1
> --------------------
>
>
>
> but thank anyway, my dual-boot system with
> openSUSE 11.4
> Ubuntu 11.04
> Windows XP Home
> work perfect now!
>
>
It seems that Ubuntu 11.04 installer did not written Grub boot code
to /dev/sdb5 boot sector, but dried to be too smart.
Kubuntu 10.04 and all other tested distros have worked quite right
with my way.
> SoftHacker wrote:
>
>>
>> thank for the help
>> the Ubuntu GRUB menu won’t appear, i have still the openSUSE GRUB (by
>> installing Ubuntu GRUB to UBUNTU root partition)
>>
>> but the entry for Ubuntu look like this:
>>
>> title Ubuntu 11.04 - 2.6.38-8-generic (on /dev/sdb5)
>> root (hd1,4)
>> kernel (hd1,4)/vmlinuz root=/dev/sdb5 ro quiet splash
>> initrd (hd1,4)/initrd.img
>> quiet
>>
>> otherwise I get this error message by GRUB:
>>
>>
>> Code:
>> --------------------
>> Error 13… No executable found
>> --------------------
>>
>>
>> or something like this, i forgot the exact error message.
>>
>> the entry was
>>
>>
>> Code:
>> --------------------
>> title Ubuntu
>> rootnoverify (hd1,4)
>> chainloader +1
>> --------------------
>>
>>
>>
>> but thank anyway, my dual-boot system with
>> openSUSE 11.4
>> Ubuntu 11.04
>> Windows XP Home
>> work perfect now!
>>
>>
>
> It seems that Ubuntu 11.04 installer did not written Grub boot code
> to /dev/sdb5 boot sector, but dried to be too smart.
>
> Kubuntu 10.04 and all other tested distros have worked quite right
> with my way.
>
I did test installation to /dev/sdb1 using ubuntu-11.04-dvd-amd64.iso DVD.
At installation setup I selected boot from sdb1.
Code:
…
title Ubuntu 11.04
rootnoverify (hd1,0)
chainloader (hd1,0)+1
in openSUSE menu.lst worked OK. No difference compared to other distros.
So also ubuntu-11.04 installer works correctly.