This repository contains scripts for installing Exherbo Linux in a (x86_64) virtual machine environment with EFI support. It's based on the official documentation, Alexherbo's, s0dyy's guides and some friends' tools.
The project is composed of two main scripts:
init.sh
: Initializes the disk, downloads, and extracts Exherbo's stage3 tarball. It sets up disk partitioning, configures DNS andchroot
.chrooted.sh
: Once in thechroot
environment, this script configures the Exherbo system, including setting the language, time zone, compiles the Linux kernel and setup to bootloader (sort of, for now)
- A virtual machine or an environment where you can execute bash scripts.
- An internet connection to download the necessary files.
- A Live Linux image with an SSH access, for example System Rescue:
- Start on the ISO with EFI (Secure boot disabled)
- Select a
Boot System Rescue
entry - Edit (
e
) to add thenofirewall
(QWERTY keyboard) directive at the end of theLinux
line - Launch with
CTRL+X
orF10
- When you're in the shell as
root
, load your keyboard preferences (e.g.loadkeys fr
) - Change the root password (
passwd
) - Show network configuration of the VM (
ip a
) - Connect from another machine if needed
If you prefer to setup exherbo from the VM, you don't need the nofirewall
directive or to add a root password.
If you need Wi-Fi, you can use nmcli
:
nmcli --ask dev wifi connect <SSID>
If you need Wi-Fi, you can use nmcli
:
nmcli --ask dev wifi connect <SSID>
If you need Wi-Fi, you can use nmcli
:
nmcli --ask dev wifi connect <SSID>
nmcli dev wifi connect <SSID> password <password>
-
Preparation:
- Git clone to download the
init.sh
andchrooted.sh
scripts to your working environment - Go to
src
folder, ensure the scripts are executable (chmod +x
)
- Git clone to download the
-
Executing the
init.sh
script:- You can tell what block device to use for setup (e.g.:
./init.sh /dev/nvme0n1
) - This script will prepare your disk drive and download Exherbo stage3
- You can tell what block device to use for setup (e.g.:
-
Chroot and Setup:
- After running
init.sh
, it willchroot
into the Exherbo environment chrooted.sh
will configure the system, including kernel compilation
- After running
- The
chrooted.sh
script includes configuration options like hostname, Linux kernel version, and locale - You can adjust these settings as needed before running the script
For any questions or issues regarding these scripts, feel free to open an issue in this repository.