mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-02-25 14:33: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/
|
cp -r /etc/netctl/* /mnt/etc/netctl/
|
||||||
mv /tmp/pacman.conf /mnt/etc/pacman.conf
|
mv /tmp/pacman.conf /mnt/etc/pacman.conf
|
||||||
cp /root/translations.sh /mnt/root/inst/translations.sh
|
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 $particionraiz $partefi"
|
||||||
arch-chroot /mnt /bin/bash -c "./root/inst/chrootinstall.sh $sclang $argpart $partefi"
|
|
||||||
}
|
}
|
||||||
clear
|
clear
|
||||||
mostrardialog "$(T "JKArch install script")" "$(T "Intro arch install script")"
|
mostrardialog "$(T "JKArch install script")" "$(T "Intro arch install script")"
|
||||||
|
|||||||
@@ -1,10 +1,11 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
cd /root/
|
cd /root/
|
||||||
#Este script corre en el chroot para configurar todo
|
#Este script corre en el chroot para configurar todo
|
||||||
argpart=$2
|
particionraiz=$2
|
||||||
partefi=$3
|
partefi=$3
|
||||||
sclang=$1
|
sclang=$1
|
||||||
source translations.sh
|
source translations.sh
|
||||||
|
argpart=$(echo $particionraiz | cut -c1-3)
|
||||||
#Try to disable ctrl+C
|
#Try to disable ctrl+C
|
||||||
trap '' INT
|
trap '' INT
|
||||||
|
|
||||||
@@ -395,6 +396,10 @@ else
|
|||||||
echo "AVISO, UEFI ES EXPERMIENTAL"
|
echo "AVISO, UEFI ES EXPERMIENTAL"
|
||||||
pacman -S efibootmgr dosfstools refind-efi --noconfirm
|
pacman -S efibootmgr dosfstools refind-efi --noconfirm
|
||||||
refind-install
|
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)
|
2)
|
||||||
#No hará nada
|
#No hará nada
|
||||||
|
|||||||
Reference in New Issue
Block a user