[SOLVED] Grub missing LM entries

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
SyBorg

[SOLVED] Grub missing LM entries

Post by SyBorg »

Hello,

I recently purchased a nice Asus laptopo with a 512Gb SSD.
I immediately reduced the Windows 10 partition and gained around 160Gb space that I divided in two partitions

In the first I installed and set up LM Cinnamon
Then I wanted to try (I know it will not be supported with the next LM release) the KDE desktop so I installed it on the second partition

Both installations were made using btrfs filesystem.

After the second (KDE) install, I have only this last one appearing in the grub menu, I guess because of the EFI mechanism that gets both LM as "ubuntu"

Code: Select all

efibootmgr -v
BootCurrent: 0001
Timeout: 1 seconds
BootOrder: 0001,0000,0002,0003,0004,0005
Boot0000* Windows Boot Manager  HD(1,GPT,899d5028-430b-4132-9395-5934bae9c43c,0x800,0x82000)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
Boot0001* ubuntu        HD(1,GPT,899d5028-430b-4132-9395-5934bae9c43c,0x800,0x82000)/File(\EFI\UBUNTU\GRUBX64.EFI)
Boot0002* ubuntu        HD(1,GPT,899d5028-430b-4132-9395-5934bae9c43c,0x800,0x82000)/File(\EFI\UBUNTU\SHIMX64.EFI)..BO
Boot0003* UEFI:CD/DVD Drive     BBS(129,,0x0)
Boot0004* UEFI:Removable Device BBS(130,,0x0)
Boot0005* UEFI:Network Device   BBS(131,,0x0
How can I "resurrect" the first Cinnamon grub entries ?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Sir Charles

Re: Grub missing LM entries

Post by Sir Charles »

(If you haven't already done this)

Boot into Mint-KDE and run the following in a terminal:

Code: Select all

sudo update-grub
Reboot and see if you get the boot options for all your installed OS:s in the Grub boot menu.
SyBorg

Re: Grub missing LM entries

Post by SyBorg »

Thanks but no luck, update-grub sees only "itself"

Code: Select all

sudo update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.10.0-38-generic
Found initrd image: /boot/initrd.img-4.10.0-38-generic
Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for EFI firmware configuration
done
kukamuumuka

Re: Grub missing LM entries

Post by kukamuumuka »

SyBorg wrote: Tue May 15, 2018 9:57 am Thanks but no luck, update-grub sees only "itself"

Code: Select all

sudo update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.10.0-38-generic
Found initrd image: /boot/initrd.img-4.10.0-38-generic
Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for EFI firmware configuration
done
The rest are hardware, not software.
SyBorg

Re: [SOLVED] Grub missing LM entries

Post by SyBorg »

Solved by editing the generated /boot/grub.cfg, copying and changing sections into 40_custom, update-grub

Not the prettiest solution but it works :)
Locked

Return to “Installation & Boot”