mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-12-23 20:09:44 +00:00
Pacstrap fix
This commit is contained in:
parent
5db0e2622d
commit
8c310d6350
|
@ -430,7 +430,11 @@ echo -ne "
|
|||
Arch Install on Main Drive
|
||||
-------------------------------------------------------------------------
|
||||
"
|
||||
pacstrap /mnt base base-devel linux-lts linux-lts-firmware vim nano sudo archlinux-keyring bash --noconfirm --needed
|
||||
if [[ ! -d "/sys/firmware/efi" ]]; then
|
||||
pacstrap /mnt base base-devel linux-lts linux-firmware --noconfirm --needed
|
||||
else
|
||||
pacstrap /mnt base base-devel linux-lts linux-firmware efibootmgr --noconfirm --needed
|
||||
fi
|
||||
echo "keyserver hkp://keyserver.ubuntu.com" >> /mnt/etc/pacman.d/gnupg/gpg.conf
|
||||
cp /etc/pacman.d/mirrorlist /mnt/etc/pacman.d/mirrorlist
|
||||
|
||||
|
@ -446,8 +450,6 @@ echo -ne "
|
|||
"
|
||||
if [[ ! -d "/sys/firmware/efi" ]]; then
|
||||
grub-install --boot-directory=/mnt/boot ${DISK}
|
||||
else
|
||||
pacstrap /mnt efibootmgr --noconfirm --needed
|
||||
fi
|
||||
echo -ne "
|
||||
-------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue
Block a user