瀏覽代碼

exit before bootstrap + dont mount /efi a second time

Noah Vogt 1 年之前
父節點
當前提交
6f723fe792
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. 1 0
      arch.sh
  2. 1 1
      chroot.sh

+ 1 - 0
arch.sh

@@ -55,6 +55,7 @@ cp chroot.sh /mnt
 arch-chroot /mnt bash chroot.sh
 rm /mnt/chroot.sh
 
+exit
 cp videopc-bootstrap.sh /mnt
 arch-chroot /mnt bash videopc-bootstrap.sh
 rm /mnt/videopc-bootstrap.sh

+ 1 - 1
chroot.sh

@@ -21,7 +21,7 @@ locale-gen
 
 systemctl enable NetworkManager
 
-mount /dev/"$DRIVE"1 /efi
+# mount /dev/"$DRIVE"1 /efi
 # mkdir -p /efi/EFI/Linux
 # test -d /efi/EFI || error_exit "Error: EFI partition could not be mounted correctly."