Debian 11 Support
Modifying the script to support Debian 11 and then attempting to install Arch results in the following error with the system left in a broken state.
blk_update_request: I/O error, dev loop3, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 0 prio class
blockdev: /dev/vda: Device or resource busy
The overall installation process ran smoothly so I don't think it would require much to get working. This was tested on the most basic droplet with an Ubuntu 21.10 image. While you can install an older image that works, I think it would be good to support Debian 11 now that there is quite a few images based on it.
Just in case, Ubuntu uses completely different partitioning layout, so don't even try. Debian 10 support is there, it's just not documented => https://github.com/gh2o/digitalocean-debian-to-arch/commit/96f8e450bc0165bc5ec8b34d9d68067e05930923#diff-043df5bdbf6639d7a77e1d44c5226fd7371e5259a1e4df3a0dd5d64c30dca44fR261
debian 11 errors though:
root@master:~# bash install.sh
[Tue Feb 14 20:04:04 UTC 2023] Configuration:
[Tue Feb 14 20:04:04 UTC 2023] - archlinux_mirror = http://mirrors.kernel.org/archlinux
[Tue Feb 14 20:04:04 UTC 2023] - extra_packages =
[Tue Feb 14 20:04:04 UTC 2023] - grub_timeout = 5
[Tue Feb 14 20:04:04 UTC 2023] - kernel_package = linux
[Tue Feb 14 20:04:04 UTC 2023] - mkfs_options =
[Tue Feb 14 20:04:04 UTC 2023] - target_architecture = x86_64
[Tue Feb 14 20:04:04 UTC 2023] - target_disklabel = gpt
[Tue Feb 14 20:04:04 UTC 2023] - target_filesystem = ext4
[Tue Feb 14 20:04:04 UTC 2023] *** ALL DATA ON THIS DROPLET WILL BE WIPED. ***
[Tue Feb 14 20:04:04 UTC 2023] Please backup all important data on this droplet before continuing.
[Tue Feb 14 20:04:04 UTC 2023] Type "wipe this droplet" to continue or anything else to cancel.
> wipe
[Tue Feb 14 20:04:08 UTC 2023] Cancelled.
root@master:~# bash install.sh
[Tue Feb 14 20:04:11 UTC 2023] Configuration:
[Tue Feb 14 20:04:11 UTC 2023] - archlinux_mirror = http://mirrors.kernel.org/archlinux
[Tue Feb 14 20:04:11 UTC 2023] - extra_packages =
[Tue Feb 14 20:04:11 UTC 2023] - grub_timeout = 5
[Tue Feb 14 20:04:11 UTC 2023] - kernel_package = linux
[Tue Feb 14 20:04:11 UTC 2023] - mkfs_options =
[Tue Feb 14 20:04:11 UTC 2023] - target_architecture = x86_64
[Tue Feb 14 20:04:11 UTC 2023] - target_disklabel = gpt
[Tue Feb 14 20:04:11 UTC 2023] - target_filesystem = ext4
[Tue Feb 14 20:04:11 UTC 2023] *** ALL DATA ON THIS DROPLET WILL BE WIPED. ***
[Tue Feb 14 20:04:11 UTC 2023] Please backup all important data on this droplet before continuing.
[Tue Feb 14 20:04:11 UTC 2023] Type "wipe this droplet" to continue or anything else to cancel.
> wipe this droplet
[Tue Feb 14 20:04:15 UTC 2023] Installing required packages ...
Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB]
Get:2 http://security.debian.org/debian-security bullseye-security InRelease [48.4 kB]
Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
Get:4 http://deb.debian.org/debian bullseye-backports InRelease [49.0 kB]
Hit:5 https://repos-droplet.digitalocean.com/apt/droplet-agent main InRelease
Get:6 http://security.debian.org/debian-security bullseye-security/main Sources [185 kB]
Get:7 http://security.debian.org/debian-security bullseye-security/main amd64 Packages [226 kB]
Get:8 http://security.debian.org/debian-security bullseye-security/main Translation-en [147 kB]
Get:9 http://deb.debian.org/debian bullseye/main Sources [8634 kB]
Get:10 http://deb.debian.org/debian bullseye/main amd64 Packages [8183 kB]
Get:11 http://deb.debian.org/debian bullseye/main Translation-en [6240 kB]
Get:12 http://deb.debian.org/debian bullseye-updates/main Sources.diff/Index [15.1 kB]
Get:13 http://deb.debian.org/debian bullseye-updates/main amd64 Packages.diff/Index [15.1 kB]
Ign:13 http://deb.debian.org/debian bullseye-updates/main amd64 Packages.diff/Index
Get:14 http://deb.debian.org/debian bullseye-updates/main Translation-en.diff/Index [6117 B]
Get:15 http://deb.debian.org/debian bullseye-updates/main Sources T-2022-10-31-2015.41-F-2022-05-28-1407.13.pdiff [4199 B]
Get:16 http://deb.debian.org/debian bullseye-updates/main Translation-en T-2022-10-21-2017.32-F-2022-09-22-1635.40.pdiff [6025 B]
Get:15 http://deb.debian.org/debian bullseye-updates/main Sources T-2022-10-31-2015.41-F-2022-05-28-1407.13.pdiff [4199 B]
Get:17 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [14.6 kB]
Get:16 http://deb.debian.org/debian bullseye-updates/main Translation-en T-2022-10-21-2017.32-F-2022-09-22-1635.40.pdiff [6025 B]
Get:18 http://deb.debian.org/debian bullseye-backports/main Sources.diff/Index [63.3 kB]
Ign:18 http://deb.debian.org/debian bullseye-backports/main Sources.diff/Index
Get:19 http://deb.debian.org/debian bullseye-backports/main amd64 Packages.diff/Index [63.3 kB]
Ign:19 http://deb.debian.org/debian bullseye-backports/main amd64 Packages.diff/Index
Get:20 http://deb.debian.org/debian bullseye-backports/main Translation-en.diff/Index [63.3 kB]
Ign:20 http://deb.debian.org/debian bullseye-backports/main Translation-en.diff/Index
Get:21 http://deb.debian.org/debian bullseye-backports/main Sources [399 kB]
Get:22 http://deb.debian.org/debian bullseye-backports/main amd64 Packages [394 kB]
Get:23 http://deb.debian.org/debian bullseye-backports/main Translation-en [329 kB]
Fetched 25.2 MB in 4s (5710 kB/s)
Reading package lists... Done
N: Repository 'http://deb.debian.org/debian bullseye InRelease' changed its 'Version' value from '11.3' to '11.6'
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
psmisc is already the newest version (23.4-2).
The following additional packages will be installed:
dmidecode libhavege2 libparted2
Suggested packages:
libparted-dev libparted-i18n parted-doc
The following NEW packages will be installed:
busybox dmidecode haveged libhavege2 libparted2 parted
0 upgraded, 6 newly installed, 0 to remove and 80 not upgraded.
1 not fully installed or removed.
Need to get 1119 kB of archives.
After this operation, 2151 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bullseye/main amd64 libhavege2 amd64 1.9.14-1 [27.1 kB]
Get:2 http://deb.debian.org/debian bullseye/main amd64 haveged amd64 1.9.14-1 [39.6 kB]
Get:3 http://deb.debian.org/debian bullseye/main amd64 dmidecode amd64 3.3-2 [64.7 kB]
Get:4 http://deb.debian.org/debian bullseye/main amd64 busybox amd64 1:1.30.1-6+b3 [435 kB]
Get:5 http://deb.debian.org/debian bullseye/main amd64 libparted2 amd64 3.4-1 [335 kB]
Get:6 http://deb.debian.org/debian bullseye/main amd64 parted amd64 3.4-1 [219 kB]
Fetched 1119 kB in 0s (30.5 MB/s)
Selecting previously unselected package libhavege2:amd64.
(Reading database ... 25056 files and directories currently installed.)
Preparing to unpack .../0-libhavege2_1.9.14-1_amd64.deb ...
Unpacking libhavege2:amd64 (1.9.14-1) ...
Selecting previously unselected package haveged.
Preparing to unpack .../1-haveged_1.9.14-1_amd64.deb ...
Unpacking haveged (1.9.14-1) ...
Selecting previously unselected package dmidecode.
Preparing to unpack .../2-dmidecode_3.3-2_amd64.deb ...
Unpacking dmidecode (3.3-2) ...
Selecting previously unselected package busybox.
Preparing to unpack .../3-busybox_1%3a1.30.1-6+b3_amd64.deb ...
Unpacking busybox (1:1.30.1-6+b3) ...
Selecting previously unselected package libparted2:amd64.
Preparing to unpack .../4-libparted2_3.4-1_amd64.deb ...
Unpacking libparted2:amd64 (3.4-1) ...
Selecting previously unselected package parted.
Preparing to unpack .../5-parted_3.4-1_amd64.deb ...
Unpacking parted (3.4-1) ...
Setting up droplet-agent (1.2.4) ...
enable systemd service
Setting up libhavege2:amd64 (1.9.14-1) ...
Setting up busybox (1:1.30.1-6+b3) ...
Setting up dmidecode (3.3-2) ...
Setting up haveged (1.9.14-1) ...
Created symlink /etc/systemd/system/sysinit.target.wants/haveged.service → /lib/systemd/system/haveged.service.
Setting up libparted2:amd64 (3.4-1) ...
Setting up parted (3.4-1) ...
Processing triggers for initramfs-tools (0.140) ...
update-initramfs: Generating /boot/initrd.img-5.10.0-11-amd64
Processing triggers for libc-bin (2.31-13+deb11u2) ...
Processing triggers for man-db (2.9.4-2) ...
[Tue Feb 14 20:04:36 UTC 2023] Partitioning image ...
[Tue Feb 14 20:04:36 UTC 2023] Formatting image ...
mke2fs 1.46.2 (28-Feb-2021)
Discarding device blocks: done
Creating filesystem with 6144 1k blocks and 1536 inodes
Allocating group tables: done
Writing inode tables: done
Creating journal (1024 blocks): done
Writing superblocks and filesystem accounting information: done
mke2fs 1.46.2 (28-Feb-2021)
Discarding device blocks: done
Creating filesystem with 2619136 4k blocks and 655360 inodes
Filesystem UUID: 94de2bb8-cbbb-4d74-aba8-0a3680f8d90c
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632
Allocating group tables: done
Writing inode tables: done
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: done
[Tue Feb 14 20:04:41 UTC 2023] Mounting image ...
[Tue Feb 14 20:04:41 UTC 2023] Setting up DOROOT ...
[Tue Feb 14 20:04:41 UTC 2023] Downloading bootstrap tarball ...
--2023-02-14 20:04:42-- http://mirrors.kernel.org/archlinux/iso/latest/archlinux-bootstrap-2023.02.01-x86_64.tar.gz
Resolving mirrors.kernel.org (mirrors.kernel.org)... 139.178.88.99, 2604:1380:45e3:2400::1
Connecting to mirrors.kernel.org (mirrors.kernel.org)|139.178.88.99|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://mirrors.edge.kernel.org/archlinux/iso/latest/archlinux-bootstrap-2023.02.01-x86_64.tar.gz [following]
--2023-02-14 20:04:42-- http://mirrors.edge.kernel.org/archlinux/iso/latest/archlinux-bootstrap-2023.02.01-x86_64.tar.gz
Resolving mirrors.edge.kernel.org (mirrors.edge.kernel.org)... 147.75.199.223, 2604:1380:45d1:ec00::1
Connecting to mirrors.edge.kernel.org (mirrors.edge.kernel.org)|147.75.199.223|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 181986855 (174M) [application/x-gzip]
Saving to: '/d2a/bootstrap.tar.gz'
/d2a/bootstrap.tar.gz 100%[=========================================================================================================================================>] 173.56M 205MB/s in 0.8s
2023-02-14 20:04:43 (205 MB/s) - '/d2a/bootstrap.tar.gz' saved [181986855/181986855]
[Tue Feb 14 20:04:44 UTC 2023] Extracting bootstrap tarball ...
tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.security.capability'
tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.security.capability'
[Tue Feb 14 20:04:50 UTC 2023] Mounting virtual filesystems ...
[Tue Feb 14 20:04:50 UTC 2023] Binding packages directory ...
[Tue Feb 14 20:04:50 UTC 2023] Preparing bootstrap filesystem ...
[Tue Feb 14 20:04:50 UTC 2023] Installing base system ...
gpg: /etc/pacman.d/gnupg/trustdb.gpg: trustdb created
gpg: no ultimately trusted keys found
gpg: starting migration from earlier GnuPG versions
gpg: porting secret keys from '/etc/pacman.d/gnupg/secring.gpg' to gpg-agent
gpg: migration succeeded
==> Generating pacman master key. This may take some time.
gpg: Generating pacman keyring master key...
gpg: directory '/etc/pacman.d/gnupg/openpgp-revocs.d' created
gpg: revocation certificate stored as '/etc/pacman.d/gnupg/openpgp-revocs.d/36532A8D7523F45615D5E324FAD871F1E941CDD9.rev'
gpg: Done
==> Updating trust database...
gpg: marginals needed: 3 completes needed: 1 trust model: pgp
gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u
==> Appending keys from archlinux.gpg...
==> Locally signing trusted keys in keyring...
-> Locally signed 5 keys.
==> Importing owner trust values...
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: inserting ownertrust of 4
gpg: setting ownertrust to 4
==> Disabling revoked keys in keyring...
-> Disabled 34 keys.
==> Updating trust database...
gpg: marginals needed: 3 completes needed: 1 trust model: pgp
gpg: depth: 0 valid: 1 signed: 5 trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: depth: 1 valid: 5 signed: 94 trust: 0-, 0q, 0n, 5m, 0f, 0u
gpg: depth: 2 valid: 71 signed: 27 trust: 71-, 0q, 0n, 0m, 0f, 0u
gpg: next trustdb check due at 2023-04-21
:: Synchronizing package databases...
core 153.8 KiB 916 KiB/s 00:00 [########################################################################################] 100%
extra 1737.6 KiB 18.4 MiB/s 00:00 [########################################################################################] 100%
community 7.2 MiB 86.2 MiB/s 00:00 [########################################################################################] 100%
warning: base-3-1 is up to date -- skipping
:: Starting full system upgrade...
resolving dependencies...
:: There are 3 providers available for initramfs:
:: Repository core
1) mkinitcpio
:: Repository extra
2) booster 3) dracut
Enter a number (default=1):
looking for conflicting packages...
Packages (38) acl-2.3.1-3 bash-5.1.016-3 binutils-2.40-4 ca-certificates-mozilla-3.88.1-1 cryptsetup-2.6.1-1 dbus-1.14.6-1 diffutils-3.9-1 dnssec-anchors-20190629-3 e2fsprogs-1.47.0-1 file-5.44-2 filesystem-2023.01.31-1
gcc-libs-12.2.1-2 glibc-2.37-2 gnutls-3.7.9-1 grep-3.8-3 gzip-1.12-2 hwdata-0.367-1 iana-etc-20230105-1 iproute2-6.1.0-5 jansson-2.14-2 ldns-1.8.3-2 less-1:608-2 libcap-2.67-1 libedit-20210910_3.1-2
libelf-0.188-3 libnghttp2-1.52.0-1 libnl-3.7.0-3 libsysprof-capture-3.46.0-4 linux-api-headers-6.1.9-1 mkinitcpio-34-2 mkinitcpio-busybox-1.35.0-1 mpfr-4.2.0-3 openssl-3.0.8-1 sed-4.9-2 fakeroot-1.31-2
grub-2:2.06.r456.g65bc45963-1 linux-6.1.11.arch1-1 openssh-9.2p1-1
Total Download Size: 243.60 MiB
Total Installed Size: 505.74 MiB
Net Upgrade Size: 248.80 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
linux-6.1.11.arch1-1-x86_64 163.9 MiB 50.9 MiB/s 00:03 [########################################################################################] 100%
gcc-libs-12.2.1-2-x86_64 33.9 MiB 93.1 MiB/s 00:00 [########################################################################################] 100%
glibc-2.37-2-x86_64 9.9 MiB 98.8 MiB/s 00:00 [########################################################################################] 100%
binutils-2.40-4-x86_64 7.6 MiB 86.8 MiB/s 00:00 [########################################################################################] 100%
grub-2:2.06.r456.g65bc45963-1-x86_64 6.8 MiB 71.2 MiB/s 00:00 [########################################################################################] 100%
openssl-3.0.8-1-x86_64 5.1 MiB 60.7 MiB/s 00:00 [########################################################################################] 100%
gnutls-3.7.9-1-x86_64 2.8 MiB 35.2 MiB/s 00:00 [########################################################################################] 100%
bash-5.1.016-3-x86_64 1718.6 KiB 22.1 MiB/s 00:00 [########################################################################################] 100%
hwdata-0.367-1-any 1569.2 KiB 20.2 MiB/s 00:00 [########################################################################################] 100%
e2fsprogs-1.47.0-1-x86_64 1225.9 KiB 15.0 MiB/s 00:00 [########################################################################################] 100%
linux-api-headers-6.1.9-1-any 1225.1 KiB 15.7 MiB/s 00:00 [########################################################################################] 100%
openssh-9.2p1-1-x86_64 1124.6 KiB 13.7 MiB/s 00:00 [########################################################################################] 100%
iproute2-6.1.0-5-x86_64 1112.6 KiB 14.3 MiB/s 00:00 [########################################################################################] 100%
cryptsetup-2.6.1-1-x86_64 711.1 KiB 9.14 MiB/s 00:00 [########################################################################################] 100%
libelf-0.188-3-x86_64 549.6 KiB 7.06 MiB/s 00:00 [########################################################################################] 100%
ldns-1.8.3-2-x86_64 472.9 KiB 5.77 MiB/s 00:00 [########################################################################################] 100%
mpfr-4.2.0-3-x86_64 427.3 KiB 5.49 MiB/s 00:00 [########################################################################################] 100%
libnl-3.7.0-3-x86_64 409.3 KiB 5.26 MiB/s 00:00 [########################################################################################] 100%
iana-etc-20230105-1-any 395.2 KiB 5.08 MiB/s 00:00 [########################################################################################] 100%
file-5.44-2-x86_64 385.0 KiB 4.95 MiB/s 00:00 [########################################################################################] 100%
ca-certificates-mozilla-3.88.1-1-x86_64 354.3 KiB 4.55 MiB/s 00:00 [########################################################################################] 100%
diffutils-3.9-1-x86_64 344.3 KiB 4.42 MiB/s 00:00 [########################################################################################] 100%
dbus-1.14.6-1-x86_64 305.1 KiB 681 KiB/s 00:00 [########################################################################################] 100%
mkinitcpio-busybox-1.35.0-1-x86_64 275.0 KiB 2.31 MiB/s 00:00 [########################################################################################] 100%
grep-3.8-3-x86_64 230.0 KiB 2.81 MiB/s 00:00 [########################################################################################] 100%
sed-4.9-2-x86_64 210.7 KiB 2.71 MiB/s 00:00 [########################################################################################] 100%
acl-2.3.1-3-x86_64 136.2 KiB 1792 KiB/s 00:00 [########################################################################################] 100%
less-1:608-2-x86_64 121.7 KiB 1601 KiB/s 00:00 [########################################################################################] 100%
libedit-20210910_3.1-2-x86_64 110.8 KiB 286 KiB/s 00:00 [########################################################################################] 100%
libnghttp2-1.52.0-1-x86_64 95.2 KiB 1253 KiB/s 00:00 [########################################################################################] 100%
libcap-2.67-1-x86_64 85.0 KiB 1063 KiB/s 00:00 [########################################################################################] 100%
gzip-1.12-2-x86_64 81.1 KiB 422 KiB/s 00:00 [########################################################################################] 100%
fakeroot-1.31-2-x86_64 69.7 KiB 917 KiB/s 00:00 [########################################################################################] 100%
jansson-2.14-2-x86_64 51.7 KiB 172 KiB/s 00:00 [########################################################################################] 100%
mkinitcpio-34-2-any 47.4 KiB 494 KiB/s 00:00 [########################################################################################] 100%
libsysprof-capture-3.46.0-4-x86_64 45.4 KiB 568 KiB/s 00:00 [########################################################################################] 100%
filesystem-2023.01.31-1-x86_64 14.7 KiB 193 KiB/s 00:00 [########################################################################################] 100%
dnssec-anchors-20190629-3-any 3.0 KiB 39.4 KiB/s 00:00 [########################################################################################] 100%
Total (38/38) 243.6 MiB 32.4 MiB/s 00:08 [########################################################################################] 100%
(38/38) checking keys in keyring [########################################################################################] 100%
(38/38) checking package integrity [########################################################################################] 100%
(38/38) loading package files [########################################################################################] 100%
(38/38) checking for file conflicts [########################################################################################] 100%
(38/38) checking available disk space [########################################################################################] 100%
:: Processing package changes...
( 1/38) upgrading linux-api-headers [########################################################################################] 100%
( 2/38) upgrading iana-etc [########################################################################################] 100%
( 3/38) upgrading filesystem [########################################################################################] 100%
( 4/38) upgrading glibc [########################################################################################] 100%
Generating locales...
Generation complete.
( 5/38) upgrading acl [########################################################################################] 100%
( 6/38) upgrading sed [########################################################################################] 100%
( 7/38) upgrading gcc-libs [########################################################################################] 100%
( 8/38) upgrading bash [########################################################################################] 100%
( 9/38) upgrading file [########################################################################################] 100%
(10/38) upgrading e2fsprogs [########################################################################################] 100%
(11/38) upgrading openssl [########################################################################################] 100%
(12/38) upgrading libcap [########################################################################################] 100%
(13/38) installing fakeroot [########################################################################################] 100%
(14/38) installing grub [########################################################################################] 100%
:: Install your bootloader and generate configuration with:
$ grub-install ...
$ grub-mkconfig -o /boot/grub/grub.cfg
Optional dependencies for grub
freetype2: For grub-mkfont usage
fuse2: For grub-mount usage
dosfstools: For grub-mkrescue FAT FS and EFI support
lzop: For grub-mkrescue LZO support
efibootmgr: For grub-install EFI support
libisoburn: Provides xorriso for generating grub rescue iso using grub-mkrescue
os-prober: To detect other OSes when generating grub.cfg in BIOS systems
mtools: For grub-mkrescue FAT FS support
(15/38) installing dnssec-anchors [########################################################################################] 100%
(16/38) installing ldns [########################################################################################] 100%
Optional dependencies for ldns
libpcap: ldns-dpa tool [installed]
(17/38) installing libedit [########################################################################################] 100%
(18/38) installing openssh [########################################################################################] 100%
Optional dependencies for openssh
libfido2: FIDO/U2F support
x11-ssh-askpass: input passphrase in X
xorg-xauth: X11 forwarding
(19/38) installing mkinitcpio-busybox [########################################################################################] 100%
(20/38) installing jansson [########################################################################################] 100%
(21/38) upgrading libnghttp2 [########################################################################################] 100%
(22/38) upgrading ca-certificates-mozilla [########################################################################################] 100%
(23/38) upgrading libelf [########################################################################################] 100%
(24/38) installing binutils [########################################################################################] 100%
Optional dependencies for binutils
debuginfod: for debuginfod server/client functionality
(25/38) installing diffutils [########################################################################################] 100%
(26/38) upgrading grep [########################################################################################] 100%
(27/38) upgrading mpfr [########################################################################################] 100%
(28/38) upgrading cryptsetup [########################################################################################] 100%
(29/38) upgrading dbus [########################################################################################] 100%
(30/38) upgrading hwdata [########################################################################################] 100%
(31/38) upgrading libnl [########################################################################################] 100%
(32/38) installing mkinitcpio [########################################################################################] 100%
Optional dependencies for mkinitcpio
gzip: Use gzip compression for the initramfs image [installed]
xz: Use lzma or xz compression for the initramfs image [installed]
bzip2: Use bzip2 compression for the initramfs image [installed]
lzop: Use lzo compression for the initramfs image
lz4: Use lz4 compression for the initramfs image [installed]
mkinitcpio-nfs-utils: Support for root filesystem on NFS
(33/38) installing linux [########################################################################################] 100%
Optional dependencies for linux
wireless-regdb: to set the correct wireless channels of your country
linux-firmware: firmware images needed for some devices
(34/38) upgrading gnutls [########################################################################################] 100%
(35/38) upgrading less [########################################################################################] 100%
(36/38) upgrading gzip [########################################################################################] 100%
(37/38) upgrading iproute2 [########################################################################################] 100%
(38/38) upgrading libsysprof-capture [########################################################################################] 100%
:: Running post-transaction hooks...
(1/9) Creating system user accounts...
(2/9) Reloading system manager configuration...
Skipped: Running in chroot.
(3/9) Applying kernel sysctl settings...
Skipped: Running in chroot.
(4/9) Creating temporary files...
/usr/lib/tmpfiles.d/journal-nocow.conf:26: Failed to replace specifiers in '/var/log/journal/%m': Package not installed
/usr/lib/tmpfiles.d/systemd.conf:23: Failed to replace specifiers in '/run/log/journal/%m': Package not installed
/usr/lib/tmpfiles.d/systemd.conf:25: Failed to replace specifiers in '/run/log/journal/%m': Package not installed
/usr/lib/tmpfiles.d/systemd.conf:26: Failed to replace specifiers in '/run/log/journal/%m/*.journal*': Package not installed
/usr/lib/tmpfiles.d/systemd.conf:29: Failed to replace specifiers in '/var/log/journal/%m': Package not installed
/usr/lib/tmpfiles.d/systemd.conf:30: Failed to replace specifiers in '/var/log/journal/%m/system.journal': Package not installed
/usr/lib/tmpfiles.d/systemd.conf:32: Failed to replace specifiers in '/var/log/journal/%m': Package not installed
/usr/lib/tmpfiles.d/systemd.conf:33: Failed to replace specifiers in '/var/log/journal/%m/system.journal': Package not installed
(5/9) Reloading device manager configuration...
Skipped: Running in chroot.
(6/9) Arming ConditionNeedsUpdate...
(7/9) Rebuilding certificate stores...
(8/9) Updating module dependencies...
(9/9) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 6.1.11-arch1-1
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [kms]
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 6.1.11-arch1-1
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: nouveau
==> WARNING: Possibly missing firmware for module: radeon
==> WARNING: Possibly missing firmware for module: amdgpu
==> WARNING: Possibly missing firmware for module: ast
==> WARNING: Possibly missing firmware for module: i915
-> Running build hook: [keyboard]
==> WARNING: Possibly missing firmware for module: xhci_pci
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: qla2xxx
==> WARNING: Possibly missing firmware for module: qed
==> WARNING: Possibly missing firmware for module: bfa
==> WARNING: Possibly missing firmware for module: isci
==> WARNING: Possibly missing firmware for module: cxgb4
==> WARNING: Possibly missing firmware for module: csiostor
==> WARNING: Possibly missing firmware for module: qla1280
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: cxgb3
==> WARNING: Possibly missing firmware for module: advansys
==> WARNING: Possibly missing firmware for module: wd719x
==> WARNING: Possibly missing firmware for module: ums_eneub6250
-> Running build hook: [filesystems]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-fallback.img
==> Image generation successful
[Tue Feb 14 20:05:37 UTC 2023] Configuring base system ...
Created symlink /etc/systemd/system/dbus-org.freedesktop.network1.service → /usr/lib/systemd/system/systemd-networkd.service.
Created symlink /etc/systemd/system/multi-user.target.wants/systemd-networkd.service → /usr/lib/systemd/system/systemd-networkd.service.
Created symlink /etc/systemd/system/sockets.target.wants/systemd-networkd.socket → /usr/lib/systemd/system/systemd-networkd.socket.
Created symlink /etc/systemd/system/sysinit.target.wants/systemd-network-generator.service → /usr/lib/systemd/system/systemd-network-generator.service.
Created symlink /etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service → /usr/lib/systemd/system/systemd-networkd-wait-online.service.
Created symlink /etc/systemd/system/multi-user.target.wants/sshd.service → /usr/lib/systemd/system/sshd.service.
[Tue Feb 14 20:05:37 UTC 2023] Forcing fallback kernel ...
[Tue Feb 14 20:05:37 UTC 2023] Installing digitalocean-synchronize ...
==> WARNING: Cannot find the sudo binary. Will use su to acquire root privileges.
==> Making package: digitalocean-synchronize 2.7-1 (Tue Feb 14 20:05:38 2023)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found digitalocean-synchronize.sh
-> Found digitalocean-synchronize.service
-> Found 90-dosync-virtio-no-rename.link
==> Validating source files with sha256sums...
digitalocean-synchronize.sh ... Passed
digitalocean-synchronize.service ... Passed
90-dosync-virtio-no-rename.link ... Passed
==> Extracting sources...
==> Entering fakeroot environment...
==> WARNING: Cannot find the sudo binary. Will use su to acquire root privileges.
==> Starting package()...
==> Tidying install...
-> Removing libtool files...
-> Purging unwanted files...
-> Removing static library files...
-> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "digitalocean-synchronize"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: digitalocean-synchronize 2.7-1 (Tue Feb 14 20:05:39 2023)
==> Installing package digitalocean-synchronize with pacman -U...
loading packages...
resolving dependencies...
looking for conflicting packages...
Packages (1) digitalocean-synchronize-2.7-1
Total Installed Size: 0.01 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [########################################################################################] 100%
(1/1) checking package integrity [########################################################################################] 100%
(1/1) loading package files [########################################################################################] 100%
(1/1) checking for file conflicts [########################################################################################] 100%
(1/1) checking available disk space [########################################################################################] 100%
:: Processing package changes...
(1/1) installing digitalocean-synchronize [########################################################################################] 100%
:: Running post-transaction hooks...
(1/2) Reloading system manager configuration...
Skipped: Running in chroot.
(2/2) Arming ConditionNeedsUpdate...
[Tue Feb 14 20:05:39 UTC 2023] Finishing up image generation ...
find: '/proc/5201/root': No such file or directory
[Tue Feb 14 20:05:39 UTC 2023] Creating block rearrangement plan ...
[Tue Feb 14 20:05:39 UTC 2023] The machine will now reboot.
[Tue Feb 14 20:05:39 UTC 2023] Check the console for errors if the machine is still unaccessible after a few minutes.
root@master:~# Connection to 137.184.100.69 closed by remote host.
Connection to 137.184.100.69 closed.
After this, /dev/vda2 can't be mounted, taken from recovery console
