Do not have pictures, but I currently have 4 or 5 Ubuntu installs, but have not finished Disco since they fixed installer.
Each wants to update, but I maintain one as main working install, backup ESP, so I can restore it when one of my other installs changes it.
On main working install I turn off os-prober and add my own entries in 40_custom, otherwise the update-grub takes a while to scan all the installs.
There is a way to install without grub, have not tried it recently, but then you have to add entry to working version of grub in another install, either os-prober with sudo update-grub or manually in 40_custom.
If you do not want grub installed from live installer:
sudo ubiquity -b
http://askubuntu.com/questions/83845.../838527#838527
UEFI version of grub runs efibootmgr and adds a new entry and makes it first in boot order.
I have tried renaming my install in /etc/default/grub and grub does create new folder in ESP, new entry in UEFI. But something in grub/shim file is hard coded to use /EFI/ubuntu/grub.cfg, so only that file is actually used for booting.
UEFI uses GUID of your ESP - efi system partition, both of these entries really boot main install since it uses /EFI/ubuntu/grub.cfg.
Code:
fred@Bionic-Z170N:~$ sudo efibootmgr -v
[sudo] password for fred:
BootCurrent: 0001
Timeout: 1 seconds
BootOrder: 0001,0000,0014,0015,0013
Boot0000* ubuntu HD(1,GPT,c371fe4e-a6db-4c46-b056-a4eea609f81d,0x800,0x639c000)/File(\EFI\UBUNTU\SHIMX64.EFI)
Boot0001* bionic_18_04 HD(1,GPT,c371fe4e-a6db-4c46-b056-a4eea609f81d,0x800,0x639c000)/File(\EFI\BIONIC_18_04\SHIMX64.EFI)
This uses UUID of you install. Rather trhan reinstall grub from main working install on sda (hd0), I just edited it to have correct UUID, drive & partition.
Code:
fred@Bionic-Z170N:~$ cat /boot/efi/EFI/ubuntu/grub.cfg
#search.fs_uuid 75f5141c-8bab-4168-8855-4bf000406680 root hd1,gpt5
search.fs_uuid c29fc361-ea05-420b-b919-850aeef65dd4 root hd0,gpt4
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
Bookmarks