Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't get gentoo to boot. [Solved]
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
Kaidezee
n00b
n00b


Joined: 25 Dec 2024
Posts: 4

PostPosted: Wed Dec 25, 2024 6:43 pm    Post subject: Can't get gentoo to boot. [Solved] Reply with quote

Hello, I am having problems with booting my Gentoo; after loading grub config file manually (because I hadn't flashed a new one yet), screen turns black for a brief moment and then goes back to GRUB with 'loading initramfs...' (or something along those lines) and gets stuck there. Some info; is an x230 laptop with Libreboot and fully encrypted root. I boot the BIOS way (I think. I didn't compile EDK2 or anything else that resembles EFI) and a GPT partition table.

GRUB config that I load
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="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 loadfont unicode ; 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 ###
menuentry 'Gentoo GNU/Linux' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-9b9cf3b3-9525-4a60-b05e-cad45cf3c82d' {
   load_video
   set gfxpayload=keep
   insmod gzio
   insmod part_gpt
   insmod cryptodisk
   insmod luks2
   insmod gcry_rijndael
   insmod gcry_rijndael
   insmod gcry_sha256
   insmod btrfs
   set root='cryptouuid/f0802371f94f4e48b6eacacc0a7d1195'
   if [ x$feature_platform_search_hint = xy ]; then
     search --no-floppy --fs-uuid --set=root --hint='cryptouuid/f0802371f94f4e48b6eacacc0a7d1195'  9b9cf3b3-9525-4a60-b05e-cad45cf3c82d
   else
     search --no-floppy --fs-uuid --set=root 9b9cf3b3-9525-4a60-b05e-cad45cf3c82d
   fi
   echo   'Loading Linux 6.12.6-gentoo ...'
   linux   /boot/vmlinuz-6.12.6-gentoo root=UUID=9b9cf3b3-9525-4a60-b05e-cad45cf3c82d ro
   echo   'Loading initial ramdisk ...'
   initrd   /boot/amd-uc.img /boot/initramfs-6.12.6-gentoo.img
}
submenu 'Advanced options for Gentoo GNU/Linux' $menuentry_id_option 'gnulinux-advanced-9b9cf3b3-9525-4a60-b05e-cad45cf3c82d' {
   menuentry 'Gentoo GNU/Linux, with Linux 6.12.6-gentoo' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.12.6-gentoo-advanced-9b9cf3b3-9525-4a60-b05e-cad45cf3c82d' {
      load_video
      set gfxpayload=keep
      insmod gzio
      insmod part_gpt
      insmod cryptodisk
      insmod luks2
      insmod gcry_rijndael
      insmod gcry_rijndael
      insmod gcry_sha256
      insmod btrfs
      set root='cryptouuid/f0802371f94f4e48b6eacacc0a7d1195'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint='cryptouuid/f0802371f94f4e48b6eacacc0a7d1195'  9b9cf3b3-9525-4a60-b05e-cad45cf3c82d
      else
        search --no-floppy --fs-uuid --set=root 9b9cf3b3-9525-4a60-b05e-cad45cf3c82d
      fi
      echo   'Loading Linux 6.12.6-gentoo ...'
      linux   /boot/vmlinuz-6.12.6-gentoo root=UUID=9b9cf3b3-9525-4a60-b05e-cad45cf3c82d ro
      echo   'Loading initial ramdisk ...'
      initrd   /boot/amd-uc.img /boot/initramfs-6.12.6-gentoo.img
   }
   menuentry 'Gentoo GNU/Linux, with Linux 6.12.6-gentoo (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.12.6-gentoo-recovery-9b9cf3b3-9525-4a60-b05e-cad45cf3c82d' {
      load_video
      set gfxpayload=keep
      insmod gzio
      insmod part_gpt
      insmod cryptodisk
      insmod luks2
      insmod gcry_rijndael
      insmod gcry_rijndael
      insmod gcry_sha256
      insmod btrfs
      set root='cryptouuid/f0802371f94f4e48b6eacacc0a7d1195'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint='cryptouuid/f0802371f94f4e48b6eacacc0a7d1195'  9b9cf3b3-9525-4a60-b05e-cad45cf3c82d
      else
        search --no-floppy --fs-uuid --set=root 9b9cf3b3-9525-4a60-b05e-cad45cf3c82d
      fi
      echo   'Loading Linux 6.12.6-gentoo ...'
      linux   /boot/vmlinuz-6.12.6-gentoo root=UUID=9b9cf3b3-9525-4a60-b05e-cad45cf3c82d ro single
      echo   'Loading initial ramdisk ...'
      initrd   /boot/amd-uc.img /boot/initramfs-6.12.6-gentoo.img
   }
   menuentry 'Gentoo GNU/Linux, with Linux 6.12.6-gentoo.old' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.12.6-gentoo.old-advanced-9b9cf3b3-9525-4a60-b05e-cad45cf3c82d' {
      load_video
      set gfxpayload=keep
      insmod gzio
      insmod part_gpt
      insmod cryptodisk
      insmod luks2
      insmod gcry_rijndael
      insmod gcry_rijndael
      insmod gcry_sha256
      insmod btrfs
      set root='cryptouuid/f0802371f94f4e48b6eacacc0a7d1195'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint='cryptouuid/f0802371f94f4e48b6eacacc0a7d1195'  9b9cf3b3-9525-4a60-b05e-cad45cf3c82d
      else
        search --no-floppy --fs-uuid --set=root 9b9cf3b3-9525-4a60-b05e-cad45cf3c82d
      fi
      echo   'Loading Linux 6.12.6-gentoo.old ...'
      linux   /boot/vmlinuz-6.12.6-gentoo.old root=UUID=9b9cf3b3-9525-4a60-b05e-cad45cf3c82d ro
      echo   'Loading initial ramdisk ...'
      initrd   /boot/amd-uc.img /boot/initramfs-6.12.6-gentoo.img.old
   }
   menuentry 'Gentoo GNU/Linux, with Linux 6.12.6-gentoo.old (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.12.6-gentoo.old-recovery-9b9cf3b3-9525-4a60-b05e-cad45cf3c82d' {
      load_video
      set gfxpayload=keep
      insmod gzio
      insmod part_gpt
      insmod cryptodisk
      insmod luks2
      insmod gcry_rijndael
      insmod gcry_rijndael
      insmod gcry_sha256
      insmod btrfs
      set root='cryptouuid/f0802371f94f4e48b6eacacc0a7d1195'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint='cryptouuid/f0802371f94f4e48b6eacacc0a7d1195'  9b9cf3b3-9525-4a60-b05e-cad45cf3c82d
      else
        search --no-floppy --fs-uuid --set=root 9b9cf3b3-9525-4a60-b05e-cad45cf3c82d
      fi
      echo   'Loading Linux 6.12.6-gentoo.old ...'
      linux   /boot/vmlinuz-6.12.6-gentoo.old root=UUID=9b9cf3b3-9525-4a60-b05e-cad45cf3c82d ro single
      echo   'Loading initial ramdisk ...'
      initrd   /boot/amd-uc.img /boot/initramfs-6.12.6-gentoo.img.old
   }
   menuentry 'Gentoo GNU/Linux, with Linux 6.12.5-gentoo-gentoo-dist' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.12.5-gentoo-gentoo-dist-advanced-9b9cf3b3-9525-4a60-b05e-cad45cf3c82d' {
      load_video
      set gfxpayload=keep
      insmod gzio
      insmod part_gpt
      insmod cryptodisk
      insmod luks2
      insmod gcry_rijndael
      insmod gcry_rijndael
      insmod gcry_sha256
      insmod btrfs
      set root='cryptouuid/f0802371f94f4e48b6eacacc0a7d1195'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint='cryptouuid/f0802371f94f4e48b6eacacc0a7d1195'  9b9cf3b3-9525-4a60-b05e-cad45cf3c82d
      else
        search --no-floppy --fs-uuid --set=root 9b9cf3b3-9525-4a60-b05e-cad45cf3c82d
      fi
      echo   'Loading Linux 6.12.5-gentoo-gentoo-dist ...'
      linux   /boot/vmlinuz-6.12.5-gentoo-gentoo-dist root=UUID=9b9cf3b3-9525-4a60-b05e-cad45cf3c82d ro
      echo   'Loading initial ramdisk ...'
      initrd   /boot/amd-uc.img /boot/initramfs-6.12.5-gentoo-gentoo-dist.img
   }
   menuentry 'Gentoo GNU/Linux, with Linux 6.12.5-gentoo-gentoo-dist (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.12.5-gentoo-gentoo-dist-recovery-9b9cf3b3-9525-4a60-b05e-cad45cf3c82d' {
      load_video
      set gfxpayload=keep
      insmod gzio
      insmod part_gpt
      insmod cryptodisk
      insmod luks2
      insmod gcry_rijndael
      insmod gcry_rijndael
      insmod gcry_sha256
      insmod btrfs
      set root='cryptouuid/f0802371f94f4e48b6eacacc0a7d1195'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint='cryptouuid/f0802371f94f4e48b6eacacc0a7d1195'  9b9cf3b3-9525-4a60-b05e-cad45cf3c82d
      else
        search --no-floppy --fs-uuid --set=root 9b9cf3b3-9525-4a60-b05e-cad45cf3c82d
      fi
      echo   'Loading Linux 6.12.5-gentoo-gentoo-dist ...'
      linux   /boot/vmlinuz-6.12.5-gentoo-gentoo-dist root=UUID=9b9cf3b3-9525-4a60-b05e-cad45cf3c82d ro single
      echo   'Loading initial ramdisk ...'
      initrd   /boot/amd-uc.img /boot/initramfs-6.12.5-gentoo-gentoo-dist.img
   }
   menuentry 'Gentoo GNU/Linux, with Linux 6.12.4-gentoo-r1-gentoo-dist' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.12.4-gentoo-r1-gentoo-dist-advanced-9b9cf3b3-9525-4a60-b05e-cad45cf3c82d' {
      load_video
      set gfxpayload=keep
      insmod gzio
      insmod part_gpt
      insmod cryptodisk
      insmod luks2
      insmod gcry_rijndael
      insmod gcry_rijndael
      insmod gcry_sha256
      insmod btrfs
      set root='cryptouuid/f0802371f94f4e48b6eacacc0a7d1195'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint='cryptouuid/f0802371f94f4e48b6eacacc0a7d1195'  9b9cf3b3-9525-4a60-b05e-cad45cf3c82d
      else
        search --no-floppy --fs-uuid --set=root 9b9cf3b3-9525-4a60-b05e-cad45cf3c82d
      fi
      echo   'Loading Linux 6.12.4-gentoo-r1-gentoo-dist ...'
      linux   /boot/vmlinuz-6.12.4-gentoo-r1-gentoo-dist root=UUID=9b9cf3b3-9525-4a60-b05e-cad45cf3c82d ro
      echo   'Loading initial ramdisk ...'
      initrd   /boot/amd-uc.img /boot/initramfs-6.12.4-gentoo-r1-gentoo-dist.img
   }
   menuentry 'Gentoo GNU/Linux, with Linux 6.12.4-gentoo-r1-gentoo-dist (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.12.4-gentoo-r1-gentoo-dist-recovery-9b9cf3b3-9525-4a60-b05e-cad45cf3c82d' {
      load_video
      set gfxpayload=keep
      insmod gzio
      insmod part_gpt
      insmod cryptodisk
      insmod luks2
      insmod gcry_rijndael
      insmod gcry_rijndael
      insmod gcry_sha256
      insmod btrfs
      set root='cryptouuid/f0802371f94f4e48b6eacacc0a7d1195'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint='cryptouuid/f0802371f94f4e48b6eacacc0a7d1195'  9b9cf3b3-9525-4a60-b05e-cad45cf3c82d
      else
        search --no-floppy --fs-uuid --set=root 9b9cf3b3-9525-4a60-b05e-cad45cf3c82d
      fi
      echo   'Loading Linux 6.12.4-gentoo-r1-gentoo-dist ...'
      linux   /boot/vmlinuz-6.12.4-gentoo-r1-gentoo-dist root=UUID=9b9cf3b3-9525-4a60-b05e-cad45cf3c82d ro single
      echo   'Loading initial ramdisk ...'
      initrd   /boot/amd-uc.img /boot/initramfs-6.12.4-gentoo-r1-gentoo-dist.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
   menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
      fwsetup
   }
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.
### 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 ###


