From 8c39a91af4cacf52ce61288bbcae7a6dfb178ba9 Mon Sep 17 00:00:00 2001 From: "Kevin Veen-Birkenbach [aka. Frantz]" Date: Fri, 17 Apr 2020 15:54:14 +0200 Subject: [PATCH] In between commit --- README.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index b217e1c..9da0195 100644 --- a/README.md +++ b/README.md @@ -13,8 +13,8 @@ It adapts the following instruction: ```bash # stop syncronisation before # partition the discs -parted /dev/sda --align=opt --script mklabel msdos mkpart primary 0% 1GiB mkpart primary 1GiB 100% -parted /dev/sdb --align=opt --script mklabel msdos mkpart primary 0% 1GiB mkpart primary 1GiB 100% +parted /dev/sda --align=opt --script mklabel gpt mkpart primary 0% 1GiB mkpart primary 1GiB 100% +parted /dev/sdb --align=opt --script mklabel gpt mkpart primary 0% 1GiB mkpart primary 1GiB 100% # Modified because of https://askubuntu.com/questions/84538/trouble-creating-3tb-ext4-partition-due-to-msdos-partition-table-imposed-error #reboot ``` @@ -49,7 +49,7 @@ Edit /arch/root.x86_64/etc/pacman.d/mirrorlist and choose a mirror nano /arch/root.x86_64/etc/pacman.d/mirrorlist ``` https://gist.github.com/neonb88/5ba848f1aef21ab67c7a4ff28e6d2ea3 -Just comment CheckSpace in /etc/pacman.conf +Just comment CheckSpace in /arch/root.x86_64/etc/pacman.conf Chroot into the bootstrap environment ```bash /arch/root.x86_64/bin/arch-chroot /arch/root.x86_64/ @@ -64,16 +64,16 @@ mount /dev/mapper/root /mnt/ mkdir /mnt/boot mount /dev/sda1 /mnt/boot #https://unix.stackexchange.com/questions/490418/i-cant-make-a-grub-config -mount --bind /proc /mnt/proc -mount --bind /dev /mnt/dev -mount --bind /sys /mnt/sys -mount --bind /run /mnt/run +#mount --bind /proc /mnt/proc +#mount --bind /dev /mnt/dev +#mount --bind /sys /mnt/sys +#mount --bind /run /mnt/run # initialize the pacman keychain this takes a long time do something from a second terminal, like dd if=/dev/sda of=/dev/tty7 pacman-key --init ## check out which of the following orders make sense -pacman-key --refresh-keys pacman-key --populate archlinux +pacman-key --refresh-keys ``` Finally, bootstrap Arch onto the root-volume... ```bash @@ -114,6 +114,7 @@ locale-gen ### Setup early ssh with tinyssh and netconf ```bash # some dependencies +# exit? # dmraid here? pacman -S sudo mkinitcpio mkinitcpio-nfs-utils tinyssh mkinitcpio-netconf mkinitcpio-tinyssh mkinitcpio-utils #ucspi-tcp cd /tmp