{"id":1494,"date":"2013-12-08T13:41:58","date_gmt":"2013-12-08T05:41:58","guid":{"rendered":"http:\/\/blog.hoyo.idv.tw\/?p=1494"},"modified":"2019-11-06T10:51:43","modified_gmt":"2019-11-06T02:51:43","slug":"%e7%94%a8%e8%a4%87%e8%a3%bd%e5%8f%96%e4%bb%a3%e5%ae%89%e8%a3%9d-freebsd-%e7%b3%bb%e7%b5%b1-usb-%e7%a1%ac%e7%a2%9f%e8%a4%87%e8%a3%bd%e8%a1%93","status":"publish","type":"post","link":"https:\/\/blog.hoyo.idv.tw\/?p=1494","title":{"rendered":"\u7528\u8907\u88fd\u53d6\u4ee3\u5b89\u88dd FreeBSD \u7cfb\u7d71 USB \u786c\u789f\u8907\u88fd\u8853"},"content":{"rendered":"<p>freebsd<\/p>\n<ul>\n<li><a style=\"font-style: normal;\" href=\"http:\/\/www.amitabhkant.com\/partition-automation-in-bsdinstall-auto-script-in-freebsd\/\">Partition automation in bsdinstall auto script in FreeBSD | Amitabh Kant<\/a><\/li>\n<li><a href=\"http:\/\/blog.lance.tw\/posts\/2012\/08\/22\/manually-install-freebsd-90-release-on-gpt-and-gmirror\/\">Manually Install FreeBSD 9.0 Release on GPT and Gmirror<\/a><\/li>\n<\/ul>\n<p><strong>\u6e05\u9664\u6240\u6709\u8cc7\u6599<\/strong><\/p>\n<pre class=\"lang:default decode:true\">gpart destroy -F ada1<\/pre>\n<p><strong>\u4f86\u6e90 FreeBSD \u7cfb\u7d71\u5206\u5272\u60c5\u6cc1<\/strong><\/p>\n<p style=\"color: #333333; line-height: 24px;\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1503\" style=\"color: #333333; font-style: normal;\" src=\"\/\/blog.hoyo.idv.tw\/wp-content\/uploads\/2013\/11\/20131111_001.png\" alt=\"20131111_001\" width=\"520\" height=\"138\" srcset=\"https:\/\/blog.hoyo.idv.tw\/wp-content\/uploads\/2013\/11\/20131111_001.png 520w, https:\/\/blog.hoyo.idv.tw\/wp-content\/uploads\/2013\/11\/20131111_001-300x79.png 300w, https:\/\/blog.hoyo.idv.tw\/wp-content\/uploads\/2013\/11\/20131111_001-500x132.png 500w\" sizes=\"(max-width: 520px) 100vw, 520px\" \/><\/p>\n<p style=\"color: #333333; line-height: 24px;\"><strong>\u5c07\u65b0\u786c\u789f\u5206\u5272<\/strong><\/p>\n<pre class=\"lang:default decode:true\">gpart create -s gpt da1\r\ngpart add -t freebsd-boot -l gpboot -s 64K da1\r\ngpart add -t freebsd-ufs -l gprootfs -s 196g da1\r\ngpart add -t freebsd-swap -l gpswap -s 4G da1\r\ngpart bootcode -b \/boot\/pmbr -p \/boot\/gptboot -i 1 da1<\/pre>\n<p><strong>\u683c\u5f0f\u5316\u53ca\u8907\u88fd\u7cfb\u7d71<\/strong><\/p>\n<pre class=\"lang:default decode:true \">newfs -U \/dev\/da1p2\r\nmkdir \/mnt\/usbhd\r\nmount \/dev\/da1p2 \/mnt\/usbhd\/\r\ncd \/mnt\/usbhd\r\ndump -f- \/ | restore -f- -r<\/pre>\n<p>--<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p class=\"pvc_stats all \" data-element-id=\"1494\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> &nbsp;5,058&nbsp;total views<\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>freebsd Partiti...<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p class=\"pvc_stats all \" data-element-id=\"1494\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> &nbsp;5,058&nbsp;total views<\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[259],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/1494"}],"collection":[{"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1494"}],"version-history":[{"count":24,"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/1494\/revisions"}],"predecessor-version":[{"id":6323,"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/1494\/revisions\/6323"}],"wp:attachment":[{"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1494"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1494"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1494"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}