Commit 6e2a8e07 authored by Justus Rossmeier's avatar Justus Rossmeier Committed by Christian Rebischke
Browse files

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.
parent a4731dcb
......@@ -33,7 +33,7 @@ else
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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment