Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
unable to boot, no fb
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
agustinfortnite2008
n00b
n00b


Joined: 28 Nov 2024
Posts: 15
Location: Argentina

PostPosted: Wed Jan 22, 2025 11:20 am    Post subject: unable to boot, no fb Reply with quote

i wasted like 80h trying to install gentoo with a zfs rootfs, i followed every guide gentoo or not

i tried grub zfsbootmenu and efistub and i can't make it work

it loads the kernel but never gives a log in screen ( CONFIG_FB_EFI is on as well ) and amdgpu driver is installed as module

efibootmgr config:
Code:
 efibootmgr --disk /dev/nvme0n1 --part 1 --create --label "Gentoo ZFS" --loader "vmlinuz-6.12.10-gentoo" --unicode 'root=ZFS=rpool/ROOT/gentoo ro initrd=\initramfs-6.12.10-gentoo.img'

_________________
Xorg es mierda, Wayland tambien
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5336
Location: Bavaria

PostPosted: Wed Jan 22, 2025 1:10 pm    Post subject: Reply with quote

If you want boot an image (=kernel) via UEFI make sure it is named "xxx.efi" (e.g. "bzImage.efi"). --loader "vmlinuz-6.12.10-gentoo" => --loader "vmlinuz-6.12.10-gentoo.efi" (of course you must rename the file also)

