Browse Source

rm DRIVE variable use

Noah 4 năm trước cách đây
mục cha
commit
e06216fc4b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      chroot.sh

+ 1 - 1
chroot.sh

@@ -28,5 +28,5 @@ systemctl start NetworkManager
 read -p "Press any key to continue"
 
 DRIVE=$(cat drive)
-pacman --noconfirm --needed -S grub && grub-install --target=i386-pc /dev/${DRIVE} && grub-mkconfig -o /boot/grub/grub.cfg
+pacman --noconfirm --needed -S grub && grub-install --target=i386-pc /dev/sda && grub-mkconfig -o /boot/grub/grub.cfg
 read -p "Press any key to continue"