ALEZ icon indicating copy to clipboard operation
ALEZ copied to clipboard

zfs mirrored install failure on NVMe and UEFI

Open liljenstolpe opened this issue 5 years ago • 3 comments

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

  1. 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).
  2. Installed on a USB stick and booted the target off of the USB in UEFI mode.
  3. Selected either systemd-boot or GRUB. Errors from each listed below
  4. Partitioned the two NVMe drives
  5. Create a mirrored ZFS pool, and assigned part-2 on each drive
  6. In the case of systemd-boot, install efi on one of the NVMe's part-1
  7. Run the install
  8. 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?

liljenstolpe avatar Feb 05 '21 16:02 liljenstolpe

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

joatmor avatar Apr 22 '21 23:04 joatmor

Hi Lenny - that project just recently got picked up again. I'd love a pointer! Christopher

liljenstolpe avatar May 24 '21 04:05 liljenstolpe

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

joatmor avatar May 24 '21 11:05 joatmor