Do you have your kernel image really in the root of your ESP and not in \EFI (or \EFI\GENTOO) ? (because you have "--loader "vmlinuz-6.12.10-gentoo" and not "... \EFI\vmlinuz.efi")

Do you have the initramfs-file also in your ESP in root and not in \EFI (or\EFI\GENTOO) ?

See more here: https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Boot_kernel_via_UEFI

Here was a (solved) thread about an encrypted ZFS: https://forums.gentoo.org/viewtopic-p-8851911.html#8851911
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
agustinfortnite2008
n00b
n00b


Joined: 28 Nov 2024
Posts: 15
Location: Argentina

PostPosted: Wed Jan 22, 2025 1:46 pm    Post subject: Reply with quote

i reinstalled the linux kernel as bzImage.efi, make the initramfs and removed the uefi entry and created another, didn't work

additionally while using dracut i see in the log that it has root=zfs:rpool/ROOT/gentoo as built in kernel command line so i tried removing it from the
uefi entry and it didn't work :c

i don't know what else to try
_________________
Xorg es mierda, Wayland tambien
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5336
Location: Bavaria

PostPosted: Wed Jan 22, 2025 2:28 pm    Post subject: Reply with quote

Please do:

1. Reboot with Install-CD (or -USB-stick)
2. Do immediately an "efibootmgr" and provide the output here.
3. Chroot into your installation ( https://wiki.gentoo.org/wiki/User:Pietinger/New_at_Gentoo#Pause_during_Installation )
4. Provide us the output of:
* emerge --info
* mount
* ls -lR /boot
* ls -lR /efi
* fdisk -l
* grep -r --exclude-dir=savedconfig "" /etc/portage
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10704
Location: Somewhere over Atlanta, Georgia

PostPosted: Wed Jan 22, 2025 2:30 pm    Post subject: Reply with quote

agustinfortnite2008 wrote:
i reinstalled the linux kernel as bzImage.efi, make the initramfs and removed the uefi entry and created another, didn't work...
"didn't work" is not enough detail for anyone to help. Did the kernel produce any output? If so, take pictures and post them somewhere we can see. If not (heck, regardless), please tell us about how you built you kernel and what sources you used.

By the way, by the name of your ZPool, I think you probably followed Ali3nx's guide. That one worked for me, although I didn't follow it verbatim (used grub for one thing).

You've chosen a pretty challenging initial install but we'll help you get there. :)

Edit: Ninja'd by pietinger. Good advice there.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
agustinfortnite2008
n00b
n00b


Joined: 28 Nov 2024
Posts: 15
Location: Argentina

PostPosted: Wed Jan 22, 2025 3:13 pm    Post subject: Reply with quote

emerge --info:
Code:
Portage 3.0.66.1 (python 3.12.8-final-0, default/linux/amd64/23.0/llvm, gcc-14, glibc-2.40-r5, 6.6.67-gentoo-dist x86_64)
=================================================================
System uname: Linux-6.6.67-gentoo-dist-x86_64-AMD_Ryzen_5_5600G_with_Radeon_Graphics-with-glibc2.40
KiB Mem:    16162380 total,  11127108 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Wed, 22 Jan 2025 00:45:00 +0000
Head commit of repository gentoo: 03f41049a0fe0632eabd8cddaaca898e45943201
sh bash 5.2_p37
ld GNU ld (Gentoo 2.43 p3) 2.43.1
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.30.6::gentoo
dev-build/libtool:         2.5.4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.5.2::gentoo
dev-lang/perl:             5.40.0-r1::gentoo
dev-lang/python:           3.12.8_p1::gentoo, 3.13.1_p1::gentoo
llvm-core/clang:           19.1.4::gentoo
llvm-core/lld:             19.1.4::gentoo
llvm-core/llvm:            19.1.4::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/openrc:           0.55.1::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-devel/binutils:        2.43-r2::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             14.2.1_p20241221::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r5::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 3
    sync-rsync-extra-opts:
    sync-rsync-verify-jobs: 1

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64_llvm

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
ADDR2LINE="llvm-addr2line"
AR="llvm-ar"
AS="clang -c"
CBUILD="x86_64-pc-linux-gnu"
CC="clang"
CFLAGS="-march=native -O2 -fno-semantic-interposition -flto -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d"
CPP="clang-cpp"
CXX="clang++"
CXXFLAGS="-march=native -O2 -fno-semantic-interposition -flto -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=native -O2 -fno-semantic-interposition -flto -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -fno-semantic-interposition -flto -pipe"
GENTOO_MIRRORS="https://gentoo.zero.com.ar/gentoo/     rsync://gentoo.zero.com.ar/gentoo"
LANG="C.UTF8"
LD="ld.lld"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j12"
NM="llvm-nm"
OBJCOPY="llvm-objcopy"
OBJDUMP="llvm-objdump"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
RANLIB="llvm-ranlib"
READELF="llvm-readelf"
RUSTFLAGS=" -C target-cpu=native"
SHELL="/bin/bash"
STRINGS="llvm-strings"
STRIP="llvm-strip"
USE="X acl amd64 bzip2 cet clang crypt dbus egl elogind ffmpeg gdbm hardened iconv ipv6 libdrm libtirpc llvm-libunwind multilib ncurses nls opengl openmp pam pcre qml qt6 readline seccomp ssl test-rust unicode vaapi vulkan wayland xattr zlib" ABI_X86="64" ADA_TARGET="gcc_13" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a ssse3 vpclmulqdq" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ARFLAGS, ASFLAGS, CCLD, CONFIG_SHELL, CPPFLAGS, CTARGET, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, SIZE, YACC, YFLAGS


mount:
Code:
rpool/ROOT/gentoo on / type zfs (rw,relatime,xattr,posixacl,casesensitive)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sys on /sys type sysfs (ro,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=10240k,nr_inodes=2012987,mode=755,inode64)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
shm on /dev/shm type tmpfs (rw,nosuid,nodev,relatime,inode64)
tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,mode=755,inode64)
tmp on /tmp type tmpfs (rw,nosuid,nodev,inode64)
LiveOS_rootfs on /etc/resolv.conf type overlay (rw,relatime,lowerdir=/run/rootfsbase,upperdir=/run/overlayfs,workdir=/run/ovlwork,uuid=on)
/dev/nvme0n1p1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)