Output of lspci -v
Code:

00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
   Subsystem: Intel Corporation 3rd Gen Core processor DRAM Controller
   Flags: bus master, fast devsel, latency 0
   Capabilities: [e0] Vendor Specific Information: Len=0c <?>
   Kernel driver in use: ivb_uncore
lspci: Unable to load libkmod resources: error -2

00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) (prog-if 00 [VGA controller])
   DeviceName: VGA compatible controller
   Subsystem: Intel Corporation 3rd Gen Core processor Graphics Controller
   Flags: bus master, fast devsel, latency 0, IRQ 11
   Memory at 8ec00000 (64-bit, non-prefetchable) [size=4M]
   Memory at 90000000 (64-bit, prefetchable) [size=256M]
   I/O ports at 1000 [size=64]
   Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
   Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit-
   Capabilities: [d0] Power Management version 2
   Capabilities: [a4] PCI Advanced Features

00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04) (prog-if 30 [XHCI])
   Subsystem: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller
   Flags: bus master, medium devsel, latency 0, IRQ 30
   Memory at 8f820000 (64-bit, non-prefetchable) [size=64K]
   Capabilities: [70] Power Management version 2
   Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
   Kernel driver in use: xhci_hcd

00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (Lewisville) (rev 04)
   DeviceName: Ethernet controller
   Subsystem: Intel Corporation Device 0000
   Flags: bus master, fast devsel, latency 0, IRQ 31
   Memory at 8f800000 (32-bit, non-prefetchable) [size=128K]
   Memory at 8f834000 (32-bit, non-prefetchable) [size=4K]
   I/O ports at 1040 [size=32]
   Capabilities: [c8] Power Management version 2
   Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
   Capabilities: [e0] PCI Advanced Features
   Kernel driver in use: e1000e

00:1a.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #2 (rev 04) (prog-if 20 [EHCI])
   Subsystem: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #2
   Flags: bus master, medium devsel, latency 0, IRQ 19
   Memory at 8f837000 (32-bit, non-prefetchable) [size=1K]
   Capabilities: [50] Power Management version 2
   Capabilities: [58] Debug port: BAR=1 offset=00a0
   Capabilities: [98] PCI Advanced Features
   Kernel driver in use: ehci-pci

00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04)
   Subsystem: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller
   Flags: bus master, fast devsel, latency 0, IRQ 32
   Memory at 8f830000 (64-bit, non-prefetchable) [size=16K]
   Capabilities: [50] Power Management version 2
   Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
   Capabilities: [70] Express Root Complex Integrated Endpoint, IntMsgNum 0
   Capabilities: [100] Virtual Channel
   Capabilities: [130] Root Complex Link
   Kernel driver in use: snd_hda_intel

00:1c.0 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1 (rev c4) (prog-if 00 [Normal decode])
   Subsystem: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1
   Flags: bus master, fast devsel, latency 0, IRQ 26
   Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
   I/O behind bridge: [disabled] [16-bit]
   Memory behind bridge: 8ea00000-8eafffff [size=1M] [32-bit]
   Prefetchable memory behind bridge: [disabled] [64-bit]
   Capabilities: [40] Express Root Port (Slot+), IntMsgNum 0
   Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
   Capabilities: [90] Subsystem: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1
   Capabilities: [a0] Power Management version 2
   Kernel driver in use: pcieport

