Skip to content

Commit

Permalink
Update for 15.0
Browse files Browse the repository at this point in the history
No need for a huge efiboot.img as in 14.2. Only putting elilo in there
works, apparently.
  • Loading branch information
gapan committed Apr 11, 2022
1 parent afb6192 commit b59d42f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions 10-efi.sh
Expand Up @@ -44,7 +44,7 @@ rm -rf efi
mkdir -p efi/EFI/BOOT

# Create the efiboot.img file
dd if=/dev/zero of=isolinux/x86_64/efiboot.img bs=1M count=51
dd if=/dev/zero of=isolinux/x86_64/efiboot.img bs=272K count=1

# Format the image as FAT12:
mkdosfs -F 12 isolinux/x86_64/efiboot.img
Expand All @@ -68,11 +68,8 @@ cp efi-files/* $MOUNTPOINT/EFI/BOOT/
# as well as the efi directory...
cp efi-files/* efi/EFI/BOOT/

# copy the kernel in the same places...
cp kernel/x86_64/huge.s/bzImage $MOUNTPOINT/EFI/BOOT/
# copy the kernel and initrd.img in the efi dir...
cp kernel/x86_64/huge.s/bzImage efi/EFI/BOOT/
# and put the initrd in there too
cp initrd/x86_64/initrd.img $MOUNTPOINT/EFI/BOOT/
cp initrd/x86_64/initrd.img efi/EFI/BOOT/

# Unmount and clean up:
Expand Down

0 comments on commit b59d42f

Please sign in to comment.