MX live USB GRUB boot rescue menu - standalone customized version

Message
Author
User avatar
nXecure
Posts: 93
Joined: Sat Jun 12, 2021 3:41 am

Re: MX live USB GRUB boot rescue menu - standalone customized version

#21 Post by nXecure »

fehlix wrote: Tue Jul 06, 2021 4:45 pm Would you mind to post the link to the mentioned report on antiX forum.
Bug report, and antiX report (the only one I found was for bullseye alpha in January, and not for 19.X, sorry for the misleading answer).
Also modified my previous reply.

Sorry for hijacking the thread.
antiX Live system enthusiast.
General Live Boot Parameters for antiX/MX.

User avatar
fehlix
Developer
Posts: 12613
Joined: Wed Apr 11, 2018 5:09 pm

Re: MX live USB GRUB boot rescue menu - standalone customized version

#22 Post by fehlix »

nXecure wrote: Tue Jul 06, 2021 5:18 pm
fehlix wrote: Tue Jul 06, 2021 4:45 pm Would you mind to post the link to the mentioned report on antiX forum.
Bug report, and antiX report (the only one I found was for bullseye alpha in January, and not for 19.X, sorry for the misleading answer).
Also modified my previous reply.

Sorry for hijacking the thread.
Thanks. Seems I missed the report on then antiX forum.

User avatar
andrewjoseph
Posts: 17
Joined: Mon Jul 05, 2021 12:43 pm

Re: MX live USB GRUB boot rescue menu - standalone customized version

#23 Post by andrewjoseph »

Suggest to use MX/antiX LiveUSB Boot Rescue feature, which might do what you want to use it for: Find any attached EFI-/legacy grub loader/grub menus +plus WinOS loader and boot into.
@fehlix I have dd'ed MX 19.4 , and enabled secure boot . Then, boot rescue menus can't detect any EFI bootloader. (it just shows "***Secure Boot Restrictions***" and no bootloaders detected)

But, my customized version (using LM's grub and modules) can detect EFI bootloaders (it just shows some secure boot errors, but they can be ignored)

Also the MX exfat GRUB module shows "Secure boot forbids loading ........." error, and can't detect exfat partitions (I decided to switch to NTFS)

I think that is because some MX GRUB modules aren't signed for "secure boot" , while LM's GRUB modules are signed.

User avatar
andrewjoseph
Posts: 17
Joined: Mon Jul 05, 2021 12:43 pm

Re: MX live USB GRUB boot rescue menu - standalone customized version

#24 Post by andrewjoseph »

In short, with "secure boot" on, MX boot rescue menus don't work at all to find EFI bootloaders .

User avatar
fehlix
Developer
Posts: 12613
Joined: Wed Apr 11, 2018 5:09 pm

Re: MX live USB GRUB boot rescue menu - standalone customized version

#25 Post by fehlix »

andrewjoseph wrote: Wed Jul 07, 2021 2:13 am (using LM's grub and modules) can detect EFI bootloaders
The displayed secure boot warning message indicates the restrictions, b/c EFI loader won't normally be loaded directly with enabled secureboot. It may have shown the found Grub EFI load but I'm afraid, they won't load.
From which Linux Mint ISO (version) did you extract the grub-modules?

User avatar
andrewjoseph
Posts: 17
Joined: Mon Jul 05, 2021 12:43 pm

Re: MX live USB GRUB boot rescue menu - standalone customized version

#26 Post by andrewjoseph »

@fehlix Linux Mint 20.1 Cinnamon (sha256sum: 14f73c93f75e873f4ac70b6cddc83703755c2421135a8fbbfd6ccfeed107e971)

Remove everything related to themes (and gfxmode) from /boot/grub/config/*.cfg >> rename /boot/grub/config/theme.cfg >> rename /boot/grub/theme (as @nXecure said) >> replace starting of grub.cfg lines with starting of LM's grub.cfg ( https://forum.mxlinux.org/viewtopic.ph ... 5#p643145 ) >> Copy LM's /boot/grub/x86_64-efi (replacing MX GRUB modules with LM ones whenever possible) >> Replace /EFI/* with LM's /EFI/*

Now, Enable secure boot in EFI firmware settings >> go to boot rescue menus >> Find EFI bootloaders >> Gives a lot of errors (secure boot forbids loading .... ), but just press Enter >> Happily boot detected EFI bootloader :happy:

Post Reply

Return to “General”