[SOLVED] 2 SSDs each with EFI boot - 4 OS installs - why internal doesn't boot first?
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
But, neon is unable to boot manjaro either from it's grub menu? edit - tried to boot neon first from f12 boot sequence but choosing neon brings up ubuntu's grub menu. It is a derivative but it identifies as neon in the bios, not buntu. Manjaro not bootable from it.
Last edited by Nishtya; 02-06-2024 at 06:34 AM.
Reason: added neon
Distribution: Mint Cinnamon, Debian sid KDE, PCLOS Cinnamon, Manjaro XFCE
Posts: 280
Original Poster
Rep:
Quote:
Originally Posted by colorpurple21859
Disable 35_fwupd and 40_custom.save, run update-grub
No error on update. But reboot (ubuntu grub menu) chose manjaro from there and the grub error: must load kernel first.
Back to where I was I guess. I can still boot manjaro if I f12 fast enough to change the boot order. There is a way to get into all at least somehow. What else to try?
Code:
$ sudo chmod -x /etc/grub.d/35_fwupd
[sudo] password for stephanie:
stephanie@stephanie-Inspiron-5566:~$ sudo chmod -x /etc/grub.d/40_custom.save
stephanie@stephanie-Inspiron-5566:~$ update-grub
grub-mkconfig: You must run this as root
stephanie@stephanie-Inspiron-5566:~$ sudo update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.5.0-15-generic
Found initrd image: /boot/initrd.img-6.5.0-15-generic
Found linux image: /boot/vmlinuz-6.5.0-14-generic
Found initrd image: /boot/initrd.img-6.5.0-14-generic
Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
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.
Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
Found KDE neon 5.27 (22.04) on /dev/sda4
/usr/sbin/grub-probe: error: unknown filesystem.
Found Manjaro Linux (23.1.3) on /dev/sdb1
/usr/sbin/grub-probe: error: unknown filesystem.
Adding boot menu entry for UEFI Firmware Settings ...
done
Distribution: Mint Cinnamon, Debian sid KDE, PCLOS Cinnamon, Manjaro XFCE
Posts: 280
Original Poster
Rep:
Code:
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
if [ "${initrdfail}" = 2 ]; then
set initrdfail=
elif [ "${initrdfail}" = 1 ]; then
set next_entry="${prev_entry}"
set prev_entry=
save_env prev_entry
if [ "${next_entry}" ]; then
set initrdfail=2
fi
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="Ubuntu"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function initrdfail {
if [ -n "${have_grubenv}" ]; then if [ -n "${partuuid}" ]; then
if [ -z "${initrdfail}" ]; then
set initrdfail=1
if [ -n "${boot_once}" ]; then
set prev_entry="${default}"
save_env prev_entry
fi
fi
save_env initrdfail
fi; fi
}
function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 dfbc7bcc-3573-4df6-8d67-1982f996a6f8
else
search --no-floppy --fs-uuid --set=root dfbc7bcc-3573-4df6-8d67-1982f996a6f8
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=30
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=10
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=10
fi
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 0,0,0; then
clear
fi
color_normal=white/black
if [ -e ${prefix}/themes/kubuntu-logo/theme.txt ]; then
insmod png
theme=${prefix}/themes/kubuntu-logo/theme.txt
fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=7
else
set vt_handoff=
fi
}
if [ "${recordfail}" != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if [ ${grub_platform} != pc ]; then
set linux_gfx_mode=keep
elif hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-dfbc7bcc-3573-4df6-8d67-1982f996a6f8' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 dfbc7bcc-3573-4df6-8d67-1982f996a6f8
else
search --no-floppy --fs-uuid --set=root dfbc7bcc-3573-4df6-8d67-1982f996a6f8
fi
linux /boot/vmlinuz-6.5.0-15-generic root=UUID=dfbc7bcc-3573-4df6-8d67-1982f996a6f8 ro quiet splash $vt_handoff
initrd /boot/initrd.img-6.5.0-15-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-dfbc7bcc-3573-4df6-8d67-1982f996a6f8' {
menuentry 'Ubuntu, with Linux 6.5.0-15-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.5.0-15-generic-advanced-dfbc7bcc-3573-4df6-8d67-1982f996a6f8' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 dfbc7bcc-3573-4df6-8d67-1982f996a6f8
else
search --no-floppy --fs-uuid --set=root dfbc7bcc-3573-4df6-8d67-1982f996a6f8
fi
echo 'Loading Linux 6.5.0-15-generic ...'
linux /boot/vmlinuz-6.5.0-15-generic root=UUID=dfbc7bcc-3573-4df6-8d67-1982f996a6f8 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-6.5.0-15-generic
}
menuentry 'Ubuntu, with Linux 6.5.0-15-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.5.0-15-generic-recovery-dfbc7bcc-3573-4df6-8d67-1982f996a6f8' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 dfbc7bcc-3573-4df6-8d67-1982f996a6f8
else
search --no-floppy --fs-uuid --set=root dfbc7bcc-3573-4df6-8d67-1982f996a6f8
fi
echo 'Loading Linux 6.5.0-15-generic ...'
linux /boot/vmlinuz-6.5.0-15-generic root=UUID=dfbc7bcc-3573-4df6-8d67-1982f996a6f8 ro recovery nomodeset dis_ucode_ldr
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-6.5.0-15-generic
}
menuentry 'Ubuntu, with Linux 6.5.0-14-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.5.0-14-generic-advanced-dfbc7bcc-3573-4df6-8d67-1982f996a6f8' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 dfbc7bcc-3573-4df6-8d67-1982f996a6f8
else
search --no-floppy --fs-uuid --set=root dfbc7bcc-3573-4df6-8d67-1982f996a6f8
fi
echo 'Loading Linux 6.5.0-14-generic ...'
linux /boot/vmlinuz-6.5.0-14-generic root=UUID=dfbc7bcc-3573-4df6-8d67-1982f996a6f8 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-6.5.0-14-generic
}
menuentry 'Ubuntu, with Linux 6.5.0-14-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.5.0-14-generic-recovery-dfbc7bcc-3573-4df6-8d67-1982f996a6f8' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 dfbc7bcc-3573-4df6-8d67-1982f996a6f8
else
search --no-floppy --fs-uuid --set=root dfbc7bcc-3573-4df6-8d67-1982f996a6f8
fi
echo 'Loading Linux 6.5.0-14-generic ...'
linux /boot/vmlinuz-6.5.0-14-generic root=UUID=dfbc7bcc-3573-4df6-8d67-1982f996a6f8 ro recovery nomodeset dis_ucode_ldr
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-6.5.0-14-generic
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/11_linux_zfs ###
### END /etc/grub.d/11_linux_zfs ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/21_memtest86+ ###
### END /etc/grub.d/21_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober_proxy ###
menuentry "Manjaro Linux (23.1.3) (on /dev/sdb1)" --class manjarolinux --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-/dev/sdb1' {
insmod part_gpt
linux /boot/vmlinuz-6.5-x86_64 root=UUID=a2f3ae10-b2ab-46a9-ad41-980e9d9cac13 rw quiet udev.log_priority=3
initrd /boot/intel-ucode.img
}
submenu "Advanced options for Manjaro Linux (23.1.3) (on /dev/sdb1)"{
menuentry "Manjaro Linux (on /dev/sdb1)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.5-x86_64--/dev/sdb1' {
insmod part_gpt
linux /boot/vmlinuz-6.5-x86_64 root=UUID=a2f3ae10-b2ab-46a9-ad41-980e9d9cac13 rw quiet udev.log_priority=3
initrd /boot/intel-ucode.img
}
menuentry "Manjaro Linux (Kernel 6.5.13-7-MANJARO x64) (on /dev/sdb1)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.5-x86_64--/dev/sdb1' {
insmod part_gpt
linux /boot/vmlinuz-6.5-x86_64 root=UUID=a2f3ae10-b2ab-46a9-ad41-980e9d9cac13 rw quiet udev.log_priority=3
initrd /boot/intel-ucode.img
}
menuentry "Manjaro Linux (Kernel 6.5.13-7-MANJARO x64 - fallback initramfs) (on /dev/sdb1)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.5-x86_64--/dev/sdb1' {
insmod part_gpt
linux /boot/vmlinuz-6.5-x86_64 root=UUID=a2f3ae10-b2ab-46a9-ad41-980e9d9cac13 rw quiet udev.log_priority=3
initrd /boot/initramfs-6.5-x86_64-fallback.img
}
}
menuentry "KDE neon 5.27 (22.04) (on /dev/sda4)" --class neon --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-cf79ff43-f465-470d-87ab-b2f2768d6738' {
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 cf79ff43-f465-470d-87ab-b2f2768d6738
else
search --no-floppy --fs-uuid --set=root cf79ff43-f465-470d-87ab-b2f2768d6738
fi
linux /boot/vmlinuz-6.5.0-15-generic root=UUID=cf79ff43-f465-470d-87ab-b2f2768d6738 ro quiet splash $vt_handoff
initrd /boot/initrd.img-6.5.0-15-generic
}
submenu "Advanced options for KDE neon 5.27 (22.04) (on /dev/sda4)"{
menuentry "Neon GNU/Linux (on /dev/sda4)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.5.0-15-generic--cf79ff43-f465-470d-87ab-b2f2768d6738' {
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 cf79ff43-f465-470d-87ab-b2f2768d6738
else
search --no-floppy --fs-uuid --set=root cf79ff43-f465-470d-87ab-b2f2768d6738
fi
linux /boot/vmlinuz-6.5.0-15-generic root=UUID=cf79ff43-f465-470d-87ab-b2f2768d6738 ro quiet splash $vt_handoff
initrd /boot/initrd.img-6.5.0-15-generic
}
menuentry "Neon GNU/Linux, with Linux 6.5.0-15-generic (on /dev/sda4)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.5.0-15-generic--cf79ff43-f465-470d-87ab-b2f2768d6738' {
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 cf79ff43-f465-470d-87ab-b2f2768d6738
else
search --no-floppy --fs-uuid --set=root cf79ff43-f465-470d-87ab-b2f2768d6738
fi
linux /boot/vmlinuz-6.5.0-15-generic root=UUID=cf79ff43-f465-470d-87ab-b2f2768d6738 ro quiet splash $vt_handoff
initrd /boot/initrd.img-6.5.0-15-generic
}
menuentry "Neon GNU/Linux, with Linux 6.5.0-15-generic (recovery mode) (on /dev/sda4)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.5.0-15-generic-root=UUID=cf79ff43-f465-470d-87ab-b2f2768d6738 ro recovery nomodeset dis_ucode_ldr-cf79ff43-f465-470d-87ab-b2f2768d6738' {
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 cf79ff43-f465-470d-87ab-b2f2768d6738
else
search --no-floppy --fs-uuid --set=root cf79ff43-f465-470d-87ab-b2f2768d6738
fi
linux /boot/vmlinuz-6.5.0-15-generic root=UUID=cf79ff43-f465-470d-87ab-b2f2768d6738 ro recovery nomodeset dis_ucode_ldr
initrd /boot/initrd.img-6.5.0-15-generic
}
menuentry "Neon GNU/Linux, with Linux 6.5.0-14-generic (on /dev/sda4)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.5.0-14-generic--cf79ff43-f465-470d-87ab-b2f2768d6738' {
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 cf79ff43-f465-470d-87ab-b2f2768d6738
else
search --no-floppy --fs-uuid --set=root cf79ff43-f465-470d-87ab-b2f2768d6738
fi
linux /boot/vmlinuz-6.5.0-14-generic root=UUID=cf79ff43-f465-470d-87ab-b2f2768d6738 ro quiet splash $vt_handoff
initrd /boot/initrd.img-6.5.0-14-generic
}
menuentry "Neon GNU/Linux, with Linux 6.5.0-14-generic (recovery mode) (on /dev/sda4)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.5.0-14-generic-root=UUID=cf79ff43-f465-470d-87ab-b2f2768d6738 ro recovery nomodeset dis_ucode_ldr-cf79ff43-f465-470d-87ab-b2f2768d6738' {
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 cf79ff43-f465-470d-87ab-b2f2768d6738
else
search --no-floppy --fs-uuid --set=root cf79ff43-f465-470d-87ab-b2f2768d6738
fi
linux /boot/vmlinuz-6.5.0-14-generic root=UUID=cf79ff43-f465-470d-87ab-b2f2768d6738 ro recovery nomodeset dis_ucode_ldr
initrd /boot/initrd.img-6.5.0-14-generic
}
menuentry "Neon GNU/Linux, with Linux 5.15.0-92-generic (on /dev/sda4)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.15.0-92-generic--cf79ff43-f465-470d-87ab-b2f2768d6738' {
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 cf79ff43-f465-470d-87ab-b2f2768d6738
else
search --no-floppy --fs-uuid --set=root cf79ff43-f465-470d-87ab-b2f2768d6738
fi
linux /boot/vmlinuz-5.15.0-92-generic root=UUID=cf79ff43-f465-470d-87ab-b2f2768d6738 ro quiet splash $vt_handoff
initrd /boot/initrd.img-5.15.0-92-generic
}
menuentry "Neon GNU/Linux, with Linux 5.15.0-92-generic (recovery mode) (on /dev/sda4)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.15.0-92-generic-root=UUID=cf79ff43-f465-470d-87ab-b2f2768d6738 ro recovery nomodeset dis_ucode_ldr-cf79ff43-f465-470d-87ab-b2f2768d6738' {
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 cf79ff43-f465-470d-87ab-b2f2768d6738
else
search --no-floppy --fs-uuid --set=root cf79ff43-f465-470d-87ab-b2f2768d6738
fi
linux /boot/vmlinuz-5.15.0-92-generic root=UUID=cf79ff43-f465-470d-87ab-b2f2768d6738 ro recovery nomodeset dis_ucode_ldr
initrd /boot/initrd.img-5.15.0-92-generic
}
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
set timeout=10
fi
### END /etc/grub.d/30_os-prober_proxy ###
### BEGIN /etc/grub.d/31_uefi-firmware ###
menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
fwsetup
}
### END /etc/grub.d/31_uefi-firmware ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "Windows Boot Manager (on /dev/sda1)" --class windows --class os $menuentry_id_option 'osprober-efi-89E2-26CF' {
insmod part_gpt
insmod fat
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 89E2-26CF
else
search --no-floppy --fs-uuid --set=root 89E2-26CF
fi
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
menuentry "Manjaro bootloader (on /dev/sda1)" {
insmod part_gpt
insmod fat
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 89E2-26CF
else
search --no-floppy --fs-uuid --set=root 89E2-26CF
fi
chainloader /EFI/Manjaro/grubx64.efi
}
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg
fi
### END /etc/grub.d/41_custom ###
Distribution: Mint Cinnamon, Debian sid KDE, PCLOS Cinnamon, Manjaro XFCE
Posts: 280
Original Poster
Rep:
Try what where & how, could you be more specific? I believe that is what we plopped into good ol 40_custom but not sure of anything at this point? How would I go about trying it in particular if that is what you are referencing? Lay some commands on me.
Distribution: Mint Cinnamon, Debian sid KDE, PCLOS Cinnamon, Manjaro XFCE
Posts: 280
Original Poster
Rep:
I just tried it, the last one in the menu and it worked from ubuntu's grub! I am in manjaro now. The manjaro in second place just gives the kernel load error. How do we remove that non-working one and I wonder what the difference is. Is this going to be a problem if manjaro gets an update? I need to know what fix does what so I don't keep running for help
The last manjaro entry will still work when manjaro gets an update. What the entry does is chainload to manjaro grub bootloader. Post the contents of /etc/grub.d/40_custom.save
Distribution: Mint Cinnamon, Debian sid KDE, PCLOS Cinnamon, Manjaro XFCE
Posts: 280
Original Poster
Rep:
We disabled this back around post #65 along with 31_fwupd but here are the contents of 40.save. And is there a way to list what files in there are disabled/not?
Code:
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "Windows Boot Manager (on /dev/sda1)" --class windows --class os $menuentry_id_option 'osprober-efi-89E2-26CF' {
insmod part_gpt
insmod fat
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 89E2-26CF
else
search --no-floppy --fs-uuid --set=root 89E2-26CF
fi
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
menuentry ‘Manjaro’ {
search --no-floppy --fs-uuid --set=root <uuid of sda1>
Chainloader /EFI/manjaro/grubx64.efi
}
while waiting I have just been booting the others (except windows I can't deal with that tonight if it isn't working). Well I f12'd and it should have brought me to neon's grub menu but it loads ubuntu's. Strangest thing to me seeing how it does have its own entry In the UEFI boot order.
Last edited by Nishtya; 02-06-2024 at 07:25 PM.
Reason: update
The bad manjaro entries are generated by os-prober, I don't think you can do a whole lot about those, because any changes to /boot/grub/grub.cfg will be over-ridden the next time update-grub is run.
I think the problem with 40_custom.save is this line:
search --no-floppy --fs-uuid --set=root <uuid of sda1>
should be like this:
search --no-floppy --fs-uuid --set=root 89E2-26CF
Last edited by colorpurple21859; 02-06-2024 at 07:28 PM.
Distribution: Mint Cinnamon, Debian sid KDE, PCLOS Cinnamon, Manjaro XFCE
Posts: 280
Original Poster
Rep:
If 40 non-save is working can we just delete the .save one? And is there a way to remove the os-prober file with the bad manjaro?
And how if at all can I get neon's grub back? I could try removing it from BIOS setup's boot loader but I have had trouble getting it found again (I think I did it with mageia but replaced with manjaro eventually)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.