Try fix refind

This commit is contained in:
ferreo 2024-09-04 19:19:04 +02:00
parent c6a754ddda
commit fd30040b95

View File

@ -36,6 +36,10 @@ then
echo "UUID="$(blkid -s UUID -o value $i)" none swap sw 0 0" >> "$1"/etc/fstab echo "UUID="$(blkid -s UUID -o value $i)" none swap sw 0 0" >> "$1"/etc/fstab
done done
fi fi
# try doing refind here, prob won't work
refind-install || true
echo 'UNBIND' | nc -U $SOCKET_PATH || true echo 'UNBIND' | nc -U $SOCKET_PATH || true
# Unmount host partitions from chroot # Unmount host partitions from chroot
umount "$1/media/cdrom" || umount -lf "$1/media/cdrom" || true umount "$1/media/cdrom" || umount -lf "$1/media/cdrom" || true