summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustus Rossmeier <veecue@ventos.tk>2020-05-29 15:28:09 +0200
committerChristian Rebischke <chris@shibumi.dev>2020-05-29 20:53:01 +0200
commit6e2a8e073e1c716249862151446e4ad1723795cc (patch)
tree1b5db7ea495167e49bbfd42fb13ad08e3ff31667
parenta4731dcbfc228dd84710c7b89cd8d8d1f83a7fe3 (diff)
generate fstab with UUIDs1.6.0
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.
-rw-r--r--http/install.sh2
1 files changed, 1 insertions, 1 deletions
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