Start op met je live USB (of DVD). Open een terminal. Kijk met het commando
sudo fdisk -l
In de uitvoer zal je de EFI partitie van je SSD zien. Onder "Device" staat de apparaatverwijzing. In het onderstaande ga ik ervan uit dat je EFI system /dev/sda1 is.
Koppel die partitie aan:
sudo mount /dev/sda1 /mnt
Controleer eens wat je ziet met het commando "ls /mnt/EFI". Als het goed is, iets als
$ sudo ls /mnt/EFI
BOOT dell ubuntu
Controleer eens je BOOT: "sudo ls /mnt/BOOT". Wellicht is die bij jou leeg zoals je eerder aangaf.
Kopieer de inhoud van de EFI/ubuntu folder naar EFI/BOOT
sudo cp /mnt/EFI/ubuntu/* /mnt/EFI/BOOT
en kopieer nog een bestand
sudo cp /mnt/EFI/BOOT/grubx64.efi /mnt/EFI/BOOT/bootx64.efi
Sluit af, verwijder de live USB en kijk eens of hij nu doorstart.
Bepaal daarin de devicenaam van je rootpartitie.
Gaat iets niet, post dan zowel commando als uitvoer hier zodat we volledig kunnen meevolgen.
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/loop0: 1.9 GiB, 1987817472 bytes, 3882456 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop1: 88.5 MiB, 92778496 bytes, 181208 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop2: 54.4 MiB, 57069568 bytes, 111464 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop3: 42.8 MiB, 44879872 bytes, 87656 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop4: 149.9 MiB, 157184000 bytes, 307000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop5: 4 MiB, 4218880 bytes, 8240 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop6: 14.8 MiB, 15462400 bytes, 30200 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop7: 1008 KiB, 1032192 bytes, 2016 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/sda: 119.2 GiB, 128035676160 bytes, 250069680 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 69286C6E-76F6-457B-9C90-B639E0E834AB
Device Start End Sectors Size Type
/dev/sda1 2048 1050623 1048576 512M EFI System
/dev/sda2 1050624 250068991 249018368 118.8G Linux filesystem
Disk /dev/sdb: 3.8 GiB, 4027580416 bytes, 7866368 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x6e037a9d
Device Boot Start End Sectors Size Id Type
/dev/sdb1 128 7862399 7862272 3.8G 6 FAT16
ubuntu@ubuntu:~$ sudo mount /dev/sda1 /mnt
ubuntu@ubuntu:~$ sudo ls /mnt/EFI
BOOT ubuntu
ubuntu@ubuntu:~$ sudo cp /mnt/EFI/ubuntu/* /mnt/EFI/BOOT
cp: -r not specified; omitting directory '/mnt/EFI/ubuntu/fw'
ubuntu@ubuntu:~$
Hierbij even de uitkomst na invoeren commando's, ik heb het gevoel dat het laatste commando niet het resultaat oplevert wat het zou moeten doen. Mocht dit wel zo zijn, dan ga ik verder met de volgende stap.