mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-02-15 09:41:31 +01:00
changes
This commit is contained in:
@@ -165,7 +165,7 @@ if [[ ! $optpa -eq 3 ]];then
|
||||
clear
|
||||
lsblk --output NAME,KNAME,FSTYPE,SIZE,LABEL
|
||||
tput setaf 6 ; echo "$(T "Select EFI partition")" ; tput setaf 9
|
||||
options=($(lsblk --output KNAME | sed '1d'| grep 'sd\|hd'))
|
||||
options=($(lsblk --output KNAME | sed '1d' | grep 'sd\|hd' | grep '[1-9]$'))
|
||||
select opt in "${options[@]}"
|
||||
do
|
||||
case $opt in
|
||||
|
||||
@@ -398,6 +398,7 @@ else
|
||||
refind-install
|
||||
rootuuid=$(blkid -o value -s UUID /dev/$(echo $particionraiz))
|
||||
echo '"Boot with standard options" "root=UUID='$(echo $rootuuid)' rw add_efi_memmap quiet loglevel=3 vga=current"' > /boot/refind_linux.conf
|
||||
echo "Boot in nomodeset mode" "root=UUID='$(echo $rootuuid)' rw add_efi_memmap quiet loglevel=3 vga=current nomodeset" >> /boot/refind_linux.conf
|
||||
echo "Boot to single-user mode" "root=UUID='$(echo $rootuuid)' rw add_efi_memmap quiet single" >> /boot/refind_linux.conf
|
||||
echo "Boot with minimal options" "root=UUID='$(echo $rootuuid)' rw add_efi_memmap" >> /boot/refind_linux.conf
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user