saski4711 Apprentice
Joined: 24 Jun 2004 Posts: 203
|
Posted: Thu Dec 12, 2024 11:21 am Post subject: Cannot boot gentoo thumb drive from Lenovo device |
|
|
Hello,
I have a USB drive that I use to boot Gentoo from different devices. Somehow this doesn't work on recent lenovo devices (T14 G5 or E14 G6). I have the usual grub boot menu but after chosing I only see:
Code: |
EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device
EFI stub: Mesured initrd data into PCR9
|
That's it. Nothing happens. On other devices I have no issues. and YES I've disabled secure boot in the BIOS prior to the boot attempt.
my grub.conf looks like this:
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
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="1"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
GRUB_TERMINAL=console
GRUB_CMDLINE_LINUX_DEFAULT=""
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_msdos
insmod ext2
search --no-floppy --fs-uuid --set=root ac59ba21-2f6e-432a-a432-ec7829d4a6c8
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
fi
terminal_output gfxterm
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 ###
### 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/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 'GNU/Linux' --class gentoo --class gnu-linux --class gnu --class os {
load_video
insmod gzio
insmod part_msdos
insmod fat
echo 'Loading Linux ...'
linux /boot/kernel-next root=/dev/disk/by-partuuid/ac59ba21-2f6e-432a-a432-ec7829d4a6c8
initrd /boot/initramfs.img
}
menuentry 'GNU/Linux prev' --class gentoo --class gnu-linux --class gnu --class os {
load_video
insmod gzio
insmod part_msdos
insmod fat
search --no-floppy --label --set USB_BOOT
echo 'Loading Linux prev ...'
linux /boot/kernel-prev root=/dev/disk/by-partuuid/ac59ba21-2f6e-432a-a432-ec7829d4a6c8 mitigations=off i915.mitigations=off i915.enable_guc=2
initrd /boot/initramfs.img
}
menuentry 'GNU/Linux noargs' --class gentoo --class gnu-linux --class gnu --class os {
load_video
insmod gzio
insmod part_msdos
insmod fat
echo 'Loading Linux noargs ...'
linux /boot/kernel-next root=UUID=d7ef4220-049b-4347-bf2b-6be9ded97776
initrd /boot/initramfs.img
}
### 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 ###
|
Any ideas what I'm doing wrong here? |
|