View Single Post
  #9   (View Single Post)  
Old 14th April 2011
Oko's Avatar
Oko Oko is offline
Rc.conf Instructor
 
Join Date: May 2008
Location: Kosovo, Serbia
Posts: 1,102
Default

Quote:
Originally Posted by jggimi View Post
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
It is much easier just to plug USB stick into the computer which has CD drive and do the regular installation on USB stick which should be sdXXX (the number will vary of course but with the system with IDE HDD should be zero). Then set BIOS option in the tablet without CD drive to USB boot. Do the boot from USB stick but boot kernel bsd.rd instead of bsd kernel. You can than proceed with the regular network installation for example or use the sets which you previously downloaded in a designated directory of the USB drive.
If you decide to boot bsd kernel you have just live USB driven computer.

Cheers,
OKO
Reply With Quote