Hi,
After installing Lubuntu 20.04 over 18.04 there is no grub menu, and attempts to restore grub fail, both via the Boot Repair tool and reinstalling grub via the command line. I am copying my output from the latter here. My disk partition is odd: 2 Windows recovery environments and 2 swap partitions.
How can I sort this out?
Many thanks.
Code:
lubuntu@lubuntu:~$ sudo fdisk -l
Disk /dev/loop0: 1.53 GiB, 1631215616 bytes, 3185968 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: 298.9 GiB, 320072933376 bytes, 625142448 sectors
Disk model: ST320LT012-9WS14
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 0C7D6C59-A456-4E93-A15E-497C9491116B
Device Start End Sectors Size Type
/dev/sda1 2048 2050047 2048000 1000M Windows recovery environment
/dev/sda2 2050048 2582527 532480 260M EFI System
/dev/sda3 2582528 2844671 262144 128M Microsoft reserved
/dev/sda4 2844672 305745919 302901248 144.4G Microsoft basic data
/dev/sda5 305745920 306671615 925696 452M Windows recovery environment
/dev/sda6 306671616 578392063 271720448 129.6G Linux filesystem
/dev/sda7 586483712 598204415 11720704 5.6G Linux swap
/dev/sda8 598204416 625141759 26937344 12.9G Windows recovery environment
/dev/sda9 578392064 586483711 8091648 3.9G Linux swap
Partition table entries are not in disk order.
Disk /dev/zram0: 947.26 MiB, 993267712 bytes, 242497 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/zram1: 947.26 MiB, 993267712 bytes, 242497 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
lubuntu@lubuntu:~$ sudo mount /dev/sda6 /mnt
lubuntu@lubuntu:~$ sudo grub-install --boot-directory=/mnt/boot /dev/sda
Installing for i386-pc platform.
grub-install: warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.
grub-install: warning: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged..
grub-install: error: will not proceed with blocklists.
lubuntu@lubuntu:~$
Bookmarks