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: 10
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: 5330
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: 10
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
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