Giter VIP home page Giter VIP logo

arch-linux-configuration's Introduction

Arch linux configuration

This repository contains, free as in freedom, scripts to configure your archiso environment.

The current change log can be found here.

See my archzfs page if you want to know more.

This is a hard fork from eoli3n/archiso-zfs. For the history, eoli3n asked me kindly to do a hard fork, so I did.

How to use

Boot your archiso, either an iso with build in OpenZFS support or by adding OpenZFS support on runtime.

git clone --recursive https://github.com/stevleibelt/arch-linux-configuration
#if you want to setup upstream too
#git remote add upstream https://github.com/eoli3n/arch-config
#git fetch upstream

#bo: zfs installer section
cd scripts/zfs/install
bash 01-configure.sh
bash 02-configure.sh
#eo: zfs installer section

#bo: zfs recover section
bash 01-mount.sh
#do what you need to do
bash 02-umount.sh
#eo: zfs recover section

Features

ZFS root features

  • Native encryption aes-256-gcm
  • Zstd compression on all datasets
  • Boot Environments managed with zfsbootmenu
    • /boot included in ZFS
  • No swap
  • Netboot recovery

BTRFS root features

  • LUKS encryption aes-xts-plain64
  • Zstd compression on all subvolumes
  • Bootable BTRFS snapshot managed with snapper and grub-btrfs
  • Encrypted swap
  • Separated VFAT /boot
  • Netboot recovery

Links

arch-linux-configuration's People

Contributors

eoli3n avatar stevleibelt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

atomjack sbanka

arch-linux-configuration's Issues

BUG: zfskernelmode not set when `zfs-dkms` is selected

There is an issue in the zfs install 01-configuration.sh file.

Current behavior

If you select arch-dkms, you will end up in a not processable 02-install.sh call.
The section zfskernelmode is empty in the install.conf.

Expected behavior

If you select arch-dkms, you are able to call 02-install.sh without any error.

Bug: zfs installation -> linux-headers are not installed

Current Behavior

linux{-lts}-headers are not installed.
There is a bug in the 02-install.sh with the line {kernel-headers}. This will never result in something like linux-headers.

Expected Behavior

linux{-lts}-headers are installed

FR: Adding a feature to create encrypted swap partition

@Kodiman wrote the following issue in the arch-linux-live-cd-iso-with-zfs issue section.

The reason was the missing issue section/feature in here.

Hi, Stev, Your fork of Arch-Config zfs script is excellent. Particularly the improvements you made. Please consider adding a feature to create encrypted swap partition. Your thoughts about this? Much appreciated. Thanks

See this link for information and syntax about swap. Perhaps can copy and paste this into your scripts...
https://wiki.archlinux.org/title/User:Kayvlim/Install_UEFI_and_BIOS_compatible_Arch_Linux_with_Encrypted_ZFS_and_ZFSBootMenu#Swap...
Please note sections 2.1.4, 2.2, 2.3.2, 2.3.3, and 4.2 regarding swap.

Not boot after installation

I have just installed Arch linux on ZFS on a KVM/QEMU virtual machine!
All the installation process completed without any problem
However, I cannot boot into the system, just the live boot environment.
Even in case I remove the live boot env, all that left was just a blank shell from UEFI mode of KVM/QEMU.
I installed systemd-boot previously and had no luck too
If you have any solution, pls let me know! Thank you so much!

Failed installation

I'm running into errors during the installation step that results in a failed installation, that doesn't boot. I'm using archlinux-archzfs-linux-lts-dkms-20230701 from https://github.com/stevleibelt/arch-linux-live-cd-iso-with-zfs/releases, which is running kernel version 6.1.37-1-lts. During installation I'm choosing linux-lts kernel instead of the default linux kernel (I noticed when choosing the default it installs 6.4, which I don't believe has zfs support yet), and archzfs-linux-lts.

Afterwards, there are files in /mnt/boot, but /mnt/efi is empty.

Attached is a log of the entire installation process. Is there anything I can do to get this working?

zfs-install.log

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.