Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot boot gentoo thumb drive from Lenovo device
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
saski4711
Apprentice
Apprentice


Joined: 24 Jun 2004
Posts: 203

PostPosted: Thu Dec 12, 2024 11:21 am    Post subject: Cannot boot gentoo thumb drive from Lenovo device Reply with quote

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?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum