Rename gptboot0 to gptboot on single-disk UFS
This commit is contained in:
parent
c9353f1736
commit
d3369d321a
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ truncate -s 6G "$ufsdisk"
|
|||
mdconfig -a -t vnode -f "$ufsdisk" -u md1
|
||||
gpart create -s gpt /dev/md1
|
||||
#gpart add -t efi -l efiboot0 -s 260M md1
|
||||
gpart add -t freebsd-boot -l gptboot0 -b 40 -s 512K md1
|
||||
gpart add -t freebsd-boot -l gptboot -b 40 -s 512K md1
|
||||
gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 md1
|
||||
gpart add -t freebsd-ufs -l rootfs -b 1M -s 5G md1
|
||||
newfs -U /dev/md1p2
|
||||
|
|
Loading…
Reference in a new issue