View Single Post
  #8   (View Single Post)  
Old 14th April 2011
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

Step by step guide for creating a bootable stick -- assuming it's sd0 for these examples, the filesets have been downloaded locally, and that /mnt is currently available. This wipes the stick and dedicates it to OpenBSD as a single partition. Using the stick for other purposes assumes you know how to use fdisk(8) and disklabel(8).
  1. # fdisk -iy sd0
  2. # disklabel -E sd0
  3. z
  4. a a
  5. (press Enter until the "a" partition is created, taking the defaults to create a partition of the entire stick.)
  6. q
  7. y
  8. # newfs sd0a
  9. # mount /dev/sd0a /mnt
  10. # cp /usr/mdec/boot /mnt
  11. # /usr/mdec/installboot -v /mnt/boot /usr/mdec/biosboot sd0
  12. # cp /path/to/filesets/{bsd.rd,*.tgz} /mnt
  13. # umount /mnt
Reply With Quote