You need a working Arch system to create the ISO.
You can use VirtualBox or download the ISO directly.
sudo pacman -S archiso
git clone https://git.pwoss.org/desktop/iso.git
cd /path/to/repo/ISO/
mkarchiso -v .
0022
. If not, it is very likely that the live environment will have wrong file permissions.profiledef.sh
to your needs.
Check mkarchiso -h
.
Boot into your Live ISO and change the script before running it!
nano pwoss-desktop.sh
You NEED to change:
QDISKS="1" # Select the number "1" OR "2". If you have more than 2 hard drives, select 2.
ENCRYPTION="YES" # Select "YES" OR "NO" whether you want encryption or not.
That's the absolute minimum you have to change. Of course you can also change the passwords etc.. But stay between the 2 lines!
############################# Change only between the 2 lines
If you are installing Arch on a HDD hard disk instead of an SSD hard disk, you must delete root_trim=yes
from grub.
With Encryption:
nano etc/default/grub-luks
GRUB_CMDLINE_LINUX="cryptdevice=/dev/sda2:root root=/dev/vg0/root resume=/dev/vg0/swap root_trim=yes"
Without Encryption:
nano etc/default/grub
GRUB_CMDLINE_LINUX="root_trim=yes"
You can change the desktop environment.
Check Arch wiki for other desktop environments.
You can easily add or delete your own packages. Do NOT delete from package base
to $MICROCODE
(inlcuding $MICROCODE).
pwoss <[options]> -u [<username>]
pwoss <[options]> --username=[<username>]
Options:
-h --help show this message
-u --username set username e.g. $USERNAME
-p --password set user password e.g. $PASSWORD
-r --root-password set root password e.g. $PASSWORDROOT
-e --encryption set encryption e.g. $ENCRYPTION
-cr --crypt-root set root password e.g. $CRYPTPWDROOT
-ch --crypt-home set home password e.g. $CRYPTPWDHOME
-t --timezone set timezine e.g. $TIMEZONE
-q --quantity-disks set numbers of hd e.g. $QDISKS
-d --disk set install disk e.g. $HARDDISK
-d2 --disk2 set home disk e.g. $HARDDISK2
Boot into any Arch Linux ISO and type the following:
pacman -Sy git
git clone https://git.pwoss.org/desktop/iso.git
cd ISO/airootfs/
sh pwoss-desktop.sh
The following items are also recommended:
The USB Stick is necessary for the installation of the system. Also, having a reliable USB stick from a reputable brand will help ensure that the process goes smoothly.
Download Etcher to flash the ISO
You have to align the boot-start to your USB-Stick.
Depending on your motherboard, you must press the "esc" or "f2" or "f12" or "end" key immediately after the PC starts.
Go to:
Put the USB at the first place (with F5 and F6). Hit the button esc until save changes and reset. Hit enter and yes.
Reboot and choose Start: Boot Arch Linux (x86_64)
(After installing your operating system, you need to change back your BIOS settings)
fdisk -l
or with sudo
sudo fdisk -l
(check of=/dev/sdd, if it's really your USB Stick!!!)
sudo dd bs=4M if=~/Downloads/PwOSS-Desktop-<date>.iso of=/dev/sdd
This version of the page was edited by Dan at 2020-09-24 19:27:10. View the most recent version.