00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4) (prog-if 00 [Normal decode])
   Subsystem: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2
   Flags: bus master, fast devsel, latency 0, IRQ 27
   Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
   I/O behind bridge: [disabled] [16-bit]
   Memory behind bridge: 8eb00000-8ebfffff [size=1M] [32-bit]
   Prefetchable memory behind bridge: [disabled] [64-bit]
   Capabilities: [40] Express Root Port (Slot+), IntMsgNum 0
   Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
   Capabilities: [90] Subsystem: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2
   Capabilities: [a0] Power Management version 2
   Kernel driver in use: pcieport

00:1c.2 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 (rev c4) (prog-if 00 [Normal decode])
   Subsystem: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3
   Flags: bus master, fast devsel, latency 0, IRQ 28
   Bus: primary=00, secondary=03, subordinate=0b, sec-latency=0
   I/O behind bridge: 2000-3fff [size=8K] [16-bit]
   Memory behind bridge: 8f000000-8f7fffff [size=8M] [32-bit]
   Prefetchable memory behind bridge: a0000000-afffffff [size=256M] [32-bit]
   Capabilities: [40] Express Root Port (Slot+), IntMsgNum 0
   Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
   Capabilities: [90] Subsystem: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3
   Capabilities: [a0] Power Management version 2
   Kernel driver in use: pcieport