boot:
Code:
/boot:
total 48252
-rwxr-xr-x 1 root root  8429962 Jan 22 07:17 System.map-6.12.10-gentoo
-rwxr-xr-x 1 root root  8429962 Jan 22 04:28 System.map-6.12.10-gentoo.old
-rwxr-xr-x 1 root root   148480 Jan 22 03:42 amd-uc.img
-rwxr-xr-x 1 root root 19108352 Jan 22 07:17 bzImage.efi
-rwxr-xr-x 1 root root   157269 Jan 22 07:17 config-6.12.10-gentoo
-rwxr-xr-x 1 root root   157269 Jan 22 04:28 config-6.12.10-gentoo.old
-rwxr-xr-x 1 root root 12958876 Jan 22 07:19 initramfs-6.12.10-gentoo.img


fdisk -l:
Code:
Disk /dev/sda: 223.57 GiB, 240057409536 bytes, 468862128 sectors
Disk model: KINGSTON SA400S3
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 56A39204-E143-41BA-B428-35FA8BD70876

Device         Start       End   Sectors   Size Type
/dev/sda1       2048    206847    204800   100M EFI System
/dev/sda2     206848    239615     32768    16M Microsoft reserved
/dev/sda3     239616 467761933 467522318 222.9G Microsoft basic data
/dev/sda4  467763200 468858879   1095680   535M Windows recovery environment


Disk /dev/nvme0n1: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: KINGSTON SNV2S1000G                     
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: AFA94604-919D-4441-9DEF-4534A5484491

Device            Start        End    Sectors   Size Type
/dev/nvme0n1p1     2048    2099199    2097152     1G EFI System
/dev/nvme0n1p2  2099200   18876415   16777216     8G Linux swap
/dev/nvme0n1p3 18876416 1953523711 1934647296 922.5G Linux root (x86-64)


Disk /dev/sdb: 28.87 GiB, 30995907072 bytes, 60538881 sectors
Disk model: DataTraveler 3.0
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 5FBDCD30-67BC-444E-81AB-98E2FD341631

Device        Start      End  Sectors  Size Type
/dev/sdb1      2048 60473311 60471264 28.8G Microsoft basic data
/dev/sdb2  60473312 60538847    65536   32M Microsoft basic data


Disk /dev/mapper/ventoy: 3.64 GiB, 3906885632 bytes, 7630636 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: BC487DED-49C6-4180-9B23-4D4AD837E727

Device                     Start     End Sectors  Size Type
/dev/mapper/ventoy-part1      64     571     508  254K Microsoft basic data
/dev/mapper/ventoy-part2     572    6331    5760  2.8M EFI System
/dev/mapper/ventoy-part3    6332 7629987 7623656  3.6G Apple HFS/HFS+
/dev/mapper/ventoy-part4 7629988 7630587     600  300K Microsoft basic data


Disk /dev/loop0: 3.54 GiB, 3801100288 bytes, 7424024 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


