发新话题
打印

[转载]How to make an OpenBSD bootable install CD

[转载]How to make an OpenBSD bootable install CD

信息来源:http://forum.cnfug.org/index.php?showtopic=1965

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 with OpenBSD 3.4. Architecture i386.

1. To start you will need to download and install a program called "mkisofs" (I am using version 2.01). This is the program that will make the ISO image that we can burn to a CD. I have only used this on NIX type systems I am not sure if it is available for windows. Search freshmeat.net if you need to find it. Or if you have a Debian GNU/Linux system (like me) you can just type
复制内容到剪贴板
代码:
# apt-get install mkisofs
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.4). 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.
复制内容到剪贴板
代码:
# mkdir -p OpenBSD/3.4/i386
# cd OpenBSD/3.4/i386
3. Now stay in the "i386" directory. This is where we are going to put our install binaries. Find a mirror and download the following binaries (below) from the i386 architecture directory like ftp://ftp3.usa.openbsd.org/pub/OpenBSD/3.4/i386. The following command will download the entire remote directory to the current local directory if you have the program ncftp installed.
复制内容到剪贴板
代码:
/tmp/OpenBSD/3.4/i386# ncftpget [url]ftp://ftp3.usa.openbsd.org/pub/OpenBSD/3.4/i386/[/url]*
复制内容到剪贴板
代码:
base34.tgz
bsd
bsd.rd
cdrom34.fs
comp34.tgz
etc34.tgz
floppy34.fs
game34.tgz
man34.tgz
misc34.tgz
This list does not include the X binaries. If you want those then download those as well. Or to be safe then just download the whole 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 cdrom34.fs to be our boot image for the CD. If this image has boot problems on your computer then you can try the floppy34.fs as your boot image. Please see the mkisofs man page for what the options are for. Please note that if /tmp/OpenBSD/OpenBSD34.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.4/i386# cd ../../
/tmp/OpenBSD# mkisofs -vrTJV "OpenBSD34" -b 3.4/i386/cdrom34.fs -c boot.catalog -o OpenBSD34.iso /tmp/OpenBSD/
5. Now you should have a ISO image named "OpenBSD34.iso" in the /tmp/OpenBSD directory. Take this ISO image and burn it to a CD using your favorite burning program. Enjoy!
qq310926是我唯一用号,除此之外有其他号码号自称邪八冰血封情,则非本人。

TOP

我喜欢Debian,apt-get可匹比FB ports,规范而品味
大隐于市

TOP

引用:
下面是引用helvin于07-09-2005 13:15发表的:
我喜欢Debian,apt-get可匹比FB ports,规范而品味
以下引用原转帖者Bibby语:
引用:
Ports是从源代码安装软件,而APT-GET只获取已编译好的二进制包,不一样的概念
qq310926是我唯一用号,除此之外有其他号码号自称邪八冰血封情,则非本人。

TOP

呵呵~~你以为用一个操作系统是在用它的形式?我更欣赏他的灵魂,APT-GET说白了就是一种解包安装工具,Ports就是编译工具。但是两者在统一的精神上是一致的,都是非常纯正的软件和包
这样说可能多数人不太理解,打个比方说,小女孩有青春阳光形,有可爱活泼型的,还有忧郁型的,他们都是姣好纯洁的小女孩吗,跟那些三八婆大大的不同

Debian是由一个公众的团体维护,跟FreeBSD一样,严格遵循着一些开源协议。Linux因为发展过于迅速,极少数的能以这种形式发展起来,Debian就是一个。不像有些给人感觉赚钱的成分多了,服务的东西少了。

从技术上说,肯定两者是完全不同的方式,一个是从APT站点下载的已经最佳编译优化并开启所有参数的二进制包,另一个则是从站点下载源码来进行一个可简单选择安装方式的编译安装或者编译升级过程

你是从哪里弄得原作者这句话,不会是又拿了我不明真意的原话去丢人了吧。使用一些东西不但要使用它的方便快捷,更要会欣赏他的内涵,一些不是技术所能表现的东西,作为自己的信仰,姑且这么说吧。我脑子不太好用,记得有句话是这么说的:没有信仰的人是XX的。只有我们掺杂了自己的情感,才能真正的去热爱一些东西。

我不再传教了,看大家都快睡着了,等你什么时候有了认识再谈吧
大隐于市

TOP

引用:
下面是引用EvilOctal于07-10-2005 03:02发表的:
冰血我成传话筒了
还好没成出气筒啊!

TOP

发新话题