{"id":92,"date":"2004-07-17T20:38:03","date_gmt":"2004-07-18T01:38:03","guid":{"rendered":"http:\/\/192.168.33.66\/wp\/?p=92"},"modified":"2004-07-17T20:38:03","modified_gmt":"2004-07-18T01:38:03","slug":"open-bsd-flash-drive-boot","status":"publish","type":"post","link":"http:\/\/www.wildow.com\/blog\/?p=92","title":{"rendered":"open bsd flash drive boot"},"content":{"rendered":"<p>Many thanks to Toby Weingartner for the help. The answer (once handed<br \/>\nto me on a silver platter) was dreadfully simple. Boot off a floppy,<br \/>\nand do &#8220;machine disk&#8221; at the boot prompt. Compare the results with and<br \/>\nwithout the drive attached. In my case the difference was just one line<\/p>\n<p>with pen drive<br \/>\n==============<br \/>\ndisk: fd0 fd1 hd0+ hd1+*<br \/>\n>> OpenBSD\/i386 BOOT 2.01<br \/>\nboot> machine disk<br \/>\nDisk    BIOS#   Type    Cyls    Heads   Secs    Flags   Checksum<br \/>\nfd0     0x0     floppy  80      2       18      0x2     0x0<br \/>\nfd1     0x1     *none*  80      2       18      0x4     0x0<br \/>\nhd0     0x80    SCSI    63      255     63      0x2     0x8554854f<br \/>\nhd1     0x81    unknown 1022    240     63      0x0     0x34b5ae57<\/p>\n<p>without pen drive<br \/>\n=================<br \/>\ndisk: fd0 fd1 hd0+*<br \/>\n>> OpenBSD\/i386 BOOT 2.01<br \/>\nboot> machine disk<br \/>\nDisk    BIOS#   Type    Cyls    Heads   Secs    Flags   Checksum<br \/>\nfd0     0x0     floppy  80      2       18      0x2     0x0<br \/>\nfd1     0x1     *none*  80      2       18      0x4     0x0<br \/>\nhd0     0x80    unknown 1022    240     63      0x0     0x34b5ae57<\/p>\n<p>Thus, you&#8217;d say something like &#8220;fdisk -c 63 -h 255 -c 63 -i sd0&#8221; and<br \/>\n&#8220;\/usr\/mdec\/installboot -h 255 -c 63 -v \/mnt\/boot \/usr\/mdec\/biosboot sd0&#8221;<\/p>\n<p>So now I have a shiny happy usb flash disk I can use to patch up bootblocks,<br \/>\nkeep crypto keys on, etc. Thanks Toby!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Many thanks to Toby Weingartner for the help. The answer (once handed to me on a silver platter) was dreadfully simple. Boot off a floppy, and do &#8220;machine disk&#8221; at the boot prompt. Compare the results with and without the &#8230; <a class=\"more-link\" href=\"http:\/\/www.wildow.com\/blog\/?p=92\">Read More &raquo;<\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-92","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/92","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=92"}],"version-history":[{"count":0,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/92\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=92"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=92"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=92"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}