GitHubのミラーです
https://github.com/FascodeNet/LUBS
修订版 | 73c22c8de89f6f0887ef0df81bb53381da165b6e (tree) |
---|---|
时间 | 2020-09-18 18:44:41 |
作者 | hayao <shun819.mail@gmai...> |
Commiter | hayao |
[fix] : efi cp error
@@ -432,13 +432,12 @@ make_efi() { | ||
432 | 432 | "boot/grub/grub.cfg=${bootfiles_dir}/isolinux/grub.cfg" |
433 | 433 | |
434 | 434 | # create efiboot.img |
435 | - truncate -s 10M "${bootfiles_dir}/isolinux/efiboot.img" | |
435 | + truncate -s 50M "${bootfiles_dir}/isolinux/efiboot.img" | |
436 | 436 | mkfs.fat -F 16 -f 1 -r 112 "${bootfiles_dir}/isolinux/efiboot.img" |
437 | - mkdir -p "${bootfiles_dir}/mnt" | |
438 | 437 | mount "${bootfiles_dir}/isolinux/efiboot.img" "${bootfiles_dir}/mnt" |
439 | 438 | mkdir -p "${bootfiles_dir}/mnt/efi/boot" |
440 | - cp "${bootfiles_dir}/isolinux/bootia32.efi" "${bootfiles_dir}/mnt/efi/boot" | |
441 | - cp "${bootfiles_dir}/isolinux/bootx64.efi" "${bootfiles_dir}/mnt/efi/boot" | |
439 | + cp "${bootfiles_dir}/isolinux/bootia32.efi" "${bootfiles_dir}/mnt/efi/boot/" | |
440 | + cp "${bootfiles_dir}/isolinux/bootx64.efi" "${bootfiles_dir}/mnt/efi/boot/" | |
442 | 441 | umount -d "${bootfiles_dir}/mnt" |
443 | 442 | rm -r "${bootfiles_dir}/mnt" |
444 | 443 | } |