Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mvallim authored Sep 2, 2024
1 parent 6e24152 commit cfc73ce
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -595,14 +595,16 @@ After everything has been installed and preconfigured in the **chrooted** enviro
```shell
(
cd isolinux && \
dd if=/dev/zero of=efiboot.img bs=1M count=10 && \
sudo mkfs.vfat efiboot.img && \
mkdir efi && \
sudo mount efiboot.img efi && \
sudo grub-install --efi-directory=efi --uefi-secure-boot --removable --no-nvram && \
sudo umount efi && \
rm -rf efi
cd isolinux && \
dd if=/dev/zero of=efiboot.img bs=1M count=10 && \
sudo mkfs.vfat efiboot.img && \
LOOP_DEVICE=`losetup --find --show $PWD/efiboot.img` && \
mkdir efi && \
sudo mount $LOOP_DEVICE efi && \
sudo grub-install --efi-directory=efi --uefi-secure-boot --removable --no-nvram $LOOP_DEVICE && \
sudo umount $LOOP_DEVICE && \
sudo losetup --detach $LOOP_DEVICE && \
rm -rf efi
)
```
Expand Down

0 comments on commit cfc73ce

Please sign in to comment.