Installing Ubuntu 9.10 side by side (twice), on different hard disks

Goh Lip g.lip at
Tue Nov 10 18:28:16 UTC 2009

Goh Lip wrote:

> At installation to the second drive, there is an advanced button, just 
> after selecting your partition to install, to select where you want to 
> install your grub to. Select 'sdb'. (later, you'll get a warning "that 
> is a bad thing to do")
> Now since you can now boot to ubuntu on second hard drive, to make sure 
> you have the mbr on both, at terminal
> sudo grub-install --root-directory=/dev/sdax /dev/sda
> sudo grub-install /dev/sdb
> and sdax (substitute 'x' with real number), is partition on sda where 
> you installed your boot of first hard disk.

Ioannis, later when booted to ubuntu on sda, at terminal

sudo grub-mkconfig -o /boot/grub/grub.cfg

to make sure it includes entries for sdb as well.
I assume sdb ubuntu has entries for sda ubuntu in it.
If not, do likewise at sdb.

Goh Lip

More information about the ubuntu-users mailing list