0

This is a different case than the other questions about this topic, none of which helped solve this one.

I have two disks (I'll call them disk 1 and disk 2), each with its own GRUB. Both disks boot fine through the GRUB menu of disk 1, each with its own Ubuntu installation. Cool.

But as for the Ubuntu installation of disk 2, I cannot get the GRUB of Disk 2 to present the list option of booting the Ubuntu of disk 2. Running update-grub from within its Ubuntu, only finds the Ubuntu installation on the other disk. Everything else mentioned in all other questions about similar things doesn't help. Tried boot-repair auto repair, advanced repair, purging existing GRUB (which I think had no effect), you name it.

Ideas?

I need to get rid of disk 1 and its Grub so it really needs to work from disk 2...

1 Answer 1

1

If You need to get rid of disk 1 and its Grub so it really needs to work from disk 2, test this:

Disconnect Disk 1.

Start with a live-dvd/usb.

After the session load, open a terminal,

Press Ctrl+Alt+T

Run it:

sudo -i
fdisk -l

Suppose that / (root) is /dev/sda1, continue running:

mount /dev/sda1 /mnt
mount --bind /dev /mnt/dev 
mount --bind /dev/pts /mnt/dev/pts
mount --bind /proc /mnt/proc
mount --bind /sys /mnt/sys
chroot /mnt
grub-mkconfig -o /boot/grub/grub.cfg
grub-install --root-directory=/mnt /dev/sda
grub-install --recheck /dev/sda
umount /mnt
reboot

That's all

1
  • Thanks!! I will do this next time. boot-repair from a live dvd solved it meanwhile. Extremely appreciated!
    – matanox
    Jan 14, 2015 at 1:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .