Re: After install cannot boot
Posted: Tue Aug 15, 2023 2:59 pm
I'm excited 

Support for MX and antiX Linux distros
https://www.forum.mxlinux.org/
Code: Select all
sudo apt dist-upgrade -y
OK, thanks.heydave wrote: Tue Aug 15, 2023 1:58 pm Yeah, I guess I did all of those things.
Code: Select all
sudo grub-install --force-extra-removable --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=MX23 --recheck [sudo] password for Katie: Installing for x86_64-efi platform. Installation finished. No error reported.
Code: Select all
$ efibootmgr -v BootCurrent: 0004 Timeout: 0 seconds BootOrder: 0003,0001,0000,0004 Boot0000* Windows Boot Manager HD(1,GPT,ee6665b6-7874-4cf2-9d78-4d034ddfba7a,0x100,0x10400)/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* MX Linux HD(1,GPT,a561ef3e-0f47-42bb-acbf-5eb81e76b0e8,0x100,0x10000)/File(\EFI\MX\grubx64.efi) Boot0003* MX23 HD(1,GPT,a561ef3e-0f47-42bb-acbf-5eb81e76b0e8,0x100,0x10000)/File(\EFI\MX23\grubx64.efi) Boot0004* USB Drive (UEFI) - USB PciRoot(0x0)/Pci(0x14,0x0)/USB(12,0)/HD(2,MBR,0x9104a1d9,0x1d1a6800,0x18800)..BO
Code: Select all
$ find /boot/efi -ls 1 4 drwxrwxr-x 3 root root 4096 Dec 31 1969 /boot/efi 113 4 drwxrwxr-x 4 root root 4096 Aug 15 13:52 /boot/efi/EFI 114 4 drwxrwxr-x 2 root root 4096 Aug 15 13:52 /boot/efi/EFI/MX23 115 136 -rw-rw-r-- 1 root root 139264 Aug 15 13:52 /boot/efi/EFI/MX23/grubx64.efi 116 4 drwxrwxr-x 2 root root 4096 Aug 15 13:52 /boot/efi/EFI/BOOT 117 136 -rw-rw-r-- 1 root root 139264 Aug 15 13:52 /boot/efi/EFI/BOOT/BOOTX64.EFI
Code: Select all
$ sudo update-grub Generating grub configuration file ... Found theme: /boot/grub/themes/mx_linux/theme.txt Found linux image: /boot/vmlinuz-6.1.0-10-amd64 Found initrd image: /boot/initrd.img-6.1.0-10-amd64 Found mtest-64.efi image: /boot/uefi-mt/mtest-64.efi Adding boot menu entry for EFI firmware configuration done
Code: Select all
sudo efibootmgr -v -B -b 0
Code: Select all
sudo efibootmgr -v -B -b 1
Code: Select all
$ sudo efibootmgr -v -B -b 0
[sudo] password for Katie:
BootCurrent: 0004
Timeout: 0 seconds
BootOrder: 0002,0003,0001,0004
Boot0001* MX Linux HD(1,GPT,a561ef3e-0f47-42bb-acbf-5eb81e76b0e8,0x100,0x10000)/File(\EFI\MX\grubx64.efi)
Boot0002* rEFInd Boot Manager HD(1,GPT,a561ef3e-0f47-42bb-acbf-5eb81e76b0e8,0x100,0x10000)/File(\EFI\refind\refind_x64.efi)
Boot0003* MX23 HD(1,GPT,a561ef3e-0f47-42bb-acbf-5eb81e76b0e8,0x100,0x10000)/File(\EFI\MX23\grubx64.efi)
Boot0004* USB Drive (UEFI) - USB PciRoot(0x0)/Pci(0x14,0x0)/USB(12,0)/HD(2,MBR,0x9104a1d9,0x1d1a6800,0x18800)..BO
Code: Select all
$ sudo efibootmgr -v -B -b 1
[sudo] password for Katie:
BootCurrent: 0004
Timeout: 0 seconds
BootOrder: 0002,0003,0004
Boot0002* rEFInd Boot Manager HD(1,GPT,a561ef3e-0f47-42bb-acbf-5eb81e76b0e8,0x100,0x10000)/File(\EFI\refind\refind_x64.efi)
Boot0003* MX23 HD(1,GPT,a561ef3e-0f47-42bb-acbf-5eb81e76b0e8,0x100,0x10000)/File(\EFI\MX23\grubx64.efi)
Boot0004* USB Drive (UEFI) - USB PciRoot(0x0)/Pci(0x14,0x0)/USB(12,0)/HD(2,MBR,0x9104a1d9,0x1d1a6800,0x18800)..BO
I dont think I have this in my BIOSIf not, you may need go into UEFI/PC-Bios setup and manually select/allow the a efi-loader under /EFI/MX23/grubx64.efi on the ESP (EFI System Partition)
Code: Select all
sudo parted -l
Ok; some of those UEFI-systems (PC-BIOS/UEFI)systesm) do only allow to preselct efi-booloader when secureboot is enabled. So you might enable secureboot again, and if there is an Supervisor-Password field you may also need set first such thing (write down use a simple one). WHen rebooted into UEFI-ssysem Setup with SecureBoot enabled you may need enter the supervisout password. (or may be not).heydave wrote: Tue Aug 15, 2023 3:28 pmI dont think I have this in my BIOSIf not, you may need go into UEFI/PC-Bios setup and manually select/allow the a efi-loader under /EFI/MX23/grubx64.efi on the ESP (EFI System Partition)