15 | | build# gpart create -s MBR md0 |
16 | | build# gpart add -t freebsd -s 2G |
17 | | build# gpart add -t freebsd -s 2G |
18 | | build# gpart add -t freebsd -s 1G |
19 | | build# newfs md0s1 md0s2 md0s3 |
| 15 | Master MBR code: |
| 16 | build# gpart create -s MBR $MD |
| 17 | |
| 18 | 3 Partitions: |
| 19 | build# gpart add -t freebsd -s 2G $MD |
| 20 | build# gpart add -t freebsd -s 2G $MD |
| 21 | build# gpart add -t freebsd-ufs -s 1G $MD |
| 22 | |
| 23 | 2 of them are BSD based: |
| 24 | build# gpart create -s BSD -n 20 ${MD}s1 |
| 25 | build# gpart add -t freebsd-ufs ${MD}s1 |
| 26 | build# gpart create -s BSD -n 20 ${MD}s2 |
| 27 | build# gpart add -t freebsd-ufs ${MD}s1 |
| 28 | |
| 29 | Make the two partitions bootable: |
| 30 | build# gpart bootcode -b /boot/boot0 ${MD} |
| 31 | build# gpart bootcode -b /boot/boot ${MD}s1 |
| 32 | build# gpart bootcode -b /boot/boot ${MD}s2 |
| 33 | |
| 34 | Format the filesystems: |
| 35 | build# newfs md0s1a md0s2a md0s3 |