You are not logged in.

#1 2020-12-13 13:18:12

TheHellSite
Member
Registered: 2020-11-13
Posts: 22

[SOLVED] 2020.12.01-5.9.11: stuck on grub bash after install

Hello guys,

I am currently setting up another proxmox vm using arch linux which will act as a server for my IOT devices.

But somehow the latest installer (2020.12.01-5.9.11) is causing me some troubles.

The last command in my install routine fails and after the installation I end up beeing stuck at the GRUB bash.

I followed this guide to do it via ssh and putty, so I can just copy and paste the commands from my own pre-built install guide (based on my needs).
https://wiki.archlinux.org/index.php/In … ux_via_SSH

I hope you can help me out here.

login as: root
root@192.168.0.37's password:
To install Arch Linux follow the installation guide:
https://wiki.archlinux.org/index.php/Installation_guide

For Wi-Fi, authenticate to the wireless network using the iwctl utility.
Ethernet and Wi-Fi connections using DHCP should work automatically.

After connecting to the internet, the installation guide can be accessed
via the convenience script Installation_guide.

Last login: Sun Dec 13 12:47:05 2020
root@archiso ~ # loadkeys de-latin1
root@archiso ~ # cfdisk /dev/sda



Syncing disks.
root@archiso ~ # mkfs.ext4 /dev/sda2 && mount /dev/sda2 /mnt
mke2fs 1.45.6 (20-Mar-2020)
Discarding device blocks: done
Creating filesystem with 3145211 4k blocks and 786432 inodes
Filesystem UUID: cc831b6c-2811-4c60-9948-8f0e5596c320
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208

Allocating group tables: done
Writing inode tables: done
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: done

root@archiso ~ # dd if=/dev/zero of=/mnt/swapfile bs=1M count=4096 status=progress
4195352576 bytes (4.2 GB, 3.9 GiB) copied, 25 s, 168 MB/s
4096+0 records in
4096+0 records out
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 25.5934 s, 168 MB/s
dd if=/dev/zero of=/mnt/swapfile bs=1M count=4096 status=progress  0.05s user 25.08s system 97% cpu 25.680 total
root@archiso ~ # chmod 600 /mnt/swapfile && mkswap /mnt/swapfile && swapon /mnt/swapfile
Setting up swapspace version 1, size = 4 GiB (4294963200 bytes)
no label, UUID=7d06df1f-6483-4e80-8a65-783c306f9731
root@archiso ~ # ping -c 3 google.com
PING google.com (172.217.18.110) 56(84) bytes of data.
64 bytes from fra16s42-in-f14.1e100.net (172.217.18.110): icmp_seq=1 ttl=119 time=13.7 ms
64 bytes from zrh04s05-in-f110.1e100.net (172.217.18.110): icmp_seq=2 ttl=119 time=13.3 ms
64 bytes from zrh04s05-in-f110.1e100.net (172.217.18.110): icmp_seq=3 ttl=119 time=13.5 ms

--- google.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 13.333/13.496/13.667/0.136 ms
root@archiso ~ # pacman -Syy
:: Synchronizing package databases...
 core                  133.0 KiB  3.02 MiB/s 00:00 [########################] 100%
 extra                1646.9 KiB  12.7 MiB/s 00:00 [########################] 100%
 community               5.2 MiB  12.7 MiB/s 00:00 [########################] 100%
root@archiso ~ # pacstrap /mnt base base-devel grub linux linux-firmware nano networkmanager openssh
==> Creating install root at /mnt
==> Installing packages to /mnt
:: Synchronizing package databases...
 core                  133.0 KiB  3.02 MiB/s 00:00 [########################] 100%
 extra                1646.9 KiB  12.7 MiB/s 00:00 [########################] 100%
 community               5.2 MiB  12.6 MiB/s 00:00 [########################] 100%
:: There are 24 members in group base-devel:
:: Repository core
   1) autoconf  2) automake  3) binutils  4) bison  5) fakeroot  6) file
   7) findutils  8) flex  9) gawk  10) gcc  11) gettext  12) grep  13) groff
   14) gzip  15) libtool  16) m4  17) make  18) pacman  19) patch  20) pkgconf
   21) sed  22) sudo  23) texinfo  24) which

Enter a selection (default=all):
resolving dependencies...
:: There are 2 providers available for initramfs:
:: Repository core
   1) mkinitcpio
:: Repository extra
   2) dracut

Enter a number (default=1):
looking for conflicting packages...

