LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 2581|回复: 5

OpenBSD3.5 非官方ISO 文件下载--及 OpenBSD ISO 文件制作方法

[复制链接]
发表于 2004-5-29 23:30:44 | 显示全部楼层 |阅读模式
如题,
谢谢.
 楼主| 发表于 2004-5-30 00:25:29 | 显示全部楼层
自己动手,丰衣足食,呵呵

Unofficial Bootable ISO Image for i386
ftp://ftp.giga.net.tw/OS/OpenBSD ... D-3.5-i386-GIGM.iso
 楼主| 发表于 2004-5-30 00:27:02 | 显示全部楼层
Making a bootable OpenBSD installation CDROM for i386 using snapshot.
http://www.cocoavillagepublishin ... openbsd/tips/cdrom/

This information is distributed in the hope that it will be useful, with the understanding that the information presented is from various sources and application experiences, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  The information for installing that is on the OpenBSD website is sufficient for someone familiar with administering BSD Unix.  For the purpose of documenting what you do and doing what you document we clarify some of the information here for this specific solution.

A situation may arise where you need a bootable install cdrom for OpenBSD immediately or you need a recent or snapshot release to install by cdrom.  Otherwise you should purchase the install cdrom to support OpenBSD: http://openbsd.org/orders.html

Most new computers based on the i386 architecture can now finally boot from a CDROM. These instructions outline how to create a bootable CDROM for installing OpenBSD on this architecture..

Get your files organized. The OpenBSD installer expects to see a CDROM with a directory structure of /version_number/architecture/, where version_number is the current version, and architecture is i386. For a minimal boot image, all that's needed are the tarred gzipped install files, the bsd kernel, and the cdromxx.fs floppy image.

These files need to be arranged in a directory, example for an OpenBSD snapshot for i386 build targeted for 3.4 version.

    mkdir OpenBSD
    mkdir OpenBSD/3.5
    mkdir OpenBSD/3.5/i386

    If you know what you are doing and have a machine with current, you could make your own install software rather than using the FTP site,  read man release if you are up to the challenge ;).  Else, use ftp to copy the necessary files into the OpenBSD/3.3/i386 directory.  Also try to pick a nearer mirror of ftp.openbsd.org to spread out the load on the supporting infrastructure.

$ cd OpenBSD/snapshots/i386
$ ftp -n ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/i386/*
$ ls   #example
CKSUM         INSTALL.dbr   INSTALL.mbr   MD5           
bsd.rd        etc35.tgz     floppyC35.fs  man35.tgz     
xfont35.tgz   INSTALL.ata   INSTALL.i386  INSTALL.os2br
base35.tgz    cdrom35.fs    floppy35.fs   game35.tgz   
misc35.tgz    xserv35.tgz   INSTALL.chs   INSTALL.linux
INSTALL.pt    bsd           comp35.tgz    floppyB35.fs  
index.txt     xbase35.tgz   xshare35.tgz

$ cd ../../..   # one folder above OpenBSD

Now all you need is to use mkisofs or mkhybrid to create an iso image:

    mkhybrid -r -b 3.5/i386/cdrom35.fs -c "boot.catalog" -o OpenBSD_snapshot.iso OpenBSD

This command creates a ISO9660 CD with Rock Ridge extensions, which will boot from the floppy image in cdrom34.fs. The image is output to OpenBSD.iso. You can then burn this onto a CDROM with anything that knows how to burn ISO images. I've used cdrecord on OpenBSD, or copied the file onto a Windows box and used the recording software there.

Or if you are using a Microsoft platform to make the cdrom, Make sure the files are brought over to your MS machine in "binary" not ascii and use a cdrom burning software like "Nero" and setup to be ISO9660 with no extensions like Joliet and set the boot file as afore mentioned.

It is best to purchase the original installation cdroms, but if you must use current builds, the above can work. And you should go to the OpenBSD website and donate money, labor and/or hardware!  The sales of OpenBSD official cdroms are a large part of the funding that makes OpenBSD possible. Yes you should feel guilt if you benefit but don't purchase the authentic OpenBSD installation cdroms,  participate in development, help other users, nor fund OpenBSD:  http://openbsd.org/goals.html#funding
发表于 2004-5-30 06:37:28 | 显示全部楼层
This is a quick howto to create bootable OpenBSD ISO image.

Alternatively, you can download unofficial ISO image from the
following address:
    ftp://ftp.zedz.net/pub/OpenBSD.iso/


#!/bin/sh
#
# This script is to create OpenBSD bootable ISO image from binaries
#

VER=3.5
SVER=35

# Download files
wget --mirror -c ftp://ftp.openbsd.org/pub/OpenBSD/$VER/ANNOUNCEMENT
wget --mirror -c ftp://ftp.openbsd.org/pub/OpenBSD/$VER/Changelogs/
wget --mirror -c ftp://ftp.openbsd.org/pub/OpenBSD/$VER/HARDWARE
wget --mirror -c ftp://ftp.openbsd.org/pub/OpenBSD/$VER/PACKAGES
wget --mirror -c ftp://ftp.openbsd.org/pub/OpenBSD/$VER/PORTS
wget --mirror -c ftp://ftp.openbsd.org/pub/OpenBSD/$VER/README
wget --mirror -c ftp://ftp.openbsd.org/pub/OpenBSD/$VER/SIZES
wget --mirror -c ftp://ftp.openbsd.org/pub/OpenBSD/$VER/XF4.tar.gz
wget --mirror -c ftp://ftp.openbsd.org/pub/OpenBSD/$VER/ftplist
wget --mirror -c ftp://ftp.openbsd.org/pub/OpenBSD/$VER/i386/
wget --mirror -c ftp://ftp.openbsd.org/pub/OpenBSD/$VER/ports.tar.gz
wget --mirror -c ftp://ftp.openbsd.org/pub/OpenBSD/$VER/root.mail
wget --mirror -c ftp://ftp.openbsd.org/pub/OpenBSD/$VER/src.tar.gz
wget --mirror -c ftp://ftp.openbsd.org/pub/OpenBSD/$VER/sys.tar.gz
wget --mirror -c ftp://ftp.openbsd.org/pub/OpenBSD/$VER/tools/
wget --mirror -c ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/

# Now change the layout
cd ftp.openbsd.org/pub/OpenBSD/$VER/
mkdir src
mv XF4.tar.gz src.tar.gz sys.tar.gz src/
mv ../OpenSSH .

# Now we are in the directory $VER/
cd ../..
# Now we are in the directory pub/

# Now make the ISO image
mkisofs -r -R -J -b $VER/i386/cdrom$SVER.fs -c "boot.catalog" -o ../OpenBSD-$VER-install.iso -V "OpenBSD $VER Installation" -A "OpenBSD $VER Installation" OpenBSD


# End of the howto
发表于 2004-5-30 17:37:47 | 显示全部楼层
推薦一個下載地址。

http://ftp.giga.net.tw/
发表于 2005-1-12 16:35:17 | 显示全部楼层
Post by 忘不了
推薦一個下載地址。

http://ftp.giga.net.tw/

good
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表