首先去官方下载页面找个合适的镜像.

我选择的是FreeBSD-10.1-RELEASE-amd64-uefi-memstick.img.xz这个.下载解压. 其次,准备一个足够大的U盘(因为镜像其实非常小,700+mb,我1G的U盘都找不到,只好拿了个8G的过来了).

插上USB,确认在/dev中的位置.一般名字叫disk4 之类的名字.注意多插拔几次,确认没有定位错U盘的label,要是写错地方就不好玩了.

系统会自动挂载U盘,所以要先umount掉它,不然效果是

$ sth_to_the_disk /dev/disk4
xx: /dev/disk4: Resource busy

umount的命令如下

sudo diskutil umount /dev/disk4

然后用dd可以很容易的把镜像写进去

$ sudo dd if='FreeBSD-10.1-RELEASE-amd64-uefi-memstick.img' of='/dev/disk4' bs='10240'
Password:
71704+1 records in
71704+1 records out
734251520 bytes transferred in 274.743944 secs (2672494 bytes/sec)

然后拔掉U盘就可以找地方试试了

Reference : https://www.freebsd.org/doc/handbook/install-advanced.html

Categories: Code

Yu

Ideals are like the stars: we never reach them, but like the mariners of the sea, we chart our course by them.

4 Comments

FROYO · March 30, 2015 at 20:37

Google Chrome 41.0.2272.101 Google Chrome 41.0.2272.101 Windows 7 x64 Edition Windows 7 x64 Edition

老大你太能折腾了

    yu · March 31, 2015 at 15:59

    Google Chrome 41.0.2272.104 Google Chrome 41.0.2272.104 Mac OS X  10.10.2 Mac OS X 10.10.2

    @FROYO XD … 老板送我台淘汰掉的IBM塔机,所以做个盘装下玩玩.

    yu · March 31, 2015 at 16:00

    Google Chrome 41.0.2272.104 Google Chrome 41.0.2272.104 Mac OS X  10.10.2 Mac OS X 10.10.2

    @FROYO 虽然07年的服务器能有那性能也蛮不错的其实

      FROYO · March 31, 2015 at 16:03

      Google Chrome 41.0.2272.101 Google Chrome 41.0.2272.101 Windows 7 x64 Edition Windows 7 x64 Edition

      @yuik 07年的服务器大概是E5450 x 2这个样子吧

Leave a Reply to yu Cancel reply

Your email address will not be published. Required fields are marked *