Packages (163) acl-2.2.53-3  archlinux-keyring-20201210-1  argon2-20190702-3
               attr-2.4.48-3  audit-2.8.5-9  bash-5.1.0-2  bluez-libs-5.55-1
               bzip2-1.0.8-4  ca-certificates-20181109-4
               ca-certificates-mozilla-3.59-1  ca-certificates-utils-20181109-4
               coreutils-8.32-1  cryptsetup-2.3.4-1  curl-7.74.0-1  db-5.3.28-5
               dbus-1.12.20-1  device-mapper-2.02.187-3  diffutils-3.7-3
               dnssec-anchors-20190629-3  e2fsprogs-1.45.6-3  elfutils-0.181-1
               expat-2.2.10-2  filesystem-2020.09.03-1  gc-8.0.4-4
               gcc-libs-10.2.0-4  gdbm-1.18.1-3  glib2-2.66.3-1  glibc-2.32-5
               gmp-6.2.0-1  gnupg-2.2.24-1  gnutls-3.7.0-1  gpgme-1.15.0-2
               gpm-1.20.7.r38.ge82d1a6-3  guile-2.2.6-2  hwids-20200813.1-1
               iana-etc-20201012-1  icu-67.1-1  iproute2-5.9.0-1
               iptables-1:1.8.6-1  iputils-20200821-1  jansson-2.13.1-1
               js78-78.5.0-2  json-c-0.15-1  kbd-2.3.0-2  keyutils-1.6.3-1
               kmod-27-2  krb5-1.18.2-1  ldns-1.7.1-2  less-563-1
               libarchive-3.5.0-1  libassuan-2.5.4-1  libcap-2.45-2
               libcap-ng-0.8.2-1  libcroco-0.6.13-2  libdaemon-0.14-5
               libedit-20191231_3.1-2  libelf-0.181-1  libffi-3.3-4
               libgcrypt-1.8.7-1  libgpg-error-1.39-1  libidn2-2.3.0-1
               libksba-1.4.0-2  libldap-2.4.56-1  libmicrohttpd-0.9.71-1
               libmm-glib-1.14.8-1  libmnl-1.0.4-3  libmpc-1.1.0-2  libndp-1.7-2
               libnetfilter_conntrack-1.0.8-1  libnewt-0.52.21-5
               libnfnetlink-1.0.1-4  libnftnl-1.1.8-1  libnghttp2-1.41.0-1
               libnl-3.5.0-2  libnm-1.26.4-1  libp11-kit-0.23.21-1
               libpcap-1.9.1-4  libpgm-5.3.128-1  libpsl-0.21.1-1
               libsasl-2.1.27-3  libseccomp-2.5.1-2  libsecret-0.20.4-1
               libsodium-1.0.18-2  libssh2-1.9.0-2  libtasn1-4.16.0-1
               libteam-1.31-2  libtirpc-1.3.1-1  libunistring-0.9.10-3
               libxcrypt-4.4.17-1  libxml2-2.9.10-7  licenses-20200427-1
               linux-api-headers-5.8-1  lz4-1:1.9.3-1  mkinitcpio-29-1
               mkinitcpio-busybox-1.31.1-2
               mobile-broadband-provider-info-20190618-2  mpfr-4.1.0-1
               ncurses-6.2-1  nettle-3.6-1  npth-1.6-2  nspr-4.29-1  nss-3.59-1
               openssl-1.1.1.h-1  p11-kit-0.23.21-1  pacman-mirrorlist-20201205-1
               pam-1.5.0-2  pambase-20200721.1-2  pciutils-3.7.0-1  pcre-8.44-1
               pcre2-10.35-1  perl-5.32.0-3  pinentry-1.1.0-5  polkit-0.118-1
               popt-1.18-1  procps-ng-3.3.16-2  psmisc-23.3-2  readline-8.1.0-2
               shadow-4.8.1-4  slang-2.3.2-2  sqlite-3.34.0-1  systemd-247.1-3
               systemd-libs-247.1-3  systemd-sysvcompat-247.1-3  tar-1.32-3
               tzdata-2020d-1  util-linux-2.36.1-4  util-linux-libs-2.36.1-4
               wpa_supplicant-2:2.9-7  xz-5.2.5-1  zeromq-4.3.3-2
               zlib-1:1.2.11-4  zstd-1.4.5-1  autoconf-2.69-7  automake-1.16.2-3
               base-2-2  binutils-2.35.1-1  bison-3.7.2-1  fakeroot-1.25.3-1
               file-5.39-1  findutils-4.7.0-2  flex-2.6.4-3  gawk-5.1.0-1
               gcc-10.2.0-4  gettext-0.21-1  grep-3.6-1  groff-1.22.4-3
               grub-2:2.04-8  gzip-1.10-3  libtool-2.4.6+42+gb88cebd5-14
               linux-5.9.13.arch1-1  linux-firmware-20201120.bc9cd0b-1
               m4-1.4.18-3  make-4.3-3  nano-5.4-1  networkmanager-1.26.4-1
               openssh-8.4p1-2  pacman-5.2.2-1  patch-2.7.6-8  pkgconf-1.7.3-1
               sed-4.8-1  sudo-1.9.4-2  texinfo-6.7-3  which-2.21-5

Total Download Size:    421.48 MiB
Total Installed Size:  1653.43 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages...
 iana-etc-2020101...   388.7 KiB  12.7 MiB/s 00:00 [########################] 100%
 filesystem-2020....    30.4 KiB  0.00   B/s 00:00 [########################] 100%
 linux-api-header...  1082.6 KiB  12.6 MiB/s 00:00 [########################] 100%
 tzdata-2020d-1-x...   384.8 KiB  12.5 MiB/s 00:00 [########################] 100%
 glibc-2.32-5-x86_64     9.8 MiB  12.3 MiB/s 00:01 [########################] 100%
 gcc-libs-10.2.0-...    31.5 MiB  12.6 MiB/s 00:02 [########################] 100%
 ncurses-6.2-1-x86_64 1141.2 KiB  13.0 MiB/s 00:00 [########################] 100%
 readline-8.1.0-2...   319.1 KiB  15.6 MiB/s 00:00 [########################] 100%
 bash-5.1.0-2-x86_64  1692.2 KiB  13.0 MiB/s 00:00 [########################] 100%
 attr-2.4.48-3-x86_64   69.0 KiB  9.62 MiB/s 00:00 [########################] 100%
 acl-2.2.53-3-x86_64   136.6 KiB  22.2 MiB/s 00:00 [########################] 100%
 gmp-6.2.0-1-x86_64    439.6 KiB  13.0 MiB/s 00:00 [########################] 100%
 util-linux-libs-...   414.2 KiB  13.5 MiB/s 00:00 [########################] 100%
 e2fsprogs-1.45.6...  1194.7 KiB  13.0 MiB/s 00:00 [########################] 100%
 gdbm-1.18.1-3-x86_64  160.4 KiB  15.7 MiB/s 00:00 [########################] 100%
 db-5.3.28-5-x86_64   1098.0 KiB  12.9 MiB/s 00:00 [########################] 100%
 libxcrypt-4.4.17...    89.7 KiB  14.6 MiB/s 00:00 [########################] 100%
 perl-5.32.0-3-x86_64   15.2 MiB  12.7 MiB/s 00:01 [########################] 100%
 openssl-1.1.1.h-...     3.6 MiB  12.8 MiB/s 00:00 [########################] 100%
 libsasl-2.1.27-3...   146.1 KiB  14.3 MiB/s 00:00 [########################] 100%
 libldap-2.4.56-1...   304.5 KiB  12.9 MiB/s 00:00 [########################] 100%
 keyutils-1.6.3-1...   102.1 KiB  33.2 MiB/s 00:00 [########################] 100%
 krb5-1.18.2-1-x86_64 1332.1 KiB  12.6 MiB/s 00:00 [########################] 100%
 libtirpc-1.3.1-1...   176.9 KiB  12.3 MiB/s 00:00 [########################] 100%
 pambase-20200721...     3.0 KiB  0.00   B/s 00:00 [########################] 100%
 libcap-ng-0.8.2-...    41.4 KiB  0.00   B/s 00:00 [########################] 100%
 audit-2.8.5-9-x86_64  362.3 KiB  13.6 MiB/s 00:00 [########################] 100%
 pam-1.5.0-2-x86_64    567.7 KiB  13.9 MiB/s 00:00 [########################] 100%
 libcap-2.45-2-x86_64   59.7 KiB  19.4 MiB/s 00:00 [########################] 100%
 coreutils-8.32-1...     2.7 MiB  13.0 MiB/s 00:00 [########################] 100%
 zlib-1:1.2.11-4-...    81.5 KiB  11.4 MiB/s 00:00 [########################] 100%
 xz-5.2.5-1-x86_64     300.9 KiB  14.7 MiB/s 00:00 [########################] 100%
 bzip2-1.0.8-4-x86_64   57.2 KiB  18.6 MiB/s 00:00 [########################] 100%
 libseccomp-2.5.1...    90.2 KiB  29.4 MiB/s 00:00 [########################] 100%
 file-5.39-1-x86_64    330.7 KiB  14.0 MiB/s 00:00 [########################] 100%
 findutils-4.7.0-...   454.6 KiB  13.5 MiB/s 00:00 [########################] 100%
 mpfr-4.1.0-1-x86_64  1485.7 KiB  12.7 MiB/s 00:00 [########################] 100%
 gawk-5.1.0-1-x86_64  1139.2 KiB  13.2 MiB/s 00:00 [########################] 100%
 pcre-8.44-1-x86_64    969.0 KiB  13.5 MiB/s 00:00 [########################] 100%
 grep-3.6-1-x86_64     211.9 KiB  14.8 MiB/s 00:00 [########################] 100%
 libgpg-error-1.3...   231.5 KiB  13.3 MiB/s 00:00 [########################] 100%
 libgcrypt-1.8.7-...   530.9 KiB  13.0 MiB/s 00:00 [########################] 100%
 lz4-1:1.9.3-1-x86_64  123.0 KiB  17.2 MiB/s 00:00 [########################] 100%
 zstd-1.4.5-1-x86_64   655.5 KiB  12.8 MiB/s 00:00 [########################] 100%
 systemd-libs-247...   500.2 KiB  13.2 MiB/s 00:00 [########################] 100%
 procps-ng-3.3.16...   374.0 KiB  14.0 MiB/s 00:00 [########################] 100%
 sed-4.8-1-x86_64      237.9 KiB  13.7 MiB/s 00:00 [########################] 100%
 tar-1.32-3-x86_64     742.3 KiB  13.4 MiB/s 00:00 [########################] 100%
 libffi-3.3-4-x86_64    44.0 KiB  0.00   B/s 00:00 [########################] 100%
 glib2-2.66.3-1-x...     2.8 MiB  12.8 MiB/s 00:00 [########################] 100%
 libunistring-0.9...   634.1 KiB  13.5 MiB/s 00:00 [########################] 100%
 icu-67.1-1-x86_64      10.4 MiB  12.6 MiB/s 00:01 [########################] 100%
 gettext-0.21-1-x...     2.1 MiB  12.9 MiB/s 00:00 [########################] 100%
 hwids-20200813.1...   455.7 KiB  13.1 MiB/s 00:00 [########################] 100%
 kmod-27-2-x86_64      104.6 KiB  14.6 MiB/s 00:00 [########################] 100%
 pciutils-3.7.0-1...    99.6 KiB  32.4 MiB/s 00:00 [########################] 100%
 psmisc-23.3-2-x86_64  110.1 KiB  10.8 MiB/s 00:00 [########################] 100%
 shadow-4.8.1-4-x...  1194.2 KiB  13.0 MiB/s 00:00 [########################] 100%
 util-linux-2.36....     2.5 MiB  12.7 MiB/s 00:00 [########################] 100%
 less-563-1-x86_64     109.7 KiB  35.7 MiB/s 00:00 [########################] 100%
 gzip-1.10-3-x86_64     77.8 KiB  25.3 MiB/s 00:00 [########################] 100%
 licenses-2020042...    69.6 KiB  22.7 MiB/s 00:00 [########################] 100%
 expat-2.2.10-2-x...   107.8 KiB  17.5 MiB/s 00:00 [########################] 100%
 libarchive-3.5.0...   507.3 KiB  13.4 MiB/s 00:00 [########################] 100%
 libtasn1-4.16.0-...   121.3 KiB  11.8 MiB/s 00:00 [########################] 100%
 libp11-kit-0.23....   494.9 KiB  13.1 MiB/s 00:00 [########################] 100%
 p11-kit-0.23.21-...   140.4 KiB  13.7 MiB/s 00:00 [########################] 100%
 ca-certificates-...     8.0 KiB  0.00   B/s 00:00 [########################] 100%
 ca-certificates-...   330.3 KiB  13.4 MiB/s 00:00 [########################] 100%
 ca-certificates-...  2013.0   B  0.00   B/s 00:00 [########################] 100%
 libssh2-1.9.0-2-...   205.8 KiB  15.5 MiB/s 00:00 [########################] 100%
 libidn2-2.3.0-1-...   115.9 KiB  18.9 MiB/s 00:00 [########################] 100%
 libpsl-0.21.1-1-...    79.6 KiB  25.9 MiB/s 00:00 [########################] 100%
 libnghttp2-1.41....    97.6 KiB  9.53 MiB/s 00:00 [########################] 100%
 curl-7.74.0-1-x86_64 1075.7 KiB  13.1 MiB/s 00:00 [########################] 100%
 npth-1.6-2-x86_64      12.8 KiB  0.00   B/s 00:00 [########################] 100%
 libksba-1.4.0-2-...   135.3 KiB  18.9 MiB/s 00:00 [########################] 100%
 libassuan-2.5.4-...    87.4 KiB  12.2 MiB/s 00:00 [########################] 100%
 libsecret-0.20.4...   238.6 KiB  11.6 MiB/s 00:00 [########################] 100%
 pinentry-1.1.0-5...   101.6 KiB  33.1 MiB/s 00:00 [########################] 100%
 nettle-3.6-1-x86_64   405.2 KiB  13.2 MiB/s 00:00 [########################] 100%
 gnutls-3.7.0-1-x...     2.9 MiB  12.9 MiB/s 00:00 [########################] 100%
 sqlite-3.34.0-1-...  1727.4 KiB  13.0 MiB/s 00:00 [########################] 100%
 gnupg-2.2.24-1-x...     2.4 MiB  12.8 MiB/s 00:00 [########################] 100%
 gpgme-1.15.0-2-x...   448.8 KiB  12.9 MiB/s 00:00 [########################] 100%
 pacman-mirrorlis...     6.4 KiB  0.00   B/s 00:00 [########################] 100%
 archlinux-keyrin...   939.4 KiB  12.6 MiB/s 00:00 [########################] 100%
 pacman-5.2.2-1-x...   838.6 KiB  13.0 MiB/s 00:00 [########################] 100%
 device-mapper-2....   292.3 KiB  14.3 MiB/s 00:00 [########################] 100%
 popt-1.18-1-x86_64     67.7 KiB  16.5 MiB/s 00:00 [########################] 100%
 json-c-0.15-1-x86_64   53.9 KiB  13.2 MiB/s 00:00 [########################] 100%
 argon2-20190702-...    33.1 KiB  0.00   B/s 00:00 [########################] 100%
 cryptsetup-2.3.4...   568.3 KiB  13.9 MiB/s 00:00 [########################] 100%
 dbus-1.12.20-1-x...   315.3 KiB  13.4 MiB/s 00:00 [########################] 100%
 libmnl-1.0.4-3-x...    10.4 KiB  0.00   B/s 00:00 [########################] 100%
 libnftnl-1.1.8-1...    70.6 KiB  17.2 MiB/s 00:00 [########################] 100%
 libnl-3.5.0-2-x86_64  364.7 KiB  13.2 MiB/s 00:00 [########################] 100%
 libpcap-1.9.1-4-...   274.6 KiB  15.8 MiB/s 00:00 [########################] 100%
 libnfnetlink-1.0...    17.4 KiB  0.00   B/s 00:00 [########################] 100%
 libnetfilter_con...    49.4 KiB  0.00   B/s 00:00 [########################] 100%
 iptables-1:1.8.6...   432.2 KiB  12.8 MiB/s 00:00 [########################] 100%
 kbd-2.3.0-2-x86_64   1184.7 KiB  13.3 MiB/s 00:00 [########################] 100%
 libelf-0.181-1-x...   451.8 KiB  14.7 MiB/s 00:00 [########################] 100%
 pcre2-10.35-1-x86_64 1108.2 KiB  12.9 MiB/s 00:00 [########################] 100%
 systemd-247.1-3-...     6.1 MiB  12.7 MiB/s 00:00 [########################] 100%
 systemd-sysvcomp...     5.7 KiB  0.00   B/s 00:00 [########################] 100%
 iputils-20200821...   123.7 KiB  12.1 MiB/s 00:00 [########################] 100%
 iproute2-5.9.0-1...   967.8 KiB  14.1 MiB/s 00:00 [########################] 100%
 base-2-2-any            2.1 KiB  0.00   B/s 00:00 [########################] 100%
 m4-1.4.18-3-x86_64    169.4 KiB  16.5 MiB/s 00:00 [########################] 100%
 diffutils-3.7-3-...   324.1 KiB  13.8 MiB/s 00:00 [########################] 100%
 autoconf-2.69-7-any   591.2 KiB  13.4 MiB/s 00:00 [########################] 100%
 automake-1.16.2-...   603.5 KiB  13.7 MiB/s 00:00 [########################] 100%
 libmicrohttpd-0....   202.9 KiB  15.2 MiB/s 00:00 [########################] 100%
 elfutils-0.181-1...   619.8 KiB  12.9 MiB/s 00:00 [########################] 100%
 binutils-2.35.1-...     5.3 MiB  12.8 MiB/s 00:00 [########################] 100%
 bison-3.7.2-1-x86_64  753.7 KiB  13.1 MiB/s 00:00 [########################] 100%
 fakeroot-1.25.3-...    70.2 KiB  22.9 MiB/s 00:00 [########################] 100%
 flex-2.6.4-3-x86_64   297.2 KiB  14.5 MiB/s 00:00 [########################] 100%
 libmpc-1.1.0-2-x...    65.1 KiB  21.2 MiB/s 00:00 [########################] 100%
 gcc-10.2.0-4-x86_64    31.5 MiB  12.6 MiB/s 00:02 [########################] 100%
 groff-1.22.4-3-x...  2044.3 KiB  13.0 MiB/s 00:00 [########################] 100%
 libtool-2.4.6+42...   407.4 KiB  14.7 MiB/s 00:00 [########################] 100%
 texinfo-6.7-3-x86_64 1397.6 KiB  13.3 MiB/s 00:00 [########################] 100%
 make-4.3-3-x86_64     481.6 KiB  14.3 MiB/s 00:00 [########################] 100%
 patch-2.7.6-8-x86_64   92.5 KiB  22.6 MiB/s 00:00 [########################] 100%
 pkgconf-1.7.3-1-...    58.2 KiB  14.2 MiB/s 00:00 [########################] 100%
 sudo-1.9.4-2-x86_64  1115.5 KiB  13.0 MiB/s 00:00 [########################] 100%
 which-2.21-5-x86_64    15.8 KiB  0.00   B/s 00:00 [########################] 100%
 grub-2:2.04-8-x86_64    6.7 MiB  12.7 MiB/s 00:01 [########################] 100%
 mkinitcpio-busyb...   270.3 KiB  16.5 MiB/s 00:00 [########################] 100%
 mkinitcpio-29-1-any    42.2 KiB  13.7 MiB/s 00:00 [########################] 100%
 linux-5.9.13.arc...    73.8 MiB  12.6 MiB/s 00:06 [########################] 100%
 linux-firmware-2...   134.5 MiB  12.6 MiB/s 00:11 [########################] 100%
 nano-5.4-1-x86_64     573.7 KiB  14.0 MiB/s 00:00 [########################] 100%
 nspr-4.29-1-x86_64    200.9 KiB  15.1 MiB/s 00:00 [########################] 100%
 nss-3.59-1-x86_64    1575.2 KiB  12.8 MiB/s 00:00 [########################] 100%
 wpa_supplicant-2...  1323.2 KiB  12.9 MiB/s 00:00 [########################] 100%
 gpm-1.20.7.r38.g...   140.5 KiB  19.6 MiB/s 00:00 [########################] 100%
 libedit-20191231...   107.2 KiB  17.4 MiB/s 00:00 [########################] 100%
 dnssec-anchors-2...     3.0 KiB  0.00   B/s 00:00 [########################] 100%
 ldns-1.7.1-2-x86_64   435.9 KiB  14.2 MiB/s 00:00 [########################] 100%
 openssh-8.4p1-2-...   906.3 KiB  13.2 MiB/s 00:00 [########################] 100%
 libxml2-2.9.10-7...  1346.6 KiB  12.8 MiB/s 00:00 [########################] 100%
 libcroco-0.6.13-...   155.3 KiB  15.2 MiB/s 00:00 [########################] 100%
 gc-8.0.4-4-x86_64     234.7 KiB  16.4 MiB/s 00:00 [########################] 100%
 guile-2.2.6-2-x86_64    6.4 MiB  12.7 MiB/s 00:01 [########################] 100%
 libnm-1.26.4-1-x...  1099.9 KiB  12.8 MiB/s 00:00 [########################] 100%
 js78-78.5.0-2-x86_64   10.7 MiB  12.6 MiB/s 00:01 [########################] 100%
 polkit-0.118-1-x...   402.1 KiB  14.5 MiB/s 00:00 [########################] 100%
 libmm-glib-1.14....   438.3 KiB  13.0 MiB/s 00:00 [########################] 100%
 slang-2.3.2-2-x86_64  759.5 KiB  13.0 MiB/s 00:00 [########################] 100%
 libndp-1.7-2-x86_64    18.3 KiB  0.00   B/s 00:00 [########################] 100%
 libdaemon-0.14-5...    19.2 KiB  0.00   B/s 00:00 [########################] 100%
 libteam-1.31-2-x...   242.7 KiB  13.9 MiB/s 00:00 [########################] 100%
 bluez-libs-5.55-...    96.2 KiB  15.7 MiB/s 00:00 [########################] 100%
 mobile-broadband...    60.7 KiB  19.7 MiB/s 00:00 [########################] 100%
 networkmanager-1...     3.3 MiB  13.0 MiB/s 00:00 [########################] 100%
 jansson-2.13.1-1...    45.3 KiB  11.1 MiB/s 00:00 [########################] 100%
 libnewt-0.52.21-...    99.4 KiB  24.3 MiB/s 00:00 [########################] 100%
 libsodium-1.0.18...   175.0 KiB  12.2 MiB/s 00:00 [########################] 100%
 libpgm-5.3.128-1...   192.4 KiB  13.4 MiB/s 00:00 [########################] 100%
 zeromq-4.3.3-2-x...   653.4 KiB  12.8 MiB/s 00:00 [########################] 100%
(163/163) checking keys in keyring                 [########################] 100%
(163/163) checking package integrity               [########################] 100%
(163/163) loading package files                    [########################] 100%
(163/163) checking for file conflicts              [########################] 100%
(163/163) checking available disk space            [########################] 100%
:: Processing package changes...
(  1/163) installing iana-etc                      [########################] 100%
(  2/163) installing filesystem                    [########################] 100%
(  3/163) installing linux-api-headers             [########################] 100%
(  4/163) installing tzdata                        [########################] 100%
(  5/163) installing glibc                         [########################] 100%
Optional dependencies for glibc
    gd: for memusagestat
(  6/163) installing gcc-libs                      [########################] 100%
(  7/163) installing ncurses                       [########################] 100%
(  8/163) installing readline                      [########################] 100%
(  9/163) installing bash                          [########################] 100%
Optional dependencies for bash
    bash-completion: for tab completion
( 10/163) installing attr                          [########################] 100%
( 11/163) installing acl                           [########################] 100%
( 12/163) installing gmp                           [########################] 100%
( 13/163) installing util-linux-libs               [########################] 100%
( 14/163) installing e2fsprogs                     [########################] 100%
( 15/163) installing gdbm                          [########################] 100%
( 16/163) installing db                            [########################] 100%
( 17/163) installing libxcrypt                     [########################] 100%
( 18/163) installing perl                          [########################] 100%
( 19/163) installing openssl                       [########################] 100%
Optional dependencies for openssl
    ca-certificates [pending]
( 20/163) installing libsasl                       [########################] 100%
( 21/163) installing libldap                       [########################] 100%
( 22/163) installing keyutils                      [########################] 100%
( 23/163) installing krb5                          [########################] 100%
( 24/163) installing libtirpc                      [########################] 100%
( 25/163) installing pambase                       [########################] 100%
( 26/163) installing libcap-ng                     [########################] 100%
( 27/163) installing audit                         [########################] 100%
( 28/163) installing pam                           [########################] 100%
( 29/163) installing libcap                        [########################] 100%
( 30/163) installing coreutils                     [########################] 100%
( 31/163) installing zlib                          [########################] 100%
( 32/163) installing xz                            [########################] 100%
( 33/163) installing bzip2                         [########################] 100%
( 34/163) installing libseccomp                    [########################] 100%
( 35/163) installing file                          [########################] 100%
( 36/163) installing findutils                     [########################] 100%
( 37/163) installing mpfr                          [########################] 100%
( 38/163) installing gawk                          [########################] 100%
( 39/163) installing pcre                          [########################] 100%
( 40/163) installing grep                          [########################] 100%
( 41/163) installing libgpg-error                  [########################] 100%
( 42/163) installing libgcrypt                     [########################] 100%
( 43/163) installing lz4                           [########################] 100%
( 44/163) installing zstd                          [########################] 100%
( 45/163) installing systemd-libs                  [########################] 100%
( 46/163) installing procps-ng                     [########################] 100%
( 47/163) installing sed                           [########################] 100%
( 48/163) installing tar                           [########################] 100%
( 49/163) installing libffi                        [########################] 100%
( 50/163) installing glib2                         [########################] 100%
Optional dependencies for glib2
    python: gdbus-codegen, glib-genmarshal, glib-mkenums, gtester-report
    libelf: gresource inspection tool [pending]
( 51/163) installing libunistring                  [########################] 100%
( 52/163) installing icu                           [########################] 100%
( 53/163) installing libxml2                       [########################] 100%
( 54/163) installing libcroco                      [########################] 100%
( 55/163) installing gettext                       [########################] 100%
Optional dependencies for gettext
    git: for autopoint infrastructure updates
( 56/163) installing hwids                         [########################] 100%
( 57/163) installing kmod                          [########################] 100%
( 58/163) installing pciutils                      [########################] 100%
( 59/163) installing psmisc                        [########################] 100%
( 60/163) installing shadow                        [########################] 100%
( 61/163) installing util-linux                    [########################] 100%
Optional dependencies for util-linux
    python: python bindings to libmount
    words: default dictionary for look
( 62/163) installing less                          [########################] 100%
( 63/163) installing gzip                          [########################] 100%
( 64/163) installing licenses                      [########################] 100%
( 65/163) installing expat                         [########################] 100%
( 66/163) installing libarchive                    [########################] 100%
( 67/163) installing libtasn1                      [########################] 100%
( 68/163) installing libp11-kit                    [########################] 100%
( 69/163) installing p11-kit                       [########################] 100%
( 70/163) installing ca-certificates-utils         [########################] 100%
( 71/163) installing ca-certificates-mozilla       [########################] 100%
( 72/163) installing ca-certificates               [########################] 100%
( 73/163) installing libssh2                       [########################] 100%
( 74/163) installing libidn2                       [########################] 100%
( 75/163) installing libpsl                        [########################] 100%
( 76/163) installing libnghttp2                    [########################] 100%
( 77/163) installing curl                          [########################] 100%
( 78/163) installing npth                          [########################] 100%
( 79/163) installing libksba                       [########################] 100%
( 80/163) installing libassuan                     [########################] 100%
( 81/163) installing libsecret                     [########################] 100%
Optional dependencies for libsecret
    org.freedesktop.secrets: secret storage backend
( 82/163) installing pinentry                      [########################] 100%
Optional dependencies for pinentry
    gtk2: gtk2 backend
    qt5-base: qt backend
    gcr: gnome3 backend
( 83/163) installing nettle                        [########################] 100%
( 84/163) installing gnutls                        [########################] 100%
Optional dependencies for gnutls
    guile: for use with Guile bindings [pending]
( 85/163) installing sqlite                        [########################] 100%
( 86/163) installing gnupg                         [########################] 100%
Optional dependencies for gnupg
    libldap: gpg2keys_ldap [installed]
    libusb-compat: scdaemon
    pcsclite: scdaemon
( 87/163) installing gpgme                         [########################] 100%
( 88/163) installing pacman-mirrorlist             [########################] 100%
( 89/163) installing archlinux-keyring             [########################] 100%
( 90/163) installing pacman                        [########################] 100%
Optional dependencies for pacman
    perl-locale-gettext: translation support in makepkg-template
( 91/163) installing device-mapper                 [########################] 100%
( 92/163) installing popt                          [########################] 100%
( 93/163) installing json-c                        [########################] 100%
( 94/163) installing argon2                        [########################] 100%
( 95/163) installing cryptsetup                    [########################] 100%
( 96/163) installing dbus                          [########################] 100%
( 97/163) installing libmnl                        [########################] 100%
( 98/163) installing libnftnl                      [########################] 100%
( 99/163) installing libnl                         [########################] 100%
(100/163) installing libpcap                       [########################] 100%
(101/163) installing libnfnetlink                  [########################] 100%
(102/163) installing libnetfilter_conntrack        [########################] 100%
(103/163) installing iptables                      [########################] 100%
(104/163) installing kbd                           [########################] 100%
(105/163) installing libelf                        [########################] 100%
(106/163) installing pcre2                         [########################] 100%
(107/163) installing systemd                       [########################] 100%
Initializing machine ID from random generator.
Creating group sys with gid 3.
Creating group mem with gid 8.
Creating group ftp with gid 11.
Creating group mail with gid 12.
Creating group log with gid 19.
Creating group smmsp with gid 25.
Creating group proc with gid 26.
Creating group games with gid 50.
Creating group lock with gid 54.
Creating group network with gid 90.
Creating group floppy with gid 94.
Creating group scanner with gid 96.
Creating group power with gid 98.
Creating group adm with gid 999.
Creating group wheel with gid 998.
Creating group kmem with gid 997.
Creating group tty with gid 5.
Creating group utmp with gid 996.
Creating group audio with gid 995.
Creating group disk with gid 994.
Creating group input with gid 993.
Creating group kvm with gid 992.
Creating group lp with gid 991.
Creating group optical with gid 990.
Creating group render with gid 989.
Creating group storage with gid 988.
Creating group uucp with gid 987.
Creating group video with gid 986.
Creating group users with gid 985.
Creating group systemd-journal with gid 984.
Creating group rfkill with gid 983.
Creating group bin with gid 1.
Creating user bin (n/a) with uid 1 and gid 1.
Creating group daemon with gid 2.
Creating user daemon (n/a) with uid 2 and gid 2.
Creating user mail (n/a) with uid 8 and gid 12.
Creating user ftp (n/a) with uid 14 and gid 11.
Creating group http with gid 33.
Creating user http (n/a) with uid 33 and gid 33.
Creating group nobody with gid 65534.
Creating user nobody (Nobody) with uid 65534 and gid 65534.
Creating group dbus with gid 81.
Creating user dbus (System Message Bus) with uid 81 and gid 81.
Creating group systemd-journal-remote with gid 982.
Creating user systemd-journal-remote (systemd Journal Remote) with uid 982 and gid 982.
Creating group systemd-network with gid 981.
Creating user systemd-network (systemd Network Management) with uid 981 and gid 981.
Creating group systemd-resolve with gid 980.
Creating user systemd-resolve (systemd Resolver) with uid 980 and gid 980.
Creating group systemd-timesync with gid 979.
Creating user systemd-timesync (systemd Time Synchronization) with uid 979 and gid 979.
Creating group systemd-coredump with gid 978.
Creating user systemd-coredump (systemd Core Dumper) with uid 978 and gid 978.
Creating group uuidd with gid 68.
Creating user uuidd (n/a) with uid 68 and gid 68.
Created symlink /etc/systemd/system/getty.target.wants/getty@tty1.service → /usr/lib/systemd/system/getty@.service.
Created symlink /etc/systemd/system/multi-user.target.wants/remote-fs.target → /usr/lib/systemd/system/remote-fs.target.
:: Append 'init=/usr/lib/systemd/systemd' to your kernel command line in your
   bootloader to replace sysvinit with systemd, or install systemd-sysvcompat
Optional dependencies for systemd
    libmicrohttpd: remote journald capabilities [pending]
    quota-tools: kernel-level quota management
    systemd-sysvcompat: symlink package to provide sysvinit binaries [pending]
    polkit: allow administration as unprivileged user [pending]
    curl: machinectl pull-tar and pull-raw [installed]
(108/163) installing systemd-sysvcompat            [########################] 100%
(109/163) installing iputils                       [########################] 100%
(110/163) installing iproute2                      [########################] 100%
Optional dependencies for iproute2
    linux-atm: ATM support
(111/163) installing base                          [########################] 100%
Optional dependencies for base
    linux: bare metal support [pending]
(112/163) installing m4                            [########################] 100%
(113/163) installing diffutils                     [########################] 100%
(114/163) installing autoconf                      [########################] 100%
(115/163) installing automake                      [########################] 100%
(116/163) installing libmicrohttpd                 [########################] 100%
(117/163) installing elfutils                      [########################] 100%
(118/163) installing binutils                      [########################] 100%
(119/163) installing bison                         [########################] 100%
(120/163) installing fakeroot                      [########################] 100%
(121/163) installing flex                          [########################] 100%
(122/163) installing libmpc                        [########################] 100%
(123/163) installing gcc                           [########################] 100%
Optional dependencies for gcc
    lib32-gcc-libs: for generating code for 32-bit ABI
(124/163) installing groff                         [########################] 100%
Optional dependencies for groff
    netpbm: for use together with man -H command interaction in browsers
    psutils: for use together with man -H command interaction in browsers
    libxaw: for gxditview
    perl-file-homedir: for use with glilypond
(125/163) installing libtool                       [########################] 100%
(126/163) installing texinfo                       [########################] 100%
(127/163) installing gc                            [########################] 100%
(128/163) installing guile                         [########################] 100%
(129/163) installing make                          [########################] 100%
(130/163) installing patch                         [########################] 100%
Optional dependencies for patch
    ed: for patch -e functionality
(131/163) installing pkgconf                       [########################] 100%
(132/163) installing sudo                          [########################] 100%
(133/163) installing which                         [########################] 100%
(134/163) installing grub                          [########################] 100%
Generate your bootloader configuration with:
  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
    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
(135/163) installing mkinitcpio-busybox            [########################] 100%
(136/163) installing mkinitcpio                    [########################] 100%
Optional dependencies for mkinitcpio
    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
(137/163) installing linux                         [########################] 100%
Optional dependencies for linux
    crda: to set the correct wireless channels of your country
    linux-firmware: firmware images needed for some devices [pending]
(138/163) installing linux-firmware                [########################] 100%
(139/163) installing nano                          [########################] 100%
(140/163) installing nspr                          [########################] 100%
(141/163) installing nss                           [########################] 100%
(142/163) installing jansson                       [########################] 100%
(143/163) installing libnm                         [########################] 100%
(144/163) installing js78                          [########################] 100%
(145/163) installing polkit                        [########################] 100%
(146/163) installing wpa_supplicant                [########################] 100%
(147/163) installing libmm-glib                    [########################] 100%
(148/163) installing gpm                           [########################] 100%
(149/163) installing slang                         [########################] 100%
(150/163) installing libnewt                       [########################] 100%
Optional dependencies for libnewt
    tcl: whiptcl support
    python: libnewt support with the _snack module
    python2: libnewt support with the _snack module
(151/163) installing libndp                        [########################] 100%
(152/163) installing libdaemon                     [########################] 100%
(153/163) installing libsodium                     [########################] 100%
(154/163) installing libpgm                        [########################] 100%
(155/163) installing zeromq                        [########################] 100%
(156/163) installing libteam                       [########################] 100%
(157/163) installing bluez-libs                    [########################] 100%
(158/163) installing mobile-broadband-provider...  [########################] 100%
(159/163) installing networkmanager                [########################] 100%
Optional dependencies for networkmanager
    dnsmasq: connection sharing
    bluez: Bluetooth support
    ppp: dialup connection support
    modemmanager: cellular network support
    iwd: wpa_supplicant alternative
    dhclient: alternative DHCP client
    openresolv: alternative resolv.conf manager
    firewalld: Firewall support
(160/163) installing libedit                       [########################] 100%
(161/163) installing dnssec-anchors                [########################] 100%
(162/163) installing ldns                          [########################] 100%
Optional dependencies for ldns
    libpcap: ldns-dpa tool [installed]
(163/163) installing openssh                       [########################] 100%
Optional dependencies for openssh
    xorg-xauth: X11 forwarding
    x11-ssh-askpass: input passphrase in X
    libfido2: FIDO/U2F support
:: Running post-transaction hooks...
( 1/14) Creating system user accounts...
Creating group polkitd with gid 102.
Creating user polkitd (PolicyKit daemon) with uid 102 and gid 102.
( 2/14) Updating journal message catalog...
( 3/14) Reloading system manager configuration...
Running in chroot, ignoring command 'daemon-reload'
( 4/14) Updating udev hardware database...
( 5/14) Applying kernel sysctl settings...
Not setting net/ipv4/conf/all/rp_filter (explicit setting exists).
Not setting net/ipv4/conf/default/rp_filter (explicit setting exists).
Not setting net/ipv4/conf/all/accept_source_route (explicit setting exists).
Not setting net/ipv4/conf/default/accept_source_route (explicit setting exists).
Not setting net/ipv4/conf/all/promote_secondaries (explicit setting exists).
Not setting net/ipv4/conf/default/promote_secondaries (explicit setting exists).
( 6/14) Creating temporary files...
( 7/14) Reloading device manager configuration...
Running in chroot, ignoring request.
( 8/14) Arming ConditionNeedsUpdate...
( 9/14) Rebuilding certificate stores...
(10/14) Updating module dependencies...
(11/14) 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: 5.9.13-arch1-1
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-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: 5.9.13-arch1-1
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: wd719x
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: xhci_pci
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img
==> Image generation successful
(12/14) Reloading system bus configuration...
Running in chroot, ignoring command 'try-reload-or-restart'
(13/14) Warn about old perl modules
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LC_MESSAGES = "",
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
(14/14) Updating the info directory file...
pacstrap /mnt base base-devel grub linux linux-firmware nano networkmanager   117.72s user 82.57s system 89% cpu 3:43.30 total
root@archiso ~ # genfstab -U /mnt >> /mnt/etc/fstab
root@archiso ~ # arch-chroot /mnt
[root@archiso /]# ln -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime
[root@archiso /]# systemctl enable --now systemd-timesyncd.service
Created symlink /etc/systemd/system/dbus-org.freedesktop.timesync1.service → /usr/lib/systemd/system/systemd-timesyncd.service.
Created symlink /etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service → /usr/lib/systemd/system/systemd-timesyncd.service.
Failed to connect to bus: No data available
[root@archiso /]# hwclock --systohc --utc
[root@archiso /]# systemctl enable NetworkManager.service
Created symlink /etc/systemd/system/multi-user.target.wants/NetworkManager.service → /usr/lib/systemd/system/NetworkManager.service.
Created symlink /etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service → /usr/lib/systemd/system/NetworkManager-dispatcher.service.
Created symlink /etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service → /usr/lib/systemd/system/NetworkManager-wait-online.service.
[root@archiso /]# echo vm.swappiness=10 > /etc/sysctl.d/99-swappiness.conf
[root@archiso /]# nano /etc/locale.gen
[root@archiso /]# locale-gen
Generating locales...
  en_GB.UTF-8... done
Generation complete.
[root@archiso /]# echo LANG=en_GB.UTF-8 > /etc/locale.conf
[root@archiso /]# echo KEYMAP=de-latin1 > /etc/vconsole.conf
[root@archiso /]# echo IOT-SERVER > /etc/hostname
[root@archiso /]# nano /etc/hosts
[root@archiso /]# nano /etc/sysctl.d/40-ipv6.conf
[root@archiso /]# nano /etc/ssh/sshd_config
[root@archiso /]# ssh-keygen -A
ssh-keygen: generating new host keys: RSA DSA ECDSA ED25519
[root@archiso /]# sshd -t
[root@archiso /]# nano /usr/lib/systemd/system/sshd.service
[root@archiso /]# nano /usr/lib/systemd/system/sshd.service
[root@archiso /]# systemctl enable sshd.service
Created symlink /etc/systemd/system/multi-user.target.wants/sshd.service → /usr/lib/systemd/system/sshd.service.
[root@archiso /]# passwd
New password:
Retype new password:
passwd: password updated successfully
[root@archiso /]# useradd -m -g users -G wheel -s /bin/bash iot && passwd iot
New password:
Retype new password:
passwd: password updated successfully
[root@archiso /]# nano /etc/sudoers
[root@archiso /]# grub-install /dev/sda
Installing for i386-pc platform.
Installation finished. No error reported.
[root@archiso /]# grub-mkconfig –o /boot/grub/grub.cfg
Generating grub configuration file ...
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//sas/disk@0,gpt2' --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  cc831b6c-2811-4c60-9948-8f0e5596c320
else
  search --no-floppy --fs-uuid --set=root cc831b6c-2811-4c60-9948-8f0e5596c320
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_input console
terminal_output gfxterm
if [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=5
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux.img
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-cc831b6c-2811-4c60-9948-8f0e5596c320' {
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_gpt
        insmod ext2
        set root='hd0,gpt2'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//sas/disk@0,gpt2' --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  cc831b6c-2811-4c60-9948-8f0e5596c320
        else
          search --no-floppy --fs-uuid --set=root cc831b6c-2811-4c60-9948-8f0e5596c320
        fi
        echo    'Loading Linux linux ...'
        linux   /boot/vmlinuz-linux root=UUID=cc831b6c-2811-4c60-9948-8f0e5596c320 rw  loglevel=3 quiet
        echo    'Loading initial ramdisk ...'
        initrd  /boot/initramfs-linux.img
}
submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-cc831b6c-2811-4c60-9948-8f0e5596c320' {
        menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-cc831b6c-2811-4c60-9948-8f0e5596c320' {
                load_video
                set gfxpayload=keep
                insmod gzio
                insmod part_gpt
                insmod ext2
                set root='hd0,gpt2'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//sas/disk@0,gpt2' --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  cc831b6c-2811-4c60-9948-8f0e5596c320
                else
                  search --no-floppy --fs-uuid --set=root cc831b6c-2811-4c60-9948-8f0e5596c320
                fi
                echo    'Loading Linux linux ...'
                linux   /boot/vmlinuz-linux root=UUID=cc831b6c-2811-4c60-9948-8f0e5596c320 rw  loglevel=3 quiet
                echo    'Loading initial ramdisk ...'
                initrd  /boot/initramfs-linux.img
        }
Found fallback initrd image(s) in /boot: initramfs-linux-fallback.img
        menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-cc831b6c-2811-4c60-9948-8f0e5596c320' {
                load_video
                set gfxpayload=keep
                insmod gzio
                insmod part_gpt
                insmod ext2
                set root='hd0,gpt2'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//sas/disk@0,gpt2' --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  cc831b6c-2811-4c60-9948-8f0e5596c320
                else
                  search --no-floppy --fs-uuid --set=root cc831b6c-2811-4c60-9948-8f0e5596c320
                fi
                echo    'Loading Linux linux ...'
                linux   /boot/vmlinuz-linux root=UUID=cc831b6c-2811-4c60-9948-8f0e5596c320 rw  loglevel=3 quiet
                echo    'Loading initial ramdisk ...'
                initrd  /boot/initramfs-linux-fallback.img
        }
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
done
[root@archiso /]# mkinitcpio –p linux
==> ERROR: '/lib/modules/5.9.11-arch2-1' is not a valid kernel module directory
[root@archiso /]#

TheHellSite

Last edited by TheHellSite (2020-12-21 23:20:21)

Offline

#2 2020-12-13 14:19:57

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,680
Website

Re: [SOLVED] 2020.12.01-5.9.11: stuck on grub bash after install

TheHellSite wrote:

I end up beeing stuck at the GRUB bash

What does the prompt say? If it's the 'grub>' prompt then the configuration file can't be found (or it doesn't contain any menuentry stanzas), the 'grub rescue>' prompt indicates that the GRUB modules can't be found. Run the set command from the prompt to find where GRUB is looking and use the ls command to view the available drives.

Your installation steps look fine for a non-UEFI system — are you sure the VM is being booted in non-UEFI mode? I've never used Proxmox so I'm not sure how that works.

Note that systemd units can be enabled but not started from the chroot environment and also that you don't need to generate the initramfs image manually unless you've modified /etc/mkinitcpio.conf

Offline

#3 2020-12-13 18:21:57

TheHellSite
Member
Registered: 2020-11-13
Posts: 22

Re: [SOLVED] 2020.12.01-5.9.11: stuck on grub bash after install

https://i.postimg.cc/QCr7SGMV/Screensho … 2-13-1.png
https://i.postimg.cc/DZGsqynt/Screensho … 2-13-2.png

Yes, the VM is for 100% using the normal BIOS and not UEFI.
The IOT-VM settings are identical to my other Proxmox Arch Linux VMs, except for RAM, which shouldn't matter as I gave it 1 GB and it has 4 GB of SWAP on an SSD drive..

The only thing that has changed is the arch-linux.iso from 2020.11.01 to 2020.12.01.

moderator edit -- replaced oversized images with links.
Pasting pictures and code

Last edited by 2ManyDogs (2020-12-13 23:37:45)

Offline

#4 2020-12-13 18:48:09

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,680
Website

Re: [SOLVED] 2020.12.01-5.9.11: stuck on grub bash after install

Is there a /boot/grub/grub.cfg file on /dev/sda2?

Does this show the menu if you run it from the 'grub>' prompt:

configfile $prefix/grub.cfg

Offline

#5 2020-12-14 11:39:10

TheHellSite
Member
Registered: 2020-11-13
Posts: 22

Re: [SOLVED] 2020.12.01-5.9.11: stuck on grub bash after install

No, it clears the shell.

There is also no grub.cfg

Last edited by TheHellSite (2020-12-14 11:43:33)

Offline

#6 2020-12-14 17:27:16

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,680
Website

Re: [SOLVED] 2020.12.01-5.9.11: stuck on grub bash after install

TheHellSite wrote:

There is also no grub.cfg

Well there's your problem then. Not sure why the grub-mkconfig command didn't work though, you certainly ran it with the correct options.

Either (arch-)chroot in from a live system and run it again then double check that the file has actually been created or just copy the version posted in the OP, that looks like it should work.

Offline

#7 2020-12-14 20:04:30

TheHellSite
Member
Registered: 2020-11-13
Posts: 22

Re: [SOLVED] 2020.12.01-5.9.11: stuck on grub bash after install

Head_on_a_Stick wrote:

Well there's your problem then. Not sure why the grub-mkconfig command didn't work though, you certainly ran it with the correct options.

Neither do I... neutral


Head_on_a_Stick wrote:

Either (arch-)chroot in from a live system and run it again then double check that the file has actually been created or just copy the version posted in the OP, that looks like it should work.

I just ran

grub-mkconfig –o /boot/grub/grub.cfg

again but this time directly in the vm console and now the system is booting up.
But I would still like to know why the command fails when being run inside an ssh session. The issue should be reproduceable for everyone else that tries to install arch linux via ssh.

Offline

Board footer

Powered by FluxBB