You are not logged in.

#1 2021-01-11 04:10:37

Gekume123
Member
Registered: 2020-09-19
Posts: 29

Refind not showing ZFS installation

I did a ZFS on Root install, and instead of using SystemdBoot, I installed Refind and edited refind_linux.conf to have zfs=bootfs.

My efi partition is at /boot/efi

However, my zfs root installation does not show up in Refind. I noticed that it says Refind needs a ZFS driver, but I didn't need this on VoidLinux so I assumed it was out of date.

However, I can't even figure out how to install the Refind driver. I enter the efi shell, I typed load *zfsdriver.efi* and then map -r, but I don't know what to do from there. I tried exiting and going back into Refind but nothing shoes up.

Thanks

Offline

#2 2021-01-11 04:14:52

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

Re: Refind not showing ZFS installation

The kernel and initramfs need to be on a filesystem refind can access. That doesn't include zfs.

Offline

#3 2021-01-11 04:39:54

Gekume123
Member
Registered: 2020-09-19
Posts: 29

Re: Refind not showing ZFS installation

Scimmia wrote:

The kernel and initramfs need to be on a filesystem refind can access. That doesn't include zfs.

I used zfs and Refind successfully with VoidLinux tho. And the Arch wiki suggests installing a ZFS driver (which I didn't need on void) but I can't figure out how to do it properly, so I also need help with that: https://efi.akeo.ie/

Offline

#4 2021-01-11 04:41:02

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

Re: Refind not showing ZFS installation

I would assume the kernel and initramfs weren't on ZFS on that Void installation.

Offline

#5 2021-01-11 04:46:18

Gekume123
Member
Registered: 2020-09-19
Posts: 29

Re: Refind not showing ZFS installation

Scimmia wrote:

I would assume the kernel and initramfs weren't on ZFS on that Void installation.

Hmm, these are the steps I followed: https://github.com/zbm-dev/zfsbootmenu/ … -disk-UEFI

You might be right, cause the efi partition is mounted on /boot/efi and the install contains this:

Created /boot/efi/EFI/void/vmlinuz-0.8.1_1, /boot/efi/EFI/void/initramfs-0.8.1_1.img which indicates that it's stored on the efi partition right?

Thx

Offline

#6 2021-01-11 04:48:39

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

Re: Refind not showing ZFS installation

So now that we've established that you weren't using zfs from refind before, that's not saying it's not possible. rEFInd installs some drivers to the ESP, you may be able to drop more in that dir and it would find them. Might have to play with the executable names, but it's worth a shot.

Offline

#7 2021-01-11 05:03:50

Gekume123
Member
Registered: 2020-09-19
Posts: 29

Re: Refind not showing ZFS installation

I dropped the zfs driver.efi into EFI/tools/drivers (the dir that was listed in refind.conf) but it doesn't make my zfs install show up unfortunately.

What do you mean by play with the executable names?

Thx

Offline

#8 2021-01-29 00:50:59

fire100265
Member
Registered: 2020-10-05
Posts: 95

Re: Refind not showing ZFS installation

Hmm you might want to check if it's a problem with rEFInd or something else. Try grub and see if it works.

Offline

Board footer

Powered by FluxBB