From beaf6ba8da7235803f9213d962024bfbfd9cf30f Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Sun, 8 Apr 2018 15:05:21 +0200 Subject: Added "rerun" instructions. --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index bf3e9959..1921e7ac 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,13 @@ Whenever this live-cd boots, from here on now - it'll run `archinstall.py`. # git clone -b net-deploy --single-branch https://github.com/Torxed/archinstall.git # python3 ./archinstall/archinstall.py +# Rerunning a installation + + # umount -R /mnt; cryptsetup close /dev/mapper/luksdev + # python3 ./archinstall/archinstall.py + +> Note: This assumes `--post=stay` is set to avoid instant reboot at the end. + # Some parameters you can give it --drive= @@ -55,4 +62,4 @@ Whenever this live-cd boots, from here on now - it'll run `archinstall.py`. ## End note - ![description](description.jpg) \ No newline at end of file + ![description](description.jpg) -- cgit v1.2.3-70-g09d2 From 4001428149d38dc947ac70511f92ef089e69f45c Mon Sep 17 00:00:00 2001 From: Lord Anton Hvornum Date: Sat, 5 May 2018 19:20:14 +0200 Subject: Fixed: customize_rootfs.sh is not always run from /root, meaning 'git clone' would occationally fail to clone into /root rendering the rest of the process invalid. --- README.md | 1 + 1 file changed, 1 insertion(+) (limited to 'README.md') diff --git a/README.md b/README.md index 8138ae0d..bfc28d0a 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ Just a bare bone automated [Arch](https://wiki.archlinux.org/index.php/Arch_Linu # cd ~/archlive # echo -e "git\npython-psutil" >> packages.both + # echo "cd /root" >> ./airootfs/root/customize_airootfs.sh # echo "git clone https://github.com/Torxed/archinstall.git" >> ./airootfs/root/customize_airootfs.sh # echo "chmod +x ~/archinstall/archinstall.py" >> ./airootfs/root/customize_airootfs.sh # mkdir ./airootfs/etc/skel -- cgit v1.2.3-70-g09d2 From 88aed640656445c12ca3cee809f4e61ba7d42236 Mon Sep 17 00:00:00 2001 From: Lord Anton Hvornum Date: Thu, 24 May 2018 20:24:19 +0200 Subject: Updated the readme --- README.md | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 1a133ad3..8f04d45b 100644 --- a/README.md +++ b/README.md @@ -7,23 +7,22 @@ Just a bare bone automated [Arch](https://wiki.archlinux.org/index.php/Arch_Linu # echo -e "git\npython-psutil" >> packages.both # echo "cd /root" >> ./airootfs/root/customize_airootfs.sh # echo "git clone https://github.com/Torxed/archinstall.git" >> ./airootfs/root/customize_airootfs.sh + # echo "cd archinstall; git checkout net-deploy; cd /root" >> ./airootfs/root/customize_airootfs.sh # echo "chmod +x ~/archinstall/archinstall.py" >> ./airootfs/root/customize_airootfs.sh # mkdir ./airootfs/etc/skel # echo '[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && sh -c ~/archinstall/archinstall.py' >> ./airootfs/etc/skel/.zprofile - # rm -v work/build.make_* && ./build.sh -v + # rm -v work*; ./build.sh -v > Note: `~/archlive` might be different on your system, see [ArchISO#Setup](https://wiki.archlinux.org/index.php/archiso#Setup) for more info. -Whenever this live-cd boots, from here on now - it'll run `archinstall.py`. +Whenever this live-cd boots, from here on now - it'll run `archinstall.py` with the `net-deploy` branch. -> CAUTION: If no parameters are given, it will devour the first disk in your system (/dev/sda, /dev/nvme0n1p2 etc). +> CAUTION: If no parameters are given, it will devour the first disk in your system (/dev/sda, /dev/nvme0n1 etc). # Manually run it on a booted Live CD - # pacman -Sy git - # git clone https://github.com/Torxed/archinstall.git - # python3 ./archinstall/archinstall.py -> Note: *(You could also wget the `archinstall.py` script and skip installing git)* + # wget https://raw.githubusercontent.com/Torxed/archinstall/net-deploy/archinstall.py + # python3 archinstall.py # Rerunning a installation @@ -43,8 +42,11 @@ Whenever this live-cd boots, from here on now - it'll run `archinstall.py`. Sets the starting location of the root partition (TODO: /boot will take up space from 1MiB - , make sure boot is no larger than 513MiB) + --password=0000 (Default) + Which disk password to use, --password="" for prompt of password. + --pwfile=/tmp/diskpw (Default) - Which file to use as the disk encryption password + Which file to store the disk encryption password while sending it to cryptsetup --hostname=Arcinstall (Default) Sets the hostname of the box @@ -60,7 +62,9 @@ Whenever this live-cd boots, from here on now - it'll run `archinstall.py`. Adds an additional username to the system (default group Wheel) --post=reboot (Default) - After a successful install, reboots into the system. + After a successful install, reboots into the system. Use --post=stay to not reboot. + +net-deployment structs support all these and more. Custom arguments with string formatting. See [deployments/workstation.json](https://github.com/Torxed/archinstall/blob/net-deploy/deployments/workstation.json) for examples. ## End note -- cgit v1.2.3-70-g09d2