Explorar o código

rm DRIVE variable use

Noah %!s(int64=4) %!d(string=hai) anos
pai
achega
e06216fc4b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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"