zfs mirrored install failure on NVMe and UEFI
I have tried multiple paths to install a mirrored ALEZ install on two NVMe drives using UEFI, and failed. I have installed ALEZ in the past, but not this configuration.
I followed the process below
- Grabbed the latest alez installer (note: even though I grabbed the latest, ALEZ starts saying that a newer version exists, and then identifies the newer version as the same one I pulled).
- Installed on a USB stick and booted the target off of the USB in UEFI mode.
- Selected either systemd-boot or GRUB. Errors from each listed below
- Partitioned the two NVMe drives
- Create a mirrored ZFS pool, and assigned part-2 on each drive
- In the case of systemd-boot, install efi on one of the NVMe's part-1
- Run the install
- Reboot - and fail
GRUB boot
Please insert a valid boot drive....
systemd-boot
Starting version 247.3.1-arch
:: running hook [udev]
:: triggering uevents...
:: mounting '' on real root
mount: /new_root: no filesystem type specified
You are now being dropped into an emergency shell
What am I missing?
Hi liljenstolpe.
I was just stopping in to see what has become of ALEZ and I saw your request for help. Its been a while since you posted but did you find a solution? I tried to update ALEZ but ended up creating a new installer from scratch. All of my Linux boxes are running well on a ZFS mirror. If you still need help I may be able to assist.
good luck
~ Lenny
Hi Lenny - that project just recently got picked up again. I'd love a pointer! Christopher
I tried to update ALEZ but it was beyond my abilities. I ended up creating my own installer where I specify which drives to use.
I started with the youtube video below which walks you through the installation process. Of course you will need to wipe and partition two dives instead of one. Also I have found it a good practice to run 'partprobe -s $disk' after partitioning each drive. The other modification is 'zpool create $options $pool mirror $partition1 $partition2' when creating the pool. I was able to get my system running on the first try following this video. I recorded everything I did and now I am working on automating the process.
https://www.youtube.com/watch?v=kPNcRSSaYQo&t=1726s