Giter Site home page Giter Site logo

lroz's Introduction

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

lroz's People

Contributors

ndruba avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.