Subject: Re: openbsd 4.0
From: "KAWAMATA Yoshihiro" <kaw@on.rim.or.jp>
To: *@gmail.com
Date: Mon, 19 Mar 2007 16:00:57 +0900 (JST)
X-Mailer: Mew version 5.0.50 on Emacs 22.0.50 / Mule 5.0 (SAKAKI)
Hello,

In short, how to build a LiveCD image is as follows;

0. All work should be done on OpenBSD 4.0

1. Get a build tool.

    ftp http://kaw.ath.cx/dl/pub/OpenBSD/LiveCD/tools/tools-4.0.tar.gz

2. Extract it

    tar xvzpf tools-4.0.tar.gz

3. Copy kernel

    cd tools-4.0
    rm bsd.orig
    cp bsd bsd.orig

(Or compile your customized kernel using tools-4.0/lib/RDROOT,
then copy it to tools-4.0/bsd)

4. Copy your OpenBSD file-tree under tools-4.0/cdroot.dist

For example;

    cd cdroot.dist
    (cd YOUR-OPENBSD-FILE-TREE && tar cpf - .) | tar xvpf - .

5. Make an ISO image

    make livecd.iso

6. Burn it.

    cdio -f /dev/rcd0c blank             ( <- Only for CD-RW )
    cdio -f /dev/rcd0c tao livecd.iso

That's all.

Front page   New Page list Search Recent changes   Help   RSS of recent changes