Changes between Version 54 and Version 55 of FreeBSDOnEmbeddedDevice


Ignore:
Timestamp:
02/02/12 22:06:31 (12 years ago)
Author:
Rick van der Zwet
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FreeBSDOnEmbeddedDevice

    v54 v55  
    1313build# MD=`mdconfig embedded.img`
    1414
    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
     15Master MBR code:
     16build# gpart create -s MBR $MD
     17
     183 Partitions:
     19build# gpart add -t freebsd -s 2G $MD
     20build# gpart add -t freebsd -s 2G $MD
     21build# gpart add -t freebsd-ufs -s 1G $MD
     22
     232 of them are BSD based:
     24build# gpart create -s BSD -n 20 ${MD}s1
     25build# gpart add -t freebsd-ufs ${MD}s1
     26build# gpart create -s BSD -n 20 ${MD}s2
     27build# gpart add -t freebsd-ufs ${MD}s1
     28
     29Make the two partitions bootable:
     30build# gpart bootcode -b /boot/boot0 ${MD}
     31build# gpart bootcode -b /boot/boot ${MD}s1
     32build# gpart bootcode -b /boot/boot ${MD}s2
     33
     34Format the filesystems:
     35build# newfs md0s1a md0s2a md0s3
    2036= Disk population =
    2137