Hi there,
I recently switched to EndeavorOS and have the following question.
Until now I used a software called grub2win, which allows MultiBoot with Windows and Linux, without modifying the Windows MBR explicitly.
Now I have the following problem. Since grub2win does not natively support Endeavor, you have to manually import the grub.cfg file and follow their wiki instruction, but when starting it it does not seem to find the kernel.
My question is: Does anybody have experience with grub2win and do I even need g2w?
I am afraid I don’t have any experience with this piece of software.
Not really if you don’t mind to use EnOS’ Grub to boot both of your systems.
Please note that installing EnOS’ Grub will overwrite your disk’s MBR therefore it is a good measure to make a Recovery Disk from within your Windows system if you ever would need to restore its bootloader.
If you could post the content of the grub.cfg and link to the wiki instructions, forum members will have a chance to look into the details.
#
# 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
search --no-floppy --fs-uuid --set=root a48a57d2-a92c-4798-b51d-df20b1723472
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_input console
terminal_output gfxterm
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root a48a57d2-a92c-4798-b51d-df20b1723472
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/10_linux ###
menuentry 'EndeavourOS Linux' --class endeavouros --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-a48a57d2-a92c-4798-b51d-df20b1723472' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root a48a57d2-a92c-4798-b51d-df20b1723472
echo 'Loading Linux linux ...'
linux /boot/vmlinuz-linux root=UUID=a48a57d2-a92c-4798-b51d-df20b1723472 rw nowatchdog nvme_load=YES loglevel=3
echo 'Loading initial ramdisk ...'
initrd /boot/intel-ucode.img /boot/initramfs-linux.img
}
submenu 'Advanced options for EndeavourOS Linux' $menuentry_id_option 'gnulinux-advanced-a48a57d2-a92c-4798-b51d-df20b1723472' {
menuentry 'EndeavourOS Linux, with Linux linux' --class endeavouros --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-a48a57d2-a92c-4798-b51d-df20b1723472' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root a48a57d2-a92c-4798-b51d-df20b1723472
echo 'Loading Linux linux ...'
linux /boot/vmlinuz-linux root=UUID=a48a57d2-a92c-4798-b51d-df20b1723472 rw nowatchdog nvme_load=YES loglevel=3
echo 'Loading initial ramdisk ...'
initrd /boot/intel-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-a48a57d2-a92c-4798-b51d-df20b1723472' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root a48a57d2-a92c-4798-b51d-df20b1723472
echo 'Loading Linux linux ...'
linux /boot/vmlinuz-linux root=UUID=a48a57d2-a92c-4798-b51d-df20b1723472 rw nowatchdog nvme_load=YES loglevel=3
echo 'Loading initial ramdisk ...'
initrd /boot/intel-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 ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_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/30_uefi-firmware ###
### BEGIN /etc/grub.d/35_fwupd ###
### END /etc/grub.d/35_fwupd ###
### 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.
### 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 ###
### BEGIN /etc/grub.d/45_eos_windows ###
menuentry 'Windows Boot Manager (on /dev/nvme0n1p1)' --class windows --class os $menuentry_id_option 'osprober-efi-7EDA-023C' {
insmod part_gpt
insmod fat
search --no-floppy --fs-uuid --set=root 7EDA-023C
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
### END /etc/grub.d/45_eos_windows ###
So out of curiosity I experimented a little bit and I am almost certain, that grub2win or the grub2 inside it does not recognize the ext4 file system of endeavour. This leads to grub not recognizing the label and uuid and then it can not boot the vmlinuz and initrd. Shouldnt grub natively work with ext4?