Do not nest the BSD and MBR partitions, which produces

an unbootable image.  Use just an MBR scheme instead.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
gjb 2015-04-27 18:07:11 +00:00
parent 950cd460e5
commit b89a2746c3

View File

@ -36,8 +36,6 @@ if [ $? -ne 0 ]; then
fi
rm ${1}/etc/fstab
mkimg -s bsd -p freebsd-ufs:=${2}.part -p freebsd-swap::1M -o ${2}.tmp
mkimg -s mbr -p efi:=${1}/boot/boot1.efifat -p freebsd:=${2}.tmp -o ${2}
rm ${2}.tmp
mkimg -s mbr -p efi:=${1}/boot/boot1.efifat -p freebsd:=${2}.part -o ${2}
rm ${2}.part