Create an OpenBSD BOOT CD |
| Written by Daniel | |
|
The OpenBSD team does not supply its users with BOOT-ABLE CD Images, this kind of images are official releases that are commercial. This guide is related to those of you that can not buy the official CD but have a decent Internet connection. You will have to download the OpenBSD packages and create your own OpenBSD BOOT CD. This guide is written for version 4.0 of OpenBSD.
Lets start by creating a directory for storing the repository / packages. user@host:~/soft/openbsd$ mkdir iso We now enter the ISO directory and create the following directories.
user@host:~/soft/openbsd$ cd iso After creating this directories and the tree structure we need to download all the repository / packages from the official ftp locate here : http://www.openbsd.org/ftp.html . We are using ftp://ftp5.usa.openbsd.org/pub/OpenBSD/ and downloaded the files for the i386 architecture. Thus we need the following structure in our main directory :
# minimal install
# ports Next we are downloading all the required files from ftp://ftp5.usa.openbsd.org/pub/OpenBSD/4.0/i386/ in packages/i386 or any other location. Next we need to download the ISO file that we are going to use on our BOOT CD ftp://ftp5.usa.openbsd.org/pub/OpenBSD/4.0/i386/cdrom40.fs . Now that we have all the files we need we can build our ISO using the mkisofs command from the cdrecord package. This are the commands you need to run :
user@host:~/soft/openbsd$ mkisofs -v -r -V "OpenBSD 4.0" -b cdrom40.fs
-c boot.catalog -o OpenBSD-i386-4.0.iso iso/ -V : Specifies the ISO name that will be written in the MASTER BLOCK on the ISO.
-b : Specifies the path and the boot image file used in creating the CD
Once the ISO is created you can burn the CD using CDRECORD or any other available soft : user@host:~/soft/openbsd$ cdrecord -dev=0,1,0 -speed=16 -v OpenBSD-i386-4.0.iso One can determine all the parameters using the -dev command for CDRECORD -scanbus .
Do you need more help? Ask now!
|
|
| Last Updated ( Saturday, 23 June 2007 ) |