00:1d.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #1 (rev 04) (prog-if 20 [EHCI])
   Subsystem: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #1
   Flags: bus master, medium devsel, latency 0, IRQ 18
   Memory at 8f838000 (32-bit, non-prefetchable) [size=1K]
   Capabilities: [50] Power Management version 2
   Capabilities: [58] Debug port: BAR=1 offset=00a0
   Capabilities: [98] PCI Advanced Features
   Kernel driver in use: ehci-pci

00:1f.0 ISA bridge: Intel Corporation QM77 Express Chipset LPC Controller (rev 04)
   Subsystem: Intel Corporation QM77 Express Chipset LPC Controller
   Flags: bus master, medium devsel, latency 0
   Capabilities: [e0] Vendor Specific Information: Len=0c <?>
   Kernel driver in use: lpc_ich

00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04) (prog-if 01 [AHCI 1.0])
   Subsystem: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode]
   Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 29
   I/O ports at 1080 [size=8]
   I/O ports at 1090 [size=4]
   I/O ports at 1088 [size=8]
   I/O ports at 1094 [size=4]
   I/O ports at 1060 [size=32]
   Memory at 8f836000 (32-bit, non-prefetchable) [size=2K]
   Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
   Capabilities: [70] Power Management version 3
   Capabilities: [a8] SATA HBA v1.0
   Capabilities: [b0] PCI Advanced Features
   Kernel driver in use: ahci

00:1f.3 SMBus: Intel Corporation 7 Series/C216 Chipset Family SMBus Controller (rev 04)
   Subsystem: Intel Corporation 7 Series/C216 Chipset Family SMBus Controller
   Flags: medium devsel, IRQ 16
   Memory at 8f839000 (64-bit, non-prefetchable) [size=256]
   I/O ports at 0400 [size=32]
   Kernel driver in use: i801_smbus

00:1f.6 Signal processing controller: Intel Corporation 7 Series/C210 Series Chipset Family Thermal Management Controller (rev 04)
   Subsystem: Intel Corporation 7 Series/C210 Series Chipset Family Thermal Management Controller
   Flags: fast devsel, IRQ 11
   Memory at 8f835000 (64-bit, non-prefetchable) [size=4K]
   Capabilities: [50] Power Management version 3

01:00.0 SD Host controller: Ricoh Co Ltd PCIe SDXC/MMC Host Controller (rev 04) (prog-if 01)
   Subsystem: Ricoh Co Ltd PCIe SDXC/MMC Host Controller
   Flags: bus master, fast devsel, latency 0, IRQ 16
   Memory at 8ea00000 (32-bit, non-prefetchable) [size=256]
   Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
   Capabilities: [78] Power Management version 3
   Capabilities: [80] Express Endpoint, IntMsgNum 0
   Capabilities: [100] Virtual Channel
   Capabilities: [800] Advanced Error Reporting
   Kernel driver in use: sdhci-pci

02:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
   Subsystem: Intel Corporation Device 008c
   Flags: bus master, fast devsel, latency 0, IRQ 17
   Memory at 8eb00000 (64-bit, non-prefetchable) [size=16K]
   Capabilities: [c8] Power Management version 3
   Capabilities: [d0] MSI: Enable- Count=1/1 Maskable- 64bit+
   Capabilities: [40] Express Endpoint, IntMsgNum 0
   Capabilities: [80] MSI-X: Enable+ Count=16 Masked-
   Capabilities: [100] Advanced Error Reporting
   Capabilities: [14c] Latency Tolerance Reporting
   Capabilities: [154] L1 PM Substates
   Kernel driver in use: iwlwifi


/etc/fstab:
Code:

UUID=9b9cf3b3-9525-4a60-b05e-cad45cf3c82d /    btrfs    defaults    0 1
UUID=c673c7f7-1ea9-4ada-b3e6-b37fc50f4979 none    swap   sw      0 0


My first thought was that it's a framebuffer problem, but after messing with relevant settings in the kernel for a while I don't think this is the case :/


