mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-02-24 14:03:45 +01:00
changes
This commit is contained in:
@@ -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")"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user