I just installed endeavour OS comming from manjaro, a small issue I had is endeavour generated a small typo in my grub.cfg it added windwos as /efi/Micosoft and not /EFI/Microsoft resulting in windows being unbootable.
fat32 isn’t case sensitive. I don’t think the uppercase/lowercase should make any difference there.
Well I believe my efi is on a ext4 partition, it was all set by the installer and not me.
This is the current working config:
sudo cat /boot/grub/grub.cfg
#
# 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 ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
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 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,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 66c6604d-dcc3-4ac8-81df-f15ea3fbf84a
else
search --no-floppy --fs-uuid --set=root 66c6604d-dcc3-4ac8-81df-f15ea3fbf84a
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=pt_BR
insmod gettext
fi
terminal_input console
terminal_output gfxterm
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 66c6604d-dcc3-4ac8-81df-f15ea3fbf84a
else
search --no-floppy --fs-uuid --set=root 66c6604d-dcc3-4ac8-81df-f15ea3fbf84a
fi
insmod png
background_image -m stretch /usr/share/endeavouros/splash.png
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=5
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/06_grub-customizer_menu_color_helper ###
### END /etc/grub.d/06_grub-customizer_menu_color_helper ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'EndeavourOS Linux' --class endeavouros --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-66c6604d-dcc3-4ac8-81df-f15ea3fbf84a' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 66c6604d-dcc3-4ac8-81df-f15ea3fbf84a
else
search --no-floppy --fs-uuid --set=root 66c6604d-dcc3-4ac8-81df-f15ea3fbf84a
fi
echo 'Carregando o Linux linux...'
linux /boot/vmlinuz-linux root=UUID=66c6604d-dcc3-4ac8-81df-f15ea3fbf84a rw nowatchdog nvme_load=YES resume=UUID=73ab4cdd-28b0-4548-88a9-3791c03e1a84 nvidia-drm.modeset=1 loglevel=3
echo 'Carregando o ramdisk inicial...'
initrd /boot/amd-ucode.img /boot/initramfs-linux.img
}
submenu 'Opções avançadas para EndeavourOS Linux' $menuentry_id_option 'gnulinux-advanced-66c6604d-dcc3-4ac8-81df-f15ea3fbf84a' {
menuentry 'EndeavourOS Linux, com o Linux linux' --class endeavouros --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-66c6604d-dcc3-4ac8-81df-f15ea3fbf84a' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 66c6604d-dcc3-4ac8-81df-f15ea3fbf84a
else
search --no-floppy --fs-uuid --set=root 66c6604d-dcc3-4ac8-81df-f15ea3fbf84a
fi
echo 'Carregando o Linux linux...'
linux /boot/vmlinuz-linux root=UUID=66c6604d-dcc3-4ac8-81df-f15ea3fbf84a rw nowatchdog nvme_load=YES resume=UUID=73ab4cdd-28b0-4548-88a9-3791c03e1a84 nvidia-drm.modeset=1 loglevel=3
echo 'Carregando o ramdisk inicial...'
initrd /boot/amd-ucode.img /boot/initramfs-linux.img
}
menuentry 'EndeavourOS Linux, with Linux linux (fallback initramfs)' --class endeavouros --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-66c6604d-dcc3-4ac8-81df-f15ea3fbf84a' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 66c6604d-dcc3-4ac8-81df-f15ea3fbf84a
else
search --no-floppy --fs-uuid --set=root 66c6604d-dcc3-4ac8-81df-f15ea3fbf84a
fi
echo 'Carregando o Linux linux...'
linux /boot/vmlinuz-linux root=UUID=66c6604d-dcc3-4ac8-81df-f15ea3fbf84a rw nowatchdog nvme_load=YES resume=UUID=73ab4cdd-28b0-4548-88a9-3791c03e1a84 nvidia-drm.modeset=1 loglevel=3
echo 'Carregando o ramdisk inicial...'
initrd /boot/amd-ucode.img /boot/initramfs-linux-fallback.img
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/25_bli ###
if [ "$grub_platform" = "efi" ]; then
insmod bli
fi
### END /etc/grub.d/25_bli ###
### BEGIN /etc/grub.d/30_os-prober_proxy ###
menuentry "Manjaro Linux (23.1.0) (em /dev/nvme0n1p2)" --class manjarolinux --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-34e9c83c-58ee-4a25-bb00-b4fc7d03af25' {
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 34e9c83c-58ee-4a25-bb00-b4fc7d03af25
linux /boot/vmlinuz-6.6-x86_64 root=UUID=34e9c83c-58ee-4a25-bb00-b4fc7d03af25 rw udev.log_priority=3
initrd /boot/intel-ucode.img /boot/amd-ucode.img /boot/initramfs-6.6-x86_64.img
}
submenu "Opções avançadas para Manjaro Linux (23.1.0) (em /dev/nvme0n1p2)"{
menuentry "Manjaro Linux (em /dev/nvme0n1p2)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.6-x86_64--34e9c83c-58ee-4a25-bb00-b4fc7d03af25' {
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 34e9c83c-58ee-4a25-bb00-b4fc7d03af25
linux /boot/vmlinuz-6.6-x86_64 root=UUID=34e9c83c-58ee-4a25-bb00-b4fc7d03af25 rw udev.log_priority=3
initrd /boot/intel-ucode.img /boot/amd-ucode.img /boot/initramfs-6.6-x86_64.img
}
menuentry "Manjaro Linux (Kernel 6.6.8-2-MANJARO x64) (em /dev/nvme0n1p2)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.6-x86_64--34e9c83c-58ee-4a25-bb00-b4fc7d03af25' {
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 34e9c83c-58ee-4a25-bb00-b4fc7d03af25
linux /boot/vmlinuz-6.6-x86_64 root=UUID=34e9c83c-58ee-4a25-bb00-b4fc7d03af25 rw udev.log_priority=3
initrd /boot/intel-ucode.img /boot/amd-ucode.img /boot/initramfs-6.6-x86_64.img
}
menuentry "Manjaro Linux (Kernel 6.6.8-2-MANJARO x64 - fallback initramfs) (em /dev/nvme0n1p2)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.6-x86_64--34e9c83c-58ee-4a25-bb00-b4fc7d03af25' {
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 34e9c83c-58ee-4a25-bb00-b4fc7d03af25
linux /boot/vmlinuz-6.6-x86_64 root=UUID=34e9c83c-58ee-4a25-bb00-b4fc7d03af25 rw udev.log_priority=3
initrd /boot/initramfs-6.6-x86_64-fallback.img
}
menuentry "Manjaro Linux (Kernel 6.1.67-2-MANJARO x64) (em /dev/nvme0n1p2)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.1-x86_64--34e9c83c-58ee-4a25-bb00-b4fc7d03af25' {
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 34e9c83c-58ee-4a25-bb00-b4fc7d03af25
linux /boot/vmlinuz-6.1-x86_64 root=UUID=34e9c83c-58ee-4a25-bb00-b4fc7d03af25 rw udev.log_priority=3
initrd /boot/intel-ucode.img /boot/amd-ucode.img /boot/initramfs-6.1-x86_64.img
}
menuentry "Manjaro Linux (Kernel 6.1.67-2-MANJARO x64 - fallback initramfs) (em /dev/nvme0n1p2)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.1-x86_64--34e9c83c-58ee-4a25-bb00-b4fc7d03af25' {
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 34e9c83c-58ee-4a25-bb00-b4fc7d03af25
linux /boot/vmlinuz-6.1-x86_64 root=UUID=34e9c83c-58ee-4a25-bb00-b4fc7d03af25 rw udev.log_priority=3
initrd /boot/initramfs-6.1-x86_64-fallback.img
}
menuentry "Manjaro Linux (Kernel 5.15.144-1-MANJARO x64) (em /dev/nvme0n1p2)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.15-x86_64--34e9c83c-58ee-4a25-bb00-b4fc7d03af25' {
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 34e9c83c-58ee-4a25-bb00-b4fc7d03af25
linux /boot/vmlinuz-5.15-x86_64 root=UUID=34e9c83c-58ee-4a25-bb00-b4fc7d03af25 rw udev.log_priority=3
initrd /boot/intel-ucode.img /boot/amd-ucode.img /boot/initramfs-5.15-x86_64.img
}
menuentry "Manjaro Linux (Kernel 5.15.144-1-MANJARO x64 - fallback initramfs) (em /dev/nvme0n1p2)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.15-x86_64--34e9c83c-58ee-4a25-bb00-b4fc7d03af25' {
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 34e9c83c-58ee-4a25-bb00-b4fc7d03af25
linux /boot/vmlinuz-5.15-x86_64 root=UUID=34e9c83c-58ee-4a25-bb00-b4fc7d03af25 rw udev.log_priority=3
initrd /boot/initramfs-5.15-x86_64-fallback.img
}
}
### END /etc/grub.d/30_os-prober_proxy ###
### BEGIN /etc/grub.d/40_custom_proxy ###
menuentry "Windows Boot Manager (em /dev/sdd2)" --class windows --class os $menuentry_id_option 'osprober-efi-3E6D-7A34' {
insmod part_gpt
insmod fat
set root='hd3,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd3,gpt2 --hint-efi=hd3,gpt2 --hint-baremetal=ahci3,gpt2 3E6D-7A34
else
search --no-floppy --fs-uuid --set=root 3E6D-7A34
fi
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
### END /etc/grub.d/40_custom_proxy ###
### BEGIN /etc/grub.d/42_uefi-firmware ###
if [ "$grub_platform" = "efi" ]; then
fwsetup --is-supported
if [ "$?" = 0 ]; then
menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
fwsetup
}
fi
fi
### END /etc/grub.d/42_uefi-firmware ###
### BEGIN /etc/grub.d/43_custom_proxy ###
menuentry "Windows Boot Manager (em /dev/sdd2)" --class windows --class os $menuentry_id_option 'osprober-efi-3E6D-7A34' {
insmod part_gpt
insmod fat
set root='hd3,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd3,gpt2 --hint-efi=hd3,gpt2 --hint-baremetal=ahci3,gpt2 3E6D-7A34
else
search --no-floppy --fs-uuid --set=root 3E6D-7A34
fi
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
# 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.
### END /etc/grub.d/43_custom_proxy ###
### BEGIN /etc/grub.d/44_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/44_custom ###
### BEGIN /etc/grub.d/45_eos_windows_proxy ###
### END /etc/grub.d/45_eos_windows_proxy ###