forked from Firstp1ck/archinstall-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdry-run.log
More file actions
104 lines (93 loc) · 6.35 KB
/
dry-run.log
File metadata and controls
104 lines (93 loc) · 6.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
Starting dry-run (no commands will be executed)...
Logging dry-run output to: /home/firstpick/Dokumente/GitHub/archinstall-rs/dry-run.log
::section_start::Mirrors & Repos
=== Mirrors & Repos ===
[Dry-Run] $ install -d /etc/pacman.d
[Dry-Run] $ install -d /mnt/etc/pacman.d
[Dry-Run] $ reflector --verbose --protocol https --latest 20 --sort rate -c "CH" --save /etc/pacman.d/mirrorlist
[Dry-Run] $ install -Dm644 /etc/pacman.d/mirrorlist /mnt/etc/pacman.d/mirrorlist
::section_done::Mirrors & Repos
::section_start::Pre-cleanup
=== Pre-cleanup ===
[Dry-Run] $ swapoff -a || true
[Dry-Run] $ umount -R /mnt 2>/dev/null || true
[Dry-Run] $ udevadm settle || true
::section_done::Pre-cleanup
::section_start::Partitioning
=== Partitioning ===
[Dry-Run] $ wipefs -a /dev/sdb
[Dry-Run] $ parted -s /dev/sdb mklabel gpt
[Dry-Run] $ partprobe /dev/sdb || true
[Dry-Run] $ udevadm settle
[Dry-Run] $ parted -s /dev/sdb mkpart ESP fat32 1MiB 1025MiB
[Dry-Run] $ parted -s /dev/sdb set 1 esp on
[Dry-Run] $ mkfs.fat -F 32 /dev/sdb1
[Dry-Run] $ parted -s /dev/sdb mkpart swap linux-swap 1025MiB 5121MiB
[Dry-Run] $ mkswap /dev/sdb2
[Dry-Run] $ parted -s /dev/sdb mkpart root btrfs 5121MiB 100%
[Dry-Run] $ mkfs.btrfs -f /dev/sdb3
::section_done::Partitioning
::section_start::Mounting
=== Mounting ===
[Dry-Run] $ mkdir -p /mnt
[Dry-Run] $ mount /dev/sdb3 /mnt
[Dry-Run] $ modprobe -q vfat || true
[Dry-Run] $ modprobe -q fat || true
[Dry-Run] $ mount --mkdir /dev/sdb1 /mnt/boot
[Dry-Run] $ swapon /dev/sdb2
::section_done::Mounting
::section_start::System pre-install
=== System pre-install ===
[Dry-Run] $ test -f /mnt/etc/pacman.conf || install -Dm644 /etc/pacman.conf /mnt/etc/pacman.conf
[Dry-Run] $ sed -i '/^#\s*\[multilib\]/,/^#\s*Include/s/^#\s*//' /mnt/etc/pacman.conf
::section_done::System pre-install
::section_start::System package installations
=== System package installations ===
[Dry-Run] $ pacman -Syy --noconfirm --noprogressbar --color never
[Dry-Run] $ PACMAN="pacman --noconfirm --noprogressbar --color never" pacstrap -K /mnt ark base base-devel curl dolphin efibootmgr git grub htop intel-media-driver intel-ucode iwd kate konsole libva-intel-driver linux linux-firmware man-db man-pages mesa nano networkmanager openssh pam pipewire pipewire-pulse plasma-meta plasma-workspace sddm smartmontools sudo vim vulkan-intel vulkan-nouveau vulkan-radeon wget wireless_tools wireplumber wpa_supplicant xdg-user-dirs xdg-utils xf86-video-amdgpu xf86-video-ati xf86-video-nouveau xorg-server xorg-xinit || (pacman -Syy --noconfirm --noprogressbar --color never && PACMAN="pacman --noconfirm --noprogressbar --color never" pacstrap -K /mnt ark base base-devel curl dolphin efibootmgr git grub htop intel-media-driver intel-ucode iwd kate konsole libva-intel-driver linux linux-firmware man-db man-pages mesa nano networkmanager openssh pam pipewire pipewire-pulse plasma-meta plasma-workspace sddm smartmontools sudo vim vulkan-intel vulkan-nouveau vulkan-radeon wget wireless_tools wireplumber wpa_supplicant xdg-user-dirs xdg-utils xf86-video-amdgpu xf86-video-ati xf86-video-nouveau xorg-server xorg-xinit )
::section_done::System package installations
::section_start::fstab and checks
=== fstab and checks ===
[Dry-Run] $ blkid -o export /dev/sdb1 | grep -Eq 'PARTLABEL=ESP|PARTLABEL=EFI System Partition|PARTTYPE=EF00|PARTUUID=' || echo 'WARN: ESP not detected on /dev/sdb1'
[Dry-Run] $ blkid /dev/sdb2 | grep -q 'TYPE="swap"' || echo 'WARN: swap not found on /dev/sdb2'
[Dry-Run] $ blkid /dev/sdb3 | grep -q 'TYPE="btrfs"' || echo 'WARN: btrfs not found on /dev/sdb3'
[Dry-Run] $ mountpoint -q /mnt || echo 'ERROR: /mnt is not mounted'
[Dry-Run] $ mountpoint -q /mnt/boot || echo 'ERROR: /mnt/boot is not mounted'
[Dry-Run] $ swapon --noheadings --raw | grep -q '^' || echo 'ERROR: swap not active'
[Dry-Run] $ genfstab -U /mnt >> /mnt/etc/fstab
::section_done::fstab and checks
::section_start::System configuration
=== System configuration ===
[Dry-Run] $ arch-chroot /mnt bash -lc 'ln -sf /usr/share/zoneinfo/Europe/Zurich /etc/localtime'
[Dry-Run] $ arch-chroot /mnt bash -lc 'hwclock --systohc'
[Dry-Run] $ arch-chroot /mnt bash -lc 'sed -i '\''s/^#\s*de_CH.UTF-8 UTF-8/de_CH.UTF-8 UTF-8/'\'' /etc/locale.gen'
[Dry-Run] $ arch-chroot /mnt bash -lc 'grep -q '\''^de_CH.UTF-8 UTF-8$'\'' /etc/locale.gen || echo '\''de_CH.UTF-8 UTF-8'\'' >> /etc/locale.gen'
[Dry-Run] $ arch-chroot /mnt bash -lc 'locale-gen'
[Dry-Run] $ arch-chroot /mnt bash -lc 'printf '\''LANG=%s\n'\'' '\''de_CH.UTF-8'\'' > /etc/locale.conf'
[Dry-Run] $ arch-chroot /mnt bash -lc 'printf '\''KEYMAP=%s\n'\'' '\''de_CH-latin1'\'' > /etc/vconsole.conf'
[Dry-Run] $ arch-chroot /mnt bash -lc 'printf '\''%s\n'\'' '\''Archlinux'\'' > /etc/hostname'
[Dry-Run] $ arch-chroot /mnt bash -lc 'printf '\''%s\n%s\n%s\n'\'' '\''127.0.0.1 localhost'\'' '\''::1 localhost'\'' '\''127.0.1.1 Archlinux.localdomain Archlinux'\'' > /etc/hosts'
[Dry-Run] $ systemctl --root=/mnt enable NetworkManager
[Dry-Run] $ systemctl --root=/mnt enable systemd-timesyncd
[Dry-Run] $ arch-chroot /mnt bash -lc 'echo "root:<REDACTED>" | chpasswd'
::section_done::System configuration
::section_start::Network configuration
=== Network configuration ===
[Dry-Run] $ systemctl --root=/mnt enable NetworkManager
[Dry-Run] $ echo 'NetworkManager will manage connections after first boot.'
[Dry-Run] $ arch-chroot /mnt bash -lc 'getent hosts archlinux.org >/dev/null 2>&1 && echo '\''Network check (target): archlinux.org OK'\'' || echo '\''WARN: Network check (target): archlinux.org FAILED (may be expected before first boot)'\'''
::section_done::Network configuration
::section_start::Bootloader setup
=== Bootloader setup ===
[Dry-Run] $ arch-chroot /mnt bash -lc 'grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB'
[Dry-Run] $ arch-chroot /mnt bash -lc 'grub-mkconfig -o /boot/grub/grub.cfg'
::section_done::Bootloader setup
::section_start::User setup
=== User setup ===
[Dry-Run] $ arch-chroot /mnt bash -lc 'id -u first >/dev/null 2>&1 || useradd -m -s /bin/bash -G wheel first'
[Dry-Run] $ arch-chroot /mnt bash -lc 'echo "first:<REDACTED>" | chpasswd'
[Dry-Run] $ arch-chroot /mnt bash -lc 'sed -i '\''s/^#\s*%wheel ALL=(ALL:ALL) ALL/%wheel ALL=(ALL:ALL) ALL/'\'' /etc/sudoers'
[Dry-Run] $ arch-chroot /mnt bash -lc 'sed -i '\''s/^#\s*%sudo ALL=(ALL:ALL) ALL/%sudo ALL=(ALL:ALL) ALL/'\'' /etc/sudoers'
[Dry-Run] $ systemctl --root=/mnt enable sddm
::section_done::User setup
Dry-run completed.