{"id":67,"date":"2009-05-27T15:07:56","date_gmt":"2009-05-27T19:07:56","guid":{"rendered":"http:\/\/puck.nether.net\/~jared\/blog\/?p=67"},"modified":"2009-05-28T10:19:52","modified_gmt":"2009-05-28T14:19:52","slug":"freebsd-usb-boot","status":"publish","type":"post","link":"https:\/\/puck.nether.net\/~jared\/blog\/?p=67","title":{"rendered":"FreeBSD USB Boot"},"content":{"rendered":"<p>One of the common perils of FreeBSD is that it&#8217;s not as user friendly in some cases as I believe it should be.  It has taken some time for DVD images to become common for installation, and creating a bootable USB device has been problematic at times too.  I figured I would provide an image that has worked (for me) on a few different systems.  It doesn&#8217;t always work, but should help you out in a pinch.  It enables console on the serial ports (com1\/com2) after it boots up, so can help out in a pinch since the distributed bootable media does not include obvious ways to access utilities such as ufs\/ffs capable mount or ways to put the console on com2 without rebuilding from source.<\/p>\n<p>I hope this link helps you (and others) out, and if it does, I will try to post updated USB media images to help others.<\/p>\n<p><a href=\"http:\/\/puck.nether.net\/~jared\/mirror\/FreeBSD-7.1p4.dmg.bz2\">http:\/\/puck.nether.net\/~jared\/mirror\/FreeBSD-7.1p4.dmg.bz2<\/a> &#8211; MD5 (FreeBSD-7.1p4.dmg.bz2) = 2ca1fd7a66d9251d503fdd56ff2b9707<\/p>\n<p>This image is for 512MB media and has no root password set, uses GRUB 0.97 and enables console on ttyd0\/ttyd1.  GRUB also should be enabled for both the serial console (COM1) &#038; monitor.  The same is true for the FreeBSD loader.<\/p>\n<p>You will need to uncompress this (bunzip2) and write it to your USB media with a tool such as dd.<\/p>\n<p>*WARNING* Make sure you use the correct output file (device).<\/p>\n<p>Example:<\/p>\n<pre>\r\ndd if=FreeBSD-7.1p4.dmg of=\/dev\/da0 bs=1024k\r\n483+1 records in\r\n483+1 records out\r\n506986496 bytes transferred in 51.327206 secs (9877539 bytes\/sec)\r\n<\/pre>\n<p>If you want to write this from a mac, find the correct device eg:<\/p>\n<pre>sh-3.2# diskutil list\r\n\/dev\/disk0\r\n   #:                       TYPE NAME                    SIZE       IDENTIFIER\r\n   0:      GUID_partition_scheme                        *931.5 Gi   disk0\r\n   1:                        EFI                         200.0 Mi   disk0s1\r\n   2:                  Apple_HFS Macintosh HD            931.2 Gi   disk0s2\r\n\/dev\/disk2\r\n   #:                       TYPE NAME                    SIZE       IDENTIFIER\r\n   0:     FDisk_partition_scheme                        *483.5 Mi   disk2\r\n   1:                    FreeBSD                         483.0 Mi   disk2s1<\/pre>\n<p>In this case, you want \/dev\/disk2<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the common perils of FreeBSD is that it&#8217;s not as user friendly in some cases as I believe it should be. It has taken some time for DVD images to become common for installation, and creating a bootable USB device has been problematic at times too. I figured I would provide an image [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[8],"_links":{"self":[{"href":"https:\/\/puck.nether.net\/~jared\/blog\/index.php?rest_route=\/wp\/v2\/posts\/67"}],"collection":[{"href":"https:\/\/puck.nether.net\/~jared\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/puck.nether.net\/~jared\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/puck.nether.net\/~jared\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/puck.nether.net\/~jared\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=67"}],"version-history":[{"count":7,"href":"https:\/\/puck.nether.net\/~jared\/blog\/index.php?rest_route=\/wp\/v2\/posts\/67\/revisions"}],"predecessor-version":[{"id":74,"href":"https:\/\/puck.nether.net\/~jared\/blog\/index.php?rest_route=\/wp\/v2\/posts\/67\/revisions\/74"}],"wp:attachment":[{"href":"https:\/\/puck.nether.net\/~jared\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=67"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/puck.nether.net\/~jared\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=67"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/puck.nether.net\/~jared\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=67"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}