Ëæ×ÅOpenBSD4.0µÄ·¢²¼£¬ÐÂÒ»Âֵij¢ÏÊ¡¢Éý¼¶¡¢°²×°¡¢²âÊÔÓÖÒª¿ªÊ¼¡£¶ÔÓÚÐÂÊÖ£¨°üÀ¨ÎÒÔÚÄÚ£©ÕâµÚÒ»²½±ãÊÇÈçºÎÖÆ×÷°²×°ÅÌ£¬ÍøÉÏÏֳɵÄÎÄÕ³ɶѣ¬ÁíÍ⻹ÓиßÊÖ£¨Ò»°ã¶¼Ç«ÐéµØ˵×Ô¼º²»ÊÇ£©ÖÆ×÷µÄ×Ô¶¯»¯½Å±¾£¬¼«´óµÄ·½±ãÁËÖÆ×÷¹ý³Ì¡£²»¹ýÕâÀïÒý·¢ÁËÁ½¸öÎÊÌ⣬ÆäÒ»£º´ó²¿·ÖÍøÉϵÄÎÄÕ£¬ÕâµÚÒ»²½´ÓOpenBSDÕ¾µãÏÂÔÚËùÐèÎļþµÄ·½·¨¾ÍÓÐЩÎÊÌ⣨ҲÐíÊÇÎÒÈËÆ·ÎÊÌ⣩£¬ËùÒÔÎÒ²ÅдÕâ¸ö¡°¼òµ¥ÐÞÕý¡±¡£Æä¶þ£ºÈ˼ҸøÄãÖÆ×÷ÁË×Ô¶¯»¯½Å±¾£¬ÔÚµÚһʱ¼ä·½±ãÁËÄãµÄ°²×°£¬µ«Èç¹ûÄ㻹ÊÇÏë×Ô¼º¶¯ÊÖ´Ó×î»ù´¡µÄ²¿·ÖÈëÊÖ£¬Ïë¸üϸ»¯¹æ·¶µÄѧϰ£¬ÏàÐÅÕâµÚÒ»²½»¹ÊÇͦÖØÒª£¬ÔúʵµÄ»ù´¡ÊÇÈÕºóÓÎÈÐÓÐÓàµÄ¸ù±¾¡£
ÖÆ×÷isoÓ³Ïñϵͳ»·¾³ÎªFreeBSD6.1£¬ËùÐ踽¼ÓÈí¼þcdrtools£¬µ±Ç°°æ±¾2.01_5£¬Î»ÓÚ/usr/ports/sysutils/cdrtools¡£
µÚÒ»²½£º½¨Á¢Îļþ¼Ð£¨¿ÉÑ¡£©£¬ÏÂÔØËùÐèÎļþ¡£
#mkdir -p /other/openbsd/4.0
#cd /other/openbsd/4.0
×¢£ºotherÊÇÎÒϵͳϵÄÒ»¸ö·ÖÇø£¬Äã¿ÉÒÔ°´ÕÕÄãµÄϵͳ»·¾³±äͨ£¬µ«Ê£ÓàÈÝÁ¿×îºÃ´óÓÚ500Õ×£¬ÖÁÓÚ½¨Á¢openbsdÎļþ¼Ð£¬ÍøÉÏͨ³£Ð´·¨ÀàËÆÓÚmkdir -p openbsd/4.0/i386£¬ÎÒÕâÀïÊ¡ÂÔÁËi386ÊÇÒòΪºóÃæµÄwgetÏÂÔعý³ÌÖлá×Ô¶¯½¨Á¢¡£
µÚ¶þ²½£ºÖÆ×÷isoÓ³Ïñ¡£
Õâ²½¿ÉÒÔ°²ÐĵÄʹÓÃÍøÉÏÎÄÕµÄÃüÁîÀ´Éú³ÉisoÓ³ÏñÁË£¬µ«ÌáÐÑÄã×¢ÒâÃüÁîÐÐÀïµÄ·¾¶¡£
#cd /other/openbsd £¨È·±£ÄãÔÚÕýÈ·µÄ·¾¶£©
#mkisofs -vrTJV ¡°OpenBSD40¡å -b 4.0/i386/cdrom40.fs -c boot.catalog -o OpenBSD40.iso ./
ÉÔµÈÒ»»á¶ù£¬Äã¾Í»áͨ¹ý×Ô¼ºµÄ²Ù×÷»ñµÃÒ»Õűê×¼µÄ¿ÉÒýµ¼OpenBSD°²×°ÅÌ£¬ÖÁÓڿ̼Â𣿱§Ç¸-°ï²»ÉÏ棬Õâ¸öÒ²ÒªÄã×Ô¼º¶¯ÊÖÁË£¬²»¹ý-¹À¼Æ²»Óÿ´½Ì³Ì£¬ÊDz»£¿:~)
___ ____ ____ ____ / _ \ _ __ ___ _ __ | __ ) ___|| _ \ | | | | '_ \ / _ \ '_ \| _ \___ \| | | || |_| | |_) | __/ | | | |_) |__) | |_| | \___/| .__/ \___|_| |_|____/____/|____/ |_|
How to make an OpenBSD bootable install CD.
Usually when I install OpenBSD I install using a boot floppy and download what I need thru FTP. But if you have to do an install without an internet connection then you have no choice but to use a CD. But the OpenBSD project does not offer downloadable ISO images like most linux distros. This is because they want you to buy their CD's which fund their project. If you use OpenBSD please buy something (shirts/posters/cd's/stickers) from their site to support their project. I buy t-shirts. But since I don't buy CD's I have to make my own. So this is how to make your own bootable OpenBSD CD.
This example was done for the OpenBSD 3.8. Architecture i386.
2. Next we need to make a few directories which will be the file system hierarchy. The top directory will be called "OpenBSD". The next directory down will be the version number of the OpenBSD release (3.8). The next directory down from that will be the architecture type (i386). In the architecture directory is where the install files will be going. Here is a quick example of making the hierarchy in the /tmp directory. Please switch to the root account to perform any steps if necessary.
/tmp> mkdir -p OpenBSD/3.8/i386
/tmp> cd OpenBSD/3.8/i386
/tmp/OpenBSD/3.8/i386>
or
CKSUM
INSTALL.i386
INSTALL.linux
MD5
base38.tgz
bsd
bsd.mp
bsd.rd
cd38.iso
cdboot
cdbr
cdemu38.iso
cdrom38.fs
comp38.tgz
etc38.tgz
floppy38.fs
floppyB38.fs
floppyC38.fs
game38.tgz
index.txt
man38.tgz
misc38.tgz
pxeboot
xbase38.tgz
xetc38.tgz
xfont38.tgz
xserv38.tgz
xshare38.tgz
This list includes all the files in the 3.8 directory.
4. Now we will make the ISO image. We will go back up to the "OpenBSD" directory and execute the "mkisofs" command with some options. We will be using the cdrom38.fs to be our boot image for the CD. If this image has boot problems on your computer then you can try the floppy38.fs as your boot image. Please see the mkisofs man page for what the options are for. Please note that if /tmp/OpenBSD/OpenBSD38.iso exists and you run mkisofs again it will simply append the new image to the old image. Thus making the new image twice as large with illegal directories. Ok execute the following commands:
/tmp/OpenBSD/3.8/i386> cd ../../
/tmp/OpenBSD>mkisofs -vrTJV "OpenBSD38" -b 3.8/i386/cdrom38.fs -c boot.catalog -o OpenBSD38.iso /tmp/OpenBSD/
5. Now you should have a ISO image named "OpenBSD38.iso" in the /tmp/OpenBSD directory. Take this ISO image and burn it to a CD using your favorite burning program. Enjoy!