|
|
@ -8,104 +8,107 @@ Jade is an installer backend for crystal linux.
|
|
|
|
### Autopartition the drive
|
|
|
|
### Autopartition the drive
|
|
|
|
```sh
|
|
|
|
```sh
|
|
|
|
# autopartition /dev/sda with efi enabled
|
|
|
|
# autopartition /dev/sda with efi enabled
|
|
|
|
$ crystal-jade partition auto /dev/sda --efi
|
|
|
|
# crystal-jade partition auto /dev/sda --efi
|
|
|
|
|
|
|
|
|
|
|
|
# autopartition /dev/nvmen0 with efi disabled
|
|
|
|
# autopartition /dev/nvmen0 with efi disabled
|
|
|
|
$ crystal-jade partition auto /dev/nvmen0
|
|
|
|
# crystal-jade partition auto /dev/nvmen0
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
### Install base packages
|
|
|
|
### Install base packages
|
|
|
|
```sh
|
|
|
|
```sh
|
|
|
|
$ crystal-jade install-base
|
|
|
|
# crystal-jade install-base
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
### Install bootloader
|
|
|
|
### Install bootloader
|
|
|
|
```sh
|
|
|
|
```sh
|
|
|
|
# install as efi with esp being /boot/efi
|
|
|
|
# install as efi with esp being /boot/efi
|
|
|
|
$ crystal-jade bootloader grub-efi /boot/efi
|
|
|
|
# crystal-jade bootloader grub-efi /boot/efi
|
|
|
|
|
|
|
|
|
|
|
|
# install as legacy on /dev/sda
|
|
|
|
# install as legacy on /dev/sda
|
|
|
|
$ crystal-jade bootloader grub-legacy /dev/sda
|
|
|
|
# crystal-jade bootloader grub-legacy /dev/sda
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
### Generate fstab
|
|
|
|
### Generate fstab
|
|
|
|
```sh
|
|
|
|
```sh
|
|
|
|
$ crystal-jade genfstab
|
|
|
|
# crystal-jade genfstab
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
### Configuring locale settings
|
|
|
|
### Configuring locale settings
|
|
|
|
```sh
|
|
|
|
```sh
|
|
|
|
# set the keyboard layout to colemak, the timezone to Europe/Berlin and set en_US.UTF-8 as the locale
|
|
|
|
# set the keyboard layout to colemak, the timezone to Europe/Berlin and set en_US.UTF-8 as the locale
|
|
|
|
$ crystal-jade locale colemak Europe/Berlin en_US.UTF-8 UTF-8
|
|
|
|
# crystal-jade locale colemak Europe/Berlin en_US.UTF-8 UTF-8
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
### Configure network settings
|
|
|
|
### Configure network settings
|
|
|
|
```sh
|
|
|
|
```sh
|
|
|
|
# set the hostname to getcryst.al with ipv6 disabled
|
|
|
|
# set the hostname to getcryst.al with ipv6 disabled
|
|
|
|
$ crystal-jade networking getcryst.al
|
|
|
|
# crystal-jade networking getcryst.al
|
|
|
|
|
|
|
|
|
|
|
|
# set the hostname to getcryst.al with ipv6 enabled
|
|
|
|
# set the hostname to getcryst.al with ipv6 enabled
|
|
|
|
$ crystal-jade networking getcryst.al --ipv6
|
|
|
|
# crystal-jade networking getcryst.al --ipv6
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
### Setup zramd
|
|
|
|
### Setup zramd
|
|
|
|
```sh
|
|
|
|
```sh
|
|
|
|
# install and enable zramd
|
|
|
|
# install and enable zramd
|
|
|
|
$ crystal-jade zramd
|
|
|
|
# crystal-jade zramd
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
### Configure users
|
|
|
|
### Configure users
|
|
|
|
```sh
|
|
|
|
```sh
|
|
|
|
# make a new user called nonRootHaver, without sudo, easytohack as the password and bash as the default shell
|
|
|
|
# make a new user called nonRootHaver, without sudo, easytohack as the password and bash as the default shell
|
|
|
|
$ crystal-jade users new-user nonRootHaver easytohack bash
|
|
|
|
# crystal-jade users new-user nonRootHaver easytohack bash
|
|
|
|
|
|
|
|
|
|
|
|
# make a user called rootHaver, with sudo, omgsosuperhardtohack as the password and fish as the default shell
|
|
|
|
# make a user called rootHaver, with sudo, omgsosuperhardtohack as the password and fish as the default shell
|
|
|
|
$ crystal-jade users new-user rootHaver omgsuperhardtohack fish --hasroot
|
|
|
|
# crystal-jade users new-user rootHaver omgsuperhardtohack fish --hasroot
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
### Set root password
|
|
|
|
### Set root password
|
|
|
|
```sh
|
|
|
|
```sh
|
|
|
|
# set the root password to 'muchSecurity,veryHardToHack'
|
|
|
|
# set the root password to 'muchSecurity,veryHardToHack'
|
|
|
|
$ crystal-jade users root-password muchSecurity,veryHardToHack
|
|
|
|
# crystal-jade users root-password muchSecurity,veryHardToHack
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
### Install a desktop environment
|
|
|
|
### Install a desktop environment
|
|
|
|
```sh
|
|
|
|
```sh
|
|
|
|
# install onyx
|
|
|
|
# install onyx
|
|
|
|
$ crystal-jade desktops onyx
|
|
|
|
# crystal-jade desktops onyx
|
|
|
|
|
|
|
|
|
|
|
|
# install gnome
|
|
|
|
# install gnome
|
|
|
|
$ crystal-jade desktops gnome
|
|
|
|
# crystal-jade desktops gnome
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
### Setup timeshift
|
|
|
|
### Setup timeshift
|
|
|
|
```sh
|
|
|
|
```sh
|
|
|
|
$ crystal-jade setup-timeshift
|
|
|
|
# crystal-jade setup-timeshift
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
### Setup flatpak
|
|
|
|
### Setup flatpak
|
|
|
|
```sh
|
|
|
|
```sh
|
|
|
|
$ crystal-jade flatpak
|
|
|
|
# crystal-jade flatpak
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
### Debug logging
|
|
|
|
### Debug logging
|
|
|
|
|
|
|
|
|
|
|
|
debug messages:
|
|
|
|
debug messages:
|
|
|
|
```sh
|
|
|
|
```sh
|
|
|
|
$ crystal-jade -v
|
|
|
|
# crystal-jade -v
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
traces:
|
|
|
|
traces:
|
|
|
|
```sh
|
|
|
|
```sh
|
|
|
|
$ crystal-jade -vv
|
|
|
|
# crystal-jade -vv
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Non-secret Secret
|
|
|
|
## Non-secret Secret
|
|
|
|
echo "$ crystal-jade_UWU=true" >> ~/.zshrc <br>
|
|
|
|
$ echo "crystal-jade_UWU=true" >> ~/.zshrc
|
|
|
|
echo "$ crystal-jade_UWU=true" >> ~/.bashrc <br>
|
|
|
|
|
|
|
|
set -Ux $ crystal-jade_UWU true <br>
|
|
|
|
$ echo "crystal-jade_UWU=true" >> ~/.bashrc
|
|
|
|
<br>
|
|
|
|
|
|
|
|
|
|
|
|
$ set -Ux crystal-jade_UWU true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if you want to have your log and crash output be “cute”
|
|
|
|
if you want to have your log and crash output be “cute”
|
|
|
|
|
|
|
|
|
|
|
|
## 🙌 Contributing
|
|
|
|
## 🙌 Contributing
|
|
|
|