- # gpart destroy -F ada0
- ada0 destroyed
- # gpart create -s MBR ada0
- ada0 created
- # gpart show ada0
- => 63 976773105 ada0 MBR (465G)
- 63 976773105 - free - (465G)
- # reboot
我分了70GB给Win7 ,分区的时候会自动占用2个主分区 其中一个是100MB
3> 从FreeBSD9.0 U盘 启动,开始安装FreeBSD9.0 (安装步骤参考官方手册)
安装过程中将剩余硬盘空间分给FreeBSD
分区状况:
- ko# gpart show
- => 63 976773105 ada0 MBR (465G)
- 63 1985 - free - (992k)
- 2048 204800 1 ntfs (100M)
- 206848 147210240 2 ntfs (70G)
- 147417088 14 - free - (7.0k)
- 147417102 828374967 3 freebsd [active] (395G)
- 975792069 981099 - free - (479M)
- => 0 828374967 ada0s3 BSD (395G)
- 0 20971520 1 freebsd-ufs (10G)
- 20971520 16777216 2 freebsd-swap (8.0G)
- 37748736 230686720 4 freebsd-ufs (110G)
- 268435456 4194304 5 freebsd-ufs (2.0G)
- 272629760 272629760 6 freebsd-ufs (130G)
- 545259520 283115446 7 freebsd-ufs (135G)
- 828374966 1 - free - (512B)
4> 启动管理
To enable just slices 1 and 2 in the menu:
- # boot0cfg -m 0x5 ada0
- # man boot0cfg