mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 05:58:57 +00: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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=265017
@ -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 New Issue
Block a user