Explorar o código

fix root uuid

Noah Vogt hai 1 ano
pai
achega
9c56a673d7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      chroot.sh

+ 1 - 1
chroot.sh

@@ -28,7 +28,7 @@ test -d /efi/EFI || error_exit "Error: EFI partition could not be mounted correc
 sed -i 's/block filesystems/block encrypt filesystems/' /etc/mkinitcpio.conf
 mkinitcpio -p linux
 
-root_uuid="$(grep UUID /etc/fstab | sed 's/^UUID=//; s/\s\/.*$//')"
+root_uuid="$(grep ext4 /etc/fstab | sed 's/^UUID=//; s/\s\/.*$//')"
 
 echo "BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=$root_uuid rw cryptdevice=/dev/sda2:cryptroot loglevel=0 quiet udev.log_level=3" > /etc/kernel/cmdline
 chmod +w /etc/kernel/cmdline