mirror of
https://github.com/opnsense/src.git
synced 2026-04-02 16:05:17 -04:00
loader's GPT support on BIOS does not seem to like the root filesystem
being the last filesystem on the disk for some reason when made by this script. Add a vestigial swap partition to allow this to boot with QEMU BIOS.
This commit is contained in:
parent
235591a578
commit
faecd0da18
1 changed files with 1 additions and 1 deletions
|
|
@ -36,6 +36,6 @@ if [ $? -ne 0 ]; then
|
|||
fi
|
||||
rm ${1}/etc/fstab
|
||||
|
||||
mkimg -s gpt -b ${1}/boot/pmbr -p freebsd-boot:=${1}/boot/gptboot -p efi:=${1}/boot/boot1.efifat -p freebsd-ufs:=${2}.part -o ${2}
|
||||
mkimg -s gpt -b ${1}/boot/pmbr -p efi:=${1}/boot/boot1.efifat -p freebsd-boot:=${1}/boot/gptboot -p freebsd-ufs:=${2}.part -p freebsd-swap::1M -o ${2}
|
||||
rm ${2}.part
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue