I have Ubuntu installed on hd1 (edit: with full disk encryption), and it was working fine.

I then installed a second hard drive (hd2), and installed Ubuntu to onto it - it is working fine.

The problem is now, I cannot boot to hd1 Ubuntu at all, and I would like to boot to that by default.

In the boot options there is only one "Ubuntu" - how can I resolve this so that there are two options Ubuntu on hd1 (default) and Ubuntu on hd2?

  • I've had multiple Ubuntu's installed and generally the "Ubuntu" refers the last installed; and the second is often referred to by version number (if they are both the same version; I'm not sure this applies as I commonly have LTS & latest). In these cases I just rename then in grub configs. note: if your use of hd1/hd2 is because of PATA drives (not scsi/sata) I'm not sure if that could influence things (too far back) – guiverc Mar 12 '18 at 22:20
  • not sure why they are designated hd1/hd2, they are both SATA - the ubuntu installed is the same version on both, and there is not a second option with the version number name I am afraid - how would I go about renaming in the grub config? I guess this is what koleygr is suggesting - but will both be shown automatically if I change the name of one? – sumade Mar 12 '18 at 22:24
  • ok found the grub config file - I see the menuentry 'Ubuntu' part - I could change this for one of them? - do I need to run update-grub after changing it? thanks – sumade Mar 12 '18 at 22:35
  • I'm surprised os-prober didn't find them both when you run update-grub. It did on one of my systems which had an old 32 bit system installed on it, and I had to go figure out how to NOT show it. Have you run update-grub since you installed the 2nd system? – Organic Marble Mar 12 '18 at 22:36
  • 1
    If your first install is LVM & encrypted, and second install is not, then second install does not have lvm2 & cryptsetup drivers. Same if your install is not ext4, as you then need drivers. And probably have to mount other / partition so os-prober can see it. If standard install os-prober should have found it. – oldfred Mar 12 '18 at 23:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.