Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F17199598
update ESP
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
allanjude
Feb 19 2021, 10:26 PM
2021-02-19 22:26:09 (UTC+0)
Size
373 B
Referenced Files
None
Subscribers
None
update ESP
View Options
truncate -s 200m /tmp/efiboot.img
$MDDEV=$(mdconfig -a -t vnode -f /tmp/efiboot.img)
newfs_msdos -L EFISYS -F 32 -c 1 /dev/$MDDEV
mkdir /tmp/makefs
mount -t msdosfs /dev/$MDDEV /tmp/makefs
mkdir -p "/tmp/makefs/EFI/BOOT"
cp "${DESTDIR}/boot/loader.efi" "/tmp/makefs/EFI/BOOT/BOOTX64.efi"
umount /tmp/makefs
mdconfig -d -u $MDDEV
dd if=/tmp/efiboot.img of=/dev/ada0p1 bs=1m
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3470426
Default Alt Text
update ESP (373 B)
Attached To
Mode
P484 update ESP
Attached
Detach File
Event Timeline
Log In to Comment