Commit ba7d0399 authored by Xiaowu Zhang's avatar Xiaowu Zhang

install.sh: cp key to EFI so can view in bios

parent e7bec916
......@@ -59,6 +59,7 @@ disk_info_list=(${disk_info//' '/})
dracut --force -c ./dracut.module/dracut.conf --confdir dracut_tmp
cp -r /boot/efi/EFI /EFI
cp /etc/uefi-key/db.cer /EFI/db.cer
uefi=$(ls /EFI/Linux)
efibootmgr --quiet --create --disk ${disk_info_list[0]} --label 'debian UEFI' --loader /EFI/Linux/$uefi
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment