1
0
mirror of https://gitlab.com/JKANetwork/JKArch.git synced 2026-02-24 14:03:45 +01:00
This commit is contained in:
kprkpr
2016-06-05 15:30:32 +02:00
parent b55eaffe04
commit 84fb8765f0
2 changed files with 7 additions and 3 deletions

View File

@@ -216,8 +216,7 @@ genfstab -U /mnt >> /mnt/etc/fstab
cp -r /etc/netctl/* /mnt/etc/netctl/
mv /tmp/pacman.conf /mnt/etc/pacman.conf
cp /root/translations.sh /mnt/root/inst/translations.sh
argpart=$(echo $particionraiz | cut -c1-3)
arch-chroot /mnt /bin/bash -c "./root/inst/chrootinstall.sh $sclang $argpart $partefi"
arch-chroot /mnt /bin/bash -c "./root/inst/chrootinstall.sh $sclang $particionraiz $partefi"
}
clear
mostrardialog "$(T "JKArch install script")" "$(T "Intro arch install script")"

View File

@@ -1,10 +1,11 @@
#!/bin/bash
cd /root/
#Este script corre en el chroot para configurar todo
argpart=$2
particionraiz=$2
partefi=$3
sclang=$1
source translations.sh
argpart=$(echo $particionraiz | cut -c1-3)
#Try to disable ctrl+C
trap '' INT
@@ -395,6 +396,10 @@ else
echo "AVISO, UEFI ES EXPERMIENTAL"
pacman -S efibootmgr dosfstools refind-efi --noconfirm
refind-install
rootuuid=$(blkid -o value -s UUID /dev/$(echo $particionraiz))
echo '"Boot with standard options" "root=UUID='$(echo $rootuuid)' quiet loglevel=3 vga=current"' > /boot/refind_linux.conf
echo "Boot to single-user mode" "root=UUID='$(echo $rootuuid)' quiet single" >> /boot/refind_linux.conf
echo "Boot with minimal options" "root=UUID='$(echo $rootuuid)'" >> /boot/refind_linux.conf
;;
2)
#No hará nada