grep -r --exclude-dir=savedconfig "" /etc/portage:
Code:
/etc/portage/package.use/gentoo-sources:sys-kernel/gentoo-sources experimental
/etc/portage/package.use/00cpu-flags:*/* CPU_FLAGS_X86: aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 vpclmulqdq
/etc/portage/package.use/installkernel:sys-kernel/installkernel dracut
/etc/portage/env/compiler-gcc:COMMON_FLAGS="-O2 -march=native"
/etc/portage/env/compiler-gcc:CFLAGS="${COMMON_FLAGS}"
/etc/portage/env/compiler-gcc:CXXFLAGS="${COMMON_FLAGS}"
/etc/portage/env/compiler-gcc:LDFLAGS="-Wl,--as-needed"
/etc/portage/env/compiler-gcc:
/etc/portage/env/compiler-gcc:CC="gcc"
/etc/portage/env/compiler-gcc:CXX="g++"
/etc/portage/env/compiler-gcc:CPP="gcc -E"
/etc/portage/env/compiler-gcc:AR="ar"
/etc/portage/env/compiler-gcc:NM="nm"
/etc/portage/env/compiler-gcc:RANLIB="ranlib"
/etc/portage/binrepos.conf/gentoobinhost.conf:# These settings were set by the catalyst build script that automatically
/etc/portage/binrepos.conf/gentoobinhost.conf:# built this stage.
/etc/portage/binrepos.conf/gentoobinhost.conf:# Please consider using a local mirror.
/etc/portage/binrepos.conf/gentoobinhost.conf:
/etc/portage/binrepos.conf/gentoobinhost.conf:[gentoobinhost]
/etc/portage/binrepos.conf/gentoobinhost.conf:priority = 1
/etc/portage/binrepos.conf/gentoobinhost.conf:sync-uri = https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64_llvm
/etc/portage/make.conf:# These settings were set by the catalyst build script that automatically
/etc/portage/make.conf:# built this stage.
/etc/portage/make.conf:# Please consult /usr/share/portage/config/make.conf.example for a more
/etc/portage/make.conf:# detailed example.
/etc/portage/make.conf:COMMON_FLAGS="-march=native -O2 -fno-semantic-interposition -flto -pipe"
/etc/portage/make.conf:CFLAGS="${COMMON_FLAGS}"
/etc/portage/make.conf:CXXFLAGS="${COMMON_FLAGS}"
/etc/portage/make.conf:FCFLAGS="${COMMON_FLAGS}"
/etc/portage/make.conf:FFLAGS="${COMMON_FLAGS}"
/etc/portage/make.conf:RUSTFLAGS="${RUSTFLAGS} -C target-cpu=native"
/etc/portage/make.conf:MAKEOPTS="-j12"
/etc/portage/make.conf:USE="wayland X hardened qt6 qml egl opengl vulkan elogind dbus ffmpeg vaapi libdrm -systemd"
/etc/portage/make.conf:VIDEO_CARDS="amdgpu radeonsi"
/etc/portage/make.conf:
/etc/portage/make.conf:# NOTE: This stage was built with the bindist USE flag enabled
/etc/portage/make.conf:
/etc/portage/make.conf:# This sets the language of build output to English.
/etc/portage/make.conf:# Please keep this setting intact when reporting bugs.
/etc/portage/make.conf:LC_MESSAGES=C.utf8
/etc/portage/make.conf:
/etc/portage/make.conf:ACCEPT_KEYWORDS="~amd64"
/etc/portage/make.conf:ACCEPT_LICENSE="*"
/etc/portage/make.conf:
/etc/portage/make.conf:GENTOO_MIRRORS="https://gentoo.zero.com.ar/gentoo/ \
/etc/portage/make.conf:    rsync://gentoo.zero.com.ar/gentoo"
/etc/portage/package.env:sys-libs/efivar compiler-gcc


it's not my first install tough, i already messed around with bcachefs rootfs some time ago but i can't remember how i got it working, but i enjoy thinkering with stuff
the problem is that i can't get any info on whats wrong as i have no frame buffer
_________________
Xorg es mierda, Wayland tambien
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5336
Location: Bavaria

PostPosted: Wed Jan 22, 2025 3:34 pm    Post subject: Reply with quote

I miss the output of "efibootmgr" ... ;-)

a) You have TWO ESPs in your system (some UEFI dont like this; therefore I wrote: " It is highly recommended to use only ONE ESP in your system." in https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Boot_kernel_via_UEFI#Prerequisites_for_an_UEFI_boot )

b) You mount the 2nd ESP (/dev/nvme0n1p1) to /boot (instead /efi) ... okay ... this is the old/outdated location but does not hurt ... but->

c) You dont have the directory \EFI in this ESP

-> create this directory and move your kernel and initramfs into it - or even better: create \EFI\Gentoo and move both into it.
-> create an UEFI entry with:
Code:
efibootmgr -c -d /dev/nvme0n1 -L "Gentoo ZFS" -l "\EFI\bzImage.efi" -u "root=ZFS=rpool/ROOT/gentoo ro initrd=\EFI\initramfs-6.12.10-gentoo.img'

- OR -
Code:
efibootmgr -c -d /dev/nvme0n1 -L "Gentoo ZFS" -l "\EFI\Gentoo\bzImage.efi" -u "root=ZFS=rpool/ROOT/gentoo ro initrd=\EFI\Gentoo\initramfs-6.12.10-gentoo.img'


I am not a ZFS expert and so I am unsure if it is: root=ZFS=rpool/ROOT/gentoo OR root=ZFS:rpool/ROOT/gentoo

Please provide us a detailed explanantion what you get after trying to boot this.
_________________
https://wiki.gentoo.org/wiki/User:Pietinger


Last edited by pietinger on Wed Jan 22, 2025 3:39 pm; edited 1 time in total
Back to top
View user's profile Send private message
agustinfortnite2008
n00b
n00b


Joined: 28 Nov 2024
Posts: 15
Location: Argentina

PostPosted: Wed Jan 22, 2025 3:36 pm    Post subject: Reply with quote

i forgor:
Code:
BootCurrent: 0001
Timeout: 1 seconds
BootOrder: 0001,0000,0002
Boot0000* Gentoo ZFS    HD(1,GPT,d4a10a35-24a7-4a78-abfb-0f1e1345c4e0,0x800,0x200000)/bzImage.efi69006e0069007400720064003d005c0069006e0069007400720061006d00660073002d0036002e00310032002e00310030002d00670065006e0074006f006f002e0
069006d006700
Boot0001* UEFI: KingstonDataTraveler 3.00000, Partition 2       PciRoot(0x0)/Pci(0x8,0x1)/Pci(0x0,0x4)/USB(5,0)/HD(2,GPT,0bef556f-15ea-44a7-8ea2-757eb83773d3,0x39abfe0,0x10000)0000424f
Boot0002* Windows Boot Manager  HD(1,GPT,b34ea740-c730-48b8-9e22-f07d7d76e323,0x800,0x32000)/\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI57494e444f5753000100000088000000780000004200430044004f0042004a004500430054003d007b00390064006500610038003600
320063002d0035006300640064002d0034006500370030002d0061006300630031002d006600330032006200330034003400640034003700390035007d00000061000100000
010000000040000007fff0400


i have only the nvme esp mounted, the other is a windows 10 240g ssd for playing when i fuck the install for whatever reason

Mod edit: Split long unbroken lines to prevent forum formatting from going crazy. — JRG
_________________
Xorg es mierda, Wayland tambien
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5336
Location: Bavaria

PostPosted: Wed Jan 22, 2025 3:41 pm    Post subject: Reply with quote

... okay we need "efibootmgr -u" ... :lol:
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10704
Location: Somewhere over Atlanta, Georgia

PostPosted: Wed Jan 22, 2025 3:42 pm    Post subject: Reply with quote

pietinger wrote:
I am not a ZFS expert and so I am unsure if it is: root=ZFS=rpool/ROOT/gentoo OR root=ZFS:rpool/ROOT/gentoo

"root=ZFS=rpool/ROOT/gentoo" is correct.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5336
Location: Bavaria

PostPosted: Wed Jan 22, 2025 3:46 pm    Post subject: Reply with quote

John R. Graham wrote:
"root=ZFS=rpool/ROOT/gentoo" is correct.

Thank you very much for helping me/us! :D

@agustinfortnite2008: The move into \EFI (or \EFI\gentoo) is important. Please do.
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
agustinfortnite2008
n00b
n00b


Joined: 28 Nov 2024
Posts: 15
Location: Argentina

PostPosted: Wed Jan 22, 2025 3:47 pm    Post subject: Reply with quote

i just get "EFI Stub: Loaded initrd from command line option" in the top left corner of the screen thats all

i moved everything to \EFI\Gentoo and added the entry

efibootmgr -u:
Code:
BootCurrent: 0001
Timeout: 1 seconds
BootOrder: 0001,0000,0002
Boot0000* Gentoo ZFS    HD(1,GPT,d4a10a35-24a7-4a78-abfb-0f1e1345c4e0,0x800,0x200000)/\EFI\Gentoo\bzImage.efiroot=ZFS=rpool/ROOT/gentoo ro initrd=\EFI\Gentoo\initramfs-6.12.10-gentoo.img
Boot0001* UEFI: KingstonDataTraveler 3.00000, Partition 2       PciRoot(0x0)/Pci(0x8,0x1)/Pci(0x0,0x4)/USB(5,0)/HD(2,GPT,0bef556f-15ea-44a7-8ea2-757eb83773d3,0x39abfe0,0x10000)
Boot0002* Windows Boot Manager  HD(1,GPT,b34ea740-c730-48b8-9e22-f07d7d76e323,0x800,0x32000)/\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI䥗䑎坏S

_________________
Xorg es mierda, Wayland tambien
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5336
Location: Bavaria

PostPosted: Wed Jan 22, 2025 4:05 pm    Post subject: Reply with quote

damn ... I have to go now ... I assume that you have to rebuild the initramfs ... but can't help much with “dracut” (I recommend “ugrd”) ... either someone jumps in here ... or I can continue in a few more hours.
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
pingtoo
Veteran
Veteran


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

PostPosted: Wed Jan 22, 2025 4:09 pm    Post subject: Reply with quote

agustinfortnite2008,

pietinger usually will give better assist. But in his absent just quick check, I notice your EFI default boot from "0001" which is "KingstonDataTraveler". is that really the intended boot device?
Back to top
View user's profile Send private message
agustinfortnite2008
n00b
n00b


Joined: 28 Nov 2024
Posts: 15
Location: Argentina

PostPosted: Wed Jan 22, 2025 4:11 pm    Post subject: Reply with quote

001 is the gentoo live cd, where i post from.
now im reading the ugrd wiki page
_________________
Xorg es mierda, Wayland tambien
Back to top
View user's profile Send private message
agustinfortnite2008
n00b
n00b


Joined: 28 Nov 2024
Posts: 15
Location: Argentina

PostPosted: Wed Jan 22, 2025 4:19 pm    Post subject: Reply with quote

ugrd doesn't have zfs support it fails to recognize the pool

ugrd:
Code:
check_included_or_mounted:

ERROR    | [Errno 2] No such file or directory: 'rpool/ROOT/gentoo'
Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/ugrd/main.py", line 169, in main
    generator.build()
  File "/usr/lib/python3.12/site-packages/ugrd/initramfs_generator.py", line 95, in build
    self.run_build()
  File "/usr/lib/python3.12/site-packages/ugrd/initramfs_generator.py", line 244, in run_build
    self.run_hook(task, force_exclude=True)
  File "/usr/lib/python3.12/site-packages/ugrd/initramfs_generator.py", line 160, in run_hook
    if function_output := self.run_func(function, *args, **kwargs):
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/ugrd/initramfs_generator.py", line 111, in run_func
    if function_output := function(self):
                          ^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/zenlib/util/dict_check.py", line 36, in _contains
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/zenlib/util/dict_check.py", line 36, in _contains
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/ugrd/fs/mounts.py", line 605, in autodetect_root
    root_dev = _resolve_dev(self, self["_mounts"]["/"]["device"])
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/ugrd/fs/mounts.py", line 45, in _resolve_dev
    major, minor = _get_device_id(self["_mounts"][mountpoint]["device"])
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/ugrd/fs/mounts.py", line 27, in _get_device_id
    return Path(device).stat().st_rdev >> 8, Path(device).stat().st_rdev & 0xFF
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/pathlib.py", line 840, in stat
    return os.stat(self, follow_symlinks=follow_symlinks)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'rpool/ROOT/gentoo'

_________________
Xorg es mierda, Wayland tambien
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