Last edited by Kaidezee on Thu Dec 26, 2024 4:12 pm; edited 3 times in total
Back to top
View user's profile Send private message
Kaidezee
n00b
n00b


Joined: 25 Dec 2024
Posts: 4

PostPosted: Wed Dec 25, 2024 6:49 pm    Post subject: Reply with quote

Oh and of coarse, here is my kernel .config paste
https://0x0.st/8r0M.txt
Back to top
View user's profile Send private message
pingtoo
Veteran
Veteran


Joined: 10 Sep 2021
Posts: 1341
Location: Richmond Hill, Canada

PostPosted: Wed Dec 25, 2024 8:32 pm    Post subject: Re: Can't get gentoo to boot. Reply with quote

Kaidezee wrote:

Output of lspci -v
Code:
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) (prog-if 00 [VGA controller])
   DeviceName: VGA compatible controller
   Subsystem: Intel Corporation 3rd Gen Core processor Graphics Controller
   Flags: bus master, fast devsel, latency 0, IRQ 11
   Memory at 8ec00000 (64-bit, non-prefetchable) [size=4M]
   Memory at 90000000 (64-bit, prefetchable) [size=256M]
   I/O ports at 1000 [size=64]
   Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
   Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit-
   Capabilities: [d0] Power Management version 2
   Capabilities: [a4] PCI Advanced Features


My first thought was that it's a framebuffer problem, but after messing with relevant settings in the kernel for a while I don't think this is the case :/


What let you believe this is not the case?

Your graphic card have no "Kernel driver in use:" line.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5254
Location: Bavaria

PostPosted: Thu Dec 26, 2024 12:13 am    Post subject: Reply with quote

Kaidezee,

first of all: Welcome to Gentoo Forums! :D

You are missing this option in your kernel:
Code:
# CONFIG_DRM_FBDEV_EMULATION is not set

Because you are using 6.12.6 I suggest this article:
https://wiki.gentoo.org/wiki/User:Pietinger/Experimental/Manual_Configuring_Current_Kernel
(and please listen to the sentence in red ;-) )
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5254
Location: Bavaria

PostPosted: Thu Dec 26, 2024 12:16 am    Post subject: Re: Can't get gentoo to boot. Reply with quote

pingtoo wrote:
Your graphic card have no "Kernel driver in use:" line.

I guess this is due he booted with our Gentoo-Minimal-Admin-CD and NOT with our Gentoo-LIVE-CD ... but in his kernel .config the i915 is correct enabled (so, as soon as he can boot his kernel he will also see i915 when doing a "lspci-k")
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5254
Location: Bavaria

PostPosted: Thu Dec 26, 2024 12:42 am    Post subject: Reply with quote

Kaidezee,

I have seen also this right now:

CONFIG_FB=y should give you the option CONFIG_FB_EFI ...
See here:
https://wiki.gentoo.org/wiki/User:Pietinger/Experimental/Manual_Configuring_Current_Kernel#Framebuffer_Device_and_Console
... but you have disabled EFI completely ... ?
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
Kaidezee
n00b
n00b


Joined: 25 Dec 2024
Posts: 4

PostPosted: Thu Dec 26, 2024 3:40 pm    Post subject: Reply with quote

pietinger wrote:
... but you have disabled EFI completely ... ?

Yes, that is correct.
pietinger wrote:

Because you are using 6.12.6 I suggest this article:
https://wiki.gentoo.org/wiki/User:Pietinger/Experimental/Manual_Configuring_Current_Kernel
(and please listen to the sentence in red ;-) )

I have read through the article and it was very useful, thank you! My configuration finally boots. I can't, however, open my encrypted drive like this. After a while kernel prints something about it scanning for btrfs devices and later throws me into initramfs shell.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22877

PostPosted: Thu Dec 26, 2024 3:53 pm    Post subject: Reply with quote

Kaidezee wrote:
I can't, however, open my encrypted drive like this.
Do you need help resolving this? If so, please provide us some information with which we can work. Show the output you get, and describe why you think the current configuration should work. Are you missing the tools to open it? Does the tool not accept the passphrase you expect to use?
Back to top
View user's profile Send private message
Kaidezee
n00b
n00b


Joined: 25 Dec 2024
Posts: 4

PostPosted: Thu Dec 26, 2024 4:12 pm    Post subject: Reply with quote

No, I will figure it out :-)
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