mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
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:
parent
b18bade8c2
commit
082a550bba
1 changed files with 1 additions and 3 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue