浏览代码

rm DRIVE variable use

Noah 4 年之前
父节点
当前提交
e06216fc4b
共有 1 个文件被更改,包括 1 次插入1 次删除
  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"