1
0
mirror of https://gitlab.com/JKANetwork/JKArch.git synced 2026-03-03 17:16:47 +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

@@ -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