Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zfs mirrored install failure on NVMe and UEFI #65

Open
liljenstolpe opened this issue Feb 5, 2021 · 3 comments
Open

zfs mirrored install failure on NVMe and UEFI #65

liljenstolpe opened this issue Feb 5, 2021 · 3 comments

Comments

@liljenstolpe
Copy link

liljenstolpe commented Feb 5, 2021

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?

@joatmor
Copy link

joatmor commented Apr 22, 2021

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

@liljenstolpe
Copy link
Author

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

@joatmor
Copy link

joatmor commented May 24, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants