mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-03-03 17:16:47 +01:00
changes
This commit is contained in:
@@ -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