|
2 months ago | |
---|---|---|
airootfs | 2 months ago | |
efiboot/loader | 3 months ago | |
syslinux | 2 months ago | |
LICENSE | 1 year ago | |
README.md | 2 months ago | |
packages.x86_64 | 2 months ago | |
pacman.conf | 6 months ago | |
profiledef.sh | 2 months ago |
❗Still in progress. The ISO does not yet contain a complete configuration.❗
But the arch installation is really quick. Just without any PwOSS configuration.
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/server/iso.git
cd /path/to/repo/ISO/
mkarchiso -v .
NOTE:
It is recommended to perform all the following steps as the root user with the umask set to0022
. If not, it is very likely that the live environment will have wrong file permissions.
NOTE 2:
Changeprofiledef.sh
to your needs.
Check mkarchiso -h
.
Boot into your Live ISO and change the script before running it!
nano pwoss-server.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 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/server/iso.git
cd ISO/airootfs/
./pwoss-server.sh