From 6e2a8e073e1c716249862151446e4ad1723795cc Mon Sep 17 00:00:00 2001 From: Justus Rossmeier Date: Fri, 29 May 2020 15:28:09 +0200 Subject: generate fstab with UUIDs Vagrant has experimental support for adding SATA disks. Although this box does not support that yet (at least for the virtualbox provider, since no AHCI storage controller with the name "SATA Controller" is included), it is possible to add another disk. This causes a boot failure in some circumstances because although the root is set to a UUID in the kernel cmdline, systemd's fsck still looks for /dev/sda as stated in /etc/fstab. --- http/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http/install.sh b/http/install.sh index bdf03c7..b0c104e 100644 --- a/http/install.sh +++ b/http/install.sh @@ -33,7 +33,7 @@ else fi pacstrap -M /mnt base linux grub openssh sudo polkit haveged netctl python reflector swapon "${device}1" -genfstab -p /mnt >>/mnt/etc/fstab +genfstab -pU /mnt >>/mnt/etc/fstab swapoff "${device}1" arch-chroot /mnt /usr/bin/sed -i 's/^#Server/Server/' /etc/pacman.d/mirrorlist -- cgit v1.2.3-70-g09d2