You are not logged in.
Yes
ls/boot
efi grub initramfs-linux.img vmlinuz-linux
Online
What was the exact grub-mkconfig command, what is its output and what does the resulting /boot/grub/grub.cfg look like?
Online
grub-mkconfig -o /boor/grub/grub.cfg
Result:
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Adding boot menu entry for UEFI Firmare Settings ...
done
Online
It certainly creates menu in the grub.cfg w/ your kernel present option above 'UEFI Firmware Settings'
ls -lR /boot
Online
Online
/boot/efi/EFI/MX19:
total 136
-rwxr-xr-x 1 root root 139264 Oct 2 2021 grubx64.efi
/boot/efi/EFI/MX21:
total 136
-rwxr-xr-x 1 root root 139264 Oct 30 2021 grubx64.efi
/boot/efi/EFI/ubuntu:
total 4314
-rwxr-xr-x 1 root root 108 Apr 25 11:16 BOOTX64.CSV
-rwxr-xr-x 1 root root 126 Apr 25 11:16 grub.cfg
-rwxr-xr-x 1 root root 2594696 Apr 25 11:16 grubx64.efi
-rwxr-xr-x 1 root root 860824 Apr 25 11:16 mmx64.efi
-rwxr-xr-x 1 root root 960472 Apr 25 11:16 shimx64.efi
/boot/efi/grub.old:
total 1
-rwxr-xr-x 1 root root 0 Sep 15 16:51 grub.cfg.new
drwxr-xr-x 2 root root 512 Sep 15 11:35 i386-pc
drwxr-xr-x 2 root root 512 Sep 15 11:35 locale
/boot/efi/grub.old/i386-pc:
total 0
What is that?
When you're in grub, press "c" and enter "set", what does the grub_cpu say?
Online
grub_cpu='x86_64'
Online
This BIOS has a legacy boot option and a EFI boot option.
I hope I didn't make things worse but I went into the legacy boot option and loaded my usb flash drive
mounted partitions and arch-chroot and ran grub-mkconfig
I got a Arch Linux GRUB entry but when I select it
It just hangs after these two things appear on the screen
Loading Linux linux ...
Loading initial ramdisk ...
Online
If you're somehow loading the ubuntu grub, it'll not boot the kernel.
And w/ your OP I'm also kinda concerned that there might be more than one ESP on that system
fdisk -l
Online
Online
Can you still boot windows, ubuntu or from sdc?
Online
I only have Arch Linux in the GRUB when I boot from the sdc.
Should I try to do a grub-mkconfig on the sdc?
Online
I only have Arch Linux in the GRUB when I boot from the sdc.
And can you boot that?
afaiu you've so far tried to boot sda1?
The question about booting windows or ubuntu was independent from the ability to boot from sdc.
You might also want to try the LTS kernel, there's several issues w/ 6.5 and you might simply run into one of those now.
Online
If I go into the UEFI settings and change the boot order to the other OS's I can boot into them.
Does that answer your question?
And yes I can boot to the sdc Arch Linux that is how I have been doing the arch-chroot
Last edited by MAYBL8 (2023-09-19 15:30:36)
Online
Mostly. Can you distinct the present grub versions in the UEFI?
Also boot windows and make sure fast-start isn't enabled, 3rd link below.
Online
I will do the items you just requested if you still think I need to.
I installed the lts and uninstall the linux 6.5 kernel
Rebooted and I can boot into Arch now.
I don't see the other OS's after doing the grub-mkconfig.
I'm glad I can finally boot to arch.
Do you still want me to do what you just asked?
Online
No. 6.5 failing is a different issue, you might want to hook into https://bbs.archlinux.org/viewtopic.php?id=288855 and try some of the kernels loqs is testing.
You might dare to clean up the stale grub versions from the ESP and check "pacman -Qi fuse3", it's a silent/(non-)optional dependency of grub/os-prober
Online
I just reran the grub-mkconfig and now I have Windows and Arch.
I don't have MX or Ubuntu
Last edited by MAYBL8 (2023-09-19 15:45:25)
Online
It looks like all I have to do is mount the other os partitions and then run grub-mkconfig and I will have them.
Online
@Seth
Can you do me a favor and explain to me what you think solved this issue?
Was it that I didn't have enough space in the /boot/efi partition and then needing to use the lts kernel?
Thanks
Dan
I appreciate everyone's help and I have learned some valuable info here.
Online
grub-mkconfig resp. os-prober is supposed to mount stuff itself but requires fuse3
Afaiu you originally ran out of space and then "I hope I didn't make things worse but I went into the legacy boot option and loaded my usb flash drive" might have helped your out of that EFI mess that still somewhat exists on that partition (before you ran into the unrelated 6.5 booting issue)
Online
OK I am going to mark this Solved.
I am going to do some research on systems with multiple OS's on them and how GRUB should be configured in hopes to clean up the system.
Online
I have one last comment to add to this.
I discovered that when I ran :
grub-mkconfig -o /boot/grub/grub.cfg a second time after rebooting I did not have the other OS's in the GRUB menu.
I had manually mounted them to get them there the first time.
So after I installed xfce as my DE or DM whichever it is called I added gvfs to have it automount all the partitions .
Then running the grub-mkconfig command again I had all the OS's in the list.
Thanks
There might be other ways of automounting the partitions but this worked for me.
Online