Skip to content

Commit 6e2a8e0

Browse files
rossmeiershibumi
authored andcommitted
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.
1 parent a4731dc commit 6e2a8e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

http/install.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ else
3333
fi
3434
pacstrap -M /mnt base linux grub openssh sudo polkit haveged netctl python reflector
3535
swapon "${device}1"
36-
genfstab -p /mnt >>/mnt/etc/fstab
36+
genfstab -pU /mnt >>/mnt/etc/fstab
3737
swapoff "${device}1"
3838

3939
arch-chroot /mnt /usr/bin/sed -i 's/^#Server/Server/' /etc/pacman.d/mirrorlist

0 commit comments

Comments
 (0)