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 and s0dyy's guides, some friends' scripts.
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 and chroot.chrooted.sh
: Once in the chroot environment, this script configures the Exherbo system, including setting the language, time zone, compiles the Linux kernel and setup to boot loader (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 a SSH acces, 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>
-
Preparation:
- Git clone to download the
init.sh
andchrooted.sh
scripts to your working environment. - Ensure the scripts are executable (
chmod +x
).
- Git clone to download the
-
Executing the
init.sh
script:- This script will prepare your virtual hard disk and download Exherbo stage3.
- Modify the variables in the script as needed (e.g., disk configuration).
-
Chroot and Setup:
- After running
init.sh
, it will chroot 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.