After install cannot boot  [Solved]

When you run into problems installing MX Linux XFCE
Message
Author
heydave
Posts: 47
Joined: Tue Aug 15, 2023 11:19 am

Re: After install cannot boot

#21 Post by heydave »

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

User avatar
razor2021
Posts: 499
Joined: Mon Feb 08, 2021 4:49 pm

Re: After install cannot boot

#22 Post by razor2021 »

Now reboot and see if you are able to boot clean into grub and choose MX23 default. And ...? The suspense is killing me.
Mixed of desktops and laptops, I have a Gravis Ultrasound Classic card (unfortunately its ISA-slot based) ... - I must be a dino. :popcorn:
Running on my DesktopPC - MX-23.4 AHS with latest Kernel: 6.12.17-1-liquorix-amd64

heydave
Posts: 47
Joined: Tue Aug 15, 2023 11:19 am

Re: After install cannot boot

#23 Post by heydave »

oy...no...still the same. Had to come in through the mx21 stick then the boot rescue under grub. When I tried without it i just got the same error message as before.

User avatar
razor2021
Posts: 499
Joined: Mon Feb 08, 2021 4:49 pm

Re: After install cannot boot

#24 Post by razor2021 »

I'm assuming you put back the boot order so the BIOS knows the boot off the disk operating system? I know you did, but just had to ask.
Mixed of desktops and laptops, I have a Gravis Ultrasound Classic card (unfortunately its ISA-slot based) ... - I must be a dino. :popcorn:
Running on my DesktopPC - MX-23.4 AHS with latest Kernel: 6.12.17-1-liquorix-amd64

heydave
Posts: 47
Joined: Tue Aug 15, 2023 11:19 am

Re: After install cannot boot

#25 Post by heydave »

I will double check...

heydave
Posts: 47
Joined: Tue Aug 15, 2023 11:19 am

Re: After install cannot boot

#26 Post by heydave »

Boot order is USb/Flash, then USB CD/DVD, then OS System. If i boot without the mx21 stick i still get "Boot device not found Hard disk (3F0)" error. it does seem like there are different choices in grub on the boot rescue. I still chose the mx23 one

Charlie Brown

Re: After install cannot boot

#27 Post by Charlie Brown »

Then "just in case" take hdd to top , save, retry (without the usb stick).

If still the same: wait a bit more for some other suggestions. If nothing works: Boot once more like that, indirectly, then install rEFInd.

Code: Select all

sudo apt update ; sudo apt install refind -y ; sudo refind-install
Reboot.

heydave
Posts: 47
Joined: Tue Aug 15, 2023 11:19 am

Re: After install cannot boot

#28 Post by heydave »

Charlie Brown wrote: Tue Aug 15, 2023 2:36 pm Then "just in case" take hdd to top , save, retry (without the usb stick).

If still the same: wait a bit more for some other suggestions. If nothing works: Boot once more like that, indirectly, then install rEFInd.

Code: Select all

sudo apt update ; sudo apt install refind -y ; sudo refind-install
Reboot.
I booted that way (OS at top) several times. No dice.
Please pardon my ignorance, but do I enter the code you gave me as one command, or do I enter it as different commands broken at the semicolon?

Charlie Brown

Re: After install cannot boot

#29 Post by Charlie Brown »

heydave wrote: Tue Aug 15, 2023 2:52 pm... do I enter the code you gave me as one command...?
Yep :)

Just copy (the whole) -paste - press Enter.

All are ready (the semicolons make them be executed one after the other ...)

heydave
Posts: 47
Joined: Tue Aug 15, 2023 11:19 am

Re: After install cannot boot

#30 Post by heydave »

Thanks. Here is the dialogue.

Code: Select all

sudo apt update ; sudo apt install refind -y ; sudo refind-install
[sudo] password for Katie:      
Hit:1 http://deb.debian.org/debian bookworm-updates InRelease
Hit:2 http://security.debian.org/debian-security bookworm-security InRelease
Hit:3 http://deb.debian.org/debian bookworm InRelease              
Hit:4 http://mirrors.rit.edu/mxlinux/mx-packages/mx/repo bookworm InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
40 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Recommended packages:
  sbsigntool
The following NEW packages will be installed:
  refind
0 upgraded, 1 newly installed, 0 to remove and 40 not upgraded.
Need to get 3,696 kB of archives.
After this operation, 5,327 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main amd64 refind amd64 0.13.2-1+b1 [3,696 kB]
Fetched 3,696 kB in 1s (3,702 kB/s) 
Preconfiguring packages ...
Selecting previously unselected package refind.
(Reading database ... 279643 files and directories currently installed.)
Preparing to unpack .../refind_0.13.2-1+b1_amd64.deb ...
Unpacking refind (0.13.2-1+b1) ...
Setting up refind (0.13.2-1+b1) ...
Installing rEFInd to the ESP...
Processing triggers for man-db (2.11.2-2) ...
ShimSource is none
Installing rEFInd on Linux....
ESP was found at /boot/efi using vfat
Found rEFInd installation in /boot/efi/EFI/refind; upgrading it.
Installing driver for ext4 (ext4_x64.efi)
Copied rEFInd binary files

Notice: Backed up existing icons directory as icons-backup.
Existing refind.conf file found; copying sample file as refind.conf-sample
to avoid overwriting your customizations.

Keeping existing NVRAM entry
rEFInd is set as the default boot manager.
Existing //boot/refind_linux.conf found; not overwriting.
I am rebooting now.

Post Reply

Return to “Installation”