View Single Post
  #6   (View Single Post)  
Old 5th February 2010
junfengfan junfengfan is offline
New User
 
Join Date: Feb 2010
Posts: 2
Default

Quote:
Originally Posted by BSDfan666 View Post
The way described by Oko is the best way, install OpenBSD onto the USB drive (..including bsd.rd) and you should be able to boot the device on any other system, baring any unforeseen problems.. USB booting isn't perfect.

If you already have an existing installing, you can prepare the device using fdisk(8)/disklabel(8), newfs(8) and installboot(8).

Vague example, do not copy paste.. you risk all your drives.. read the manuals.
$ sudo fdisk -e /dev/rsd?c
[...]
$ sudo disklabel -E /dev/rsd?c
[...]
$ sudo newfs /dev/rsd?a
$ sudo mount /dev/sd?a /mnt
$ sudo cp /boot /mnt; sudo cp /bsd.rd /mnt/bsd

This would be a good time to make a directory on the device for the installations sets, kernels and perhaps a few packages.

Finally,
$ sudo /usr/mdec/installboot -v /mnt/boot /usr/mdec/biosboot /dev/rsd?c

Have fun.
i have done "openbsd usb boot", it can install ,but computer reboot ,show pictures:
~~~~~~~~~~
Welcome to the OpenBSD/i386 4.6 installation program.
(I)nstall,(U)pgrade or (S)hell?

computer can't go !

of course ,i unplug usb!
please this is what reason?

Last edited by ocicat; 5th February 2010 at 11:45 AM. Reason: Your email address has been removed. Spammers will harvest them from these forums & flood your inbox.
Reply With Quote