{"height":"190","version":"1.0","author_name":"kurita1","type":"rich","title":"FreeBSD UEFI Boot partition","blog_title":"external storage 1","provider_url":"https://hatena.blog","image_url":null,"width":"100%","blog_url":"https://kurita1.hatenadiary.com/","url":"https://kurita1.hatenadiary.com/entry/2023/07/27/143946","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkurita1.hatenadiary.com%2Fentry%2F2023%2F07%2F27%2F143946\" title=\"FreeBSD UEFI Boot partition - external storage 1\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u624b\u52d5\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3001\u8d77\u52d5\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u5fa9\u65e7 Create the bootcode partition: for UEFI Boot: gpart add -a 4k -s 260M -t efi ada0 # Create a FAT32 partition newfs_msdos -F 32 -c 1 /dev/ada0p1 mount -t msdosfs -o longnames /dev/ada0p1 /mnt mkdir -p /mnt/EFI/BOOT cp /boot/loader.efi /mnt/EFI/BOOT/BOOTX64.efi umount /mnt https:/\u2026","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/kurita1/","categories":[],"published":"2023-07-27 14:39:46"}