Skip to content

ndruba/LroZ

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linux root on ZFS

Shell scripts, thats can help to install you preffered linux OS on zfs root. Can be run in silent and semi-interactive mode.

Tested on:

  • OpenSUSE Leap 15.3
  • OpenSUSE Tumbleweed

To use scripts you need:

  1. Create bootable Live cd or usb with preffered(legacy or UEFI) load interface. Works well balenaEtcher.
  2. Boot from this Live iso and setup network connection. (by "ip" commands, for example)
  3. Download zip archive of LroZ scripts and unzip them:
wget https://github.com/ndruba/LroZ/archive/refs/heads/master.zip
unzip master.zip
cd ./LroZ
  1. Edit config:
vim lroz.conf

or

nano lroz.conf
  1. Run setup:
./lroz.sh
  1. After reboot and setup network, to finish installation run:
/root/lroz/firstboot.sh

Notes:

To use this scripts you need to understand at least a general idea of ZFS working. Admin Documentation

zpool features grub2 compability list

Installed system may not have the same disk id's list, like Live iso. If you choose UEFI type of bootloader and system can't boot after installation, check that new system have disk id that you choosed during installation. Otherwise, fix /etc/fstab in new system or repeat installation with correct disk id.

Thanx:

files/genhostid.sh script taken from openzfs project

About

Linux root on ZFS installer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published