progress
This commit is contained in:
parent
dd9d70e2d8
commit
7a2892631c
|
@ -33,14 +33,14 @@ config() {
|
|||
rl=$(basename $(readlink "${TARGET_PHY_ID}-part${TARGET_PART}"))
|
||||
TMP=$(lsblk -o NAME,UUID -l|grep "${rl}" | awk '{print $2}')
|
||||
CRYPTUUID=${TMP//-/}
|
||||
grub-kbdcomp -o ${KEY_LANG}.gkb ${KEY_LANG}
|
||||
tar cf memdisk.tar ${KEY_LANG}.gkb
|
||||
|
||||
mkdir -p /boot/efi/EFI/void /boot/grub
|
||||
grub-kbdcomp -o /boot/grub/${KEY_LANG}.gkb ${KEY_LANG}
|
||||
tar cf memdisk.tar ${KEY_LANG}.gkb
|
||||
echo "set root=(memdisk)" > /boot/grub/early-grub.cfg
|
||||
echo "set prefix=($root)/" >> /boot/grub/early-grub.cfg
|
||||
echo "terminal_input at_keyboard" >> /boot/grub/early-grub.cfg
|
||||
echo "keymap /${KEY_LANG}.gkb" >> /boot/grub/early-grub.cfg
|
||||
echo "keymap /boot/grub/${KEY_LANG}.gkb" >> /boot/grub/early-grub.cfg
|
||||
echo "cryptomount -u ${CRYPTUUID}" >> /boot/grub/early-grub.cfg
|
||||
echo "set root='lvmid/${VGUUID}/${lVUUID}'" >> /boot/grub/early-grub.cfg
|
||||
echo "set prefix=($root)/grub" >> /boot/grub/early-grub.cfg
|
||||
|
|
Loading…
Reference in New Issue
Block a user