Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ZFS on root from UEFI [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
tenspd137
Guru
Guru


Joined: 22 Aug 2006
Posts: 373

PostPosted: Wed Mar 06, 2013 9:05 pm    Post subject: ZFS on root from UEFI [solved] Reply with quote

Hi all

I am hoping that someone can help me figure this out as I am really close to getting it to work. I am using genkernel with the following options:

genkernel all --no-clean --no-mountboot --zfs --callback="modules-rebuild rebuild"

I have the EFI stub configured and I updated the bootmanager with:

echo "dozfs initrd=\EFI\gentoo\initramfs_zfs.img root=ZFS=rpool/ROOT/gentoo ro" | iconv -f ascii -t ucs2 | efibootmgr -c -L "Gentoo ZFS" -l '\EFI\gentoo\kernel_zfs.efi' -d /dev/sdb -p 1 --append-binary-args -

where rpool/ROOT/gentoo is the root location. Anyway, it looks like ti will load but keep failing with

"could not find root block device in ZFS=rpool/ROOT/gentoo"

if I drop to a sheel and do zpool list, it shows rpool as faulted. If I then export it then import it, it show it as online.

How can I figure out what in the initramfs / boot process is causing it to fail? Seems to me like it should be no problem.

Thanks!

*********** Solution ***************
My zpool.cache file was out of date. Drive names had changed and it didn't like that. Created a new one and copied it into a chroot environment, remade the initramfs, and everything seemed to work.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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