LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 05-23-2005, 10:20 PM   #1
gentisle
Member
 
Registered: May 2005
Location: Wisconsin, USA
Distribution: LinuxMint, OpenBSD
Posts: 263

Rep: Reputation: 9
How 2 create an OpenBSD bootable DVD


Hi,

Has anyone had sucess creating an OpenBSD bootable DVD that actually installs? I can create a bootable DVD, but when I get to the point of selecting the location where the install files are, it won't read the DVD. Are boot.catalog files different for CD and DVD? I can create a bootable CD that installs perfectly. Any help would be appreciated. Thanks.

Terry
 
Old 06-02-2005, 04:00 AM   #2
tomazz78
LQ Newbie
 
Registered: Jun 2005
Location: Slovenia
Distribution: All of them
Posts: 2

Rep: Reputation: 0
OpenBSD 3.7 on bootable DVD

With nero I create OpenBSD bootable DVD under windows os.

In nero I selected "create bootable DVD" and use "cdrom37.fs".

DVD contains directory 3.7 and all subdirectories and files that are needed for i386 platform.

Installation from bootable DVD works fine for me.

Regards,
TomazZ
 
Old 06-11-2005, 06:44 AM   #3
noir911
Member
 
Registered: Apr 2004
Posts: 682

Rep: Reputation: Disabled
I have downloaded all the files in 3.7/i386. do i need to make an iso before i burn them? what would be the mkisofs command to make a bootable iso cd?

i do not have any problem burning them. so i just need to know the mkisofs command.
 
Old 06-13-2005, 08:05 AM   #4
tomazz78
LQ Newbie
 
Registered: Jun 2005
Location: Slovenia
Distribution: All of them
Posts: 2

Rep: Reputation: 0
mkisofs

Try this:
http://www.pantz.org/os/openbsd/makingaopenbsdcd.shtml
 
Old 06-14-2005, 06:50 AM   #5
ojakubcik
LQ Newbie
 
Registered: Jun 2005
Posts: 4

Rep: Reputation: 0
My way of doing this

This is the way I prepare OpenBSD installation DVDs for myself.
I use Linux, but this should be usable in other OSes (like *BSD) as well.

For this example, I used the 3.7/i386 version, but please use your
version and/or architecture to suit your needs.

1) Make a directory, in which you will prepare the whole CD layout,
preferably in the temporary directory, an cd into it.

Code:
mkdir /tmp/OpenBSD
cd /tmp/OpenBSD
2) Get files in your favourite way and populate the OpenBSD directory
with files, preserving the layout of the mirror. Because there
are numerous ways of doing this, I will write how this is supposed
to look like:

Code:
/tmp/OpenBSD:
    3.7/
        i386/
	    CKSUM
	    INSTALL.i386
	    INSTALL.linux
	    MD5
	    ...
	packages/
		i386/
		    9libs-1.0p1.tgz
		    9menu-1.7.tgz
		    ...
		tools/
		     fips/
			 ...
		     fdimage.exe
		      ...
		ANNOUNCEMENT
		HARDWARE
		...
3) To be able to boot, you have to create a new directory "etc"
in the OpenBSD directory (not in 3.7!) and create a file
"boot.conf" with the following one-line content:

Code:
set image /3.7/i386/bsd.rd
After you are done, the layout will be:

Code:
/tmp/OpenBSD:
    3.7/
        ...
    etc/
        boot.conf
4) To be able to work with the DVD, we need to do some
permission changes. Do this in the command line
(you NEED NOT to be root).

Code:
you@yourdesk:/tmp/OpenBSD $ find -type f -exec chmod 0444 \{\} \;
you@yourdesk:/tmp/OpenBSD $ chmod 0555 3.7/i386/bsd
you@yourdesk:/tmp/OpenBSD $ chmod 0555 3.7/i386/bsd.mp
you@yourdesk:/tmp/OpenBSD $ chmod 0555 3.7/i386/bsd.rd
you@yourdesk:/tmp/OpenBSD $ chmod 0555 3.7/i386/cdboot
you@yourdesk:/tmp/OpenBSD $ chmod 0555 3.7/i386/cdbr
you@yourdesk:/tmp/OpenBSD $ chmod 0555 3.7/i386/pxeboot
you@yourdesk:/tmp/OpenBSD $ find -type d -exec chmod 0555 \{\} \;
5) Now, you are ready to make a burnable image. In the /tmp
directory, issue the following command:

Code:
# HERE ARE FOUR SPACES        ||||
#                             vvvv
mkisofs -R -T -V "OpenBSD/i386    3.7 install DVD" \
-p "Your Name <yname@your.domain>" \
-publisher "Your Name <yname@your.domain>" \
-A "OpenBSD 3.7 i386 unofficial install DVD" \
-b 3.7/i386/cdbr \
-c 3.7/i386/boot.catalog \
-no-emul-boot \
-uid 0 -gid 9 \
-o openbsd37.iso \
OpenBSD
Here you may need to change the -b and -c switch as I don't
know whether these apply to architectures other than i386.
Look into manual page for more information.

6) Now burn this image to DVD+R/DVD-R and enjoy.

For example, I use the following:
Code:
cdrecord-ProDVD -v dev=ATA:1,0,0 -dao /tmp/openbsd37.iso
7) Now you can delete the OpenBSD directory and the image.

I have used this way to make 3.6 i386 and 3.7 i386 bootable DVD.
 
Old 06-24-2005, 05:10 AM   #6
noir911
Member
 
Registered: Apr 2004
Posts: 682

Rep: Reputation: Disabled
Solved! Thank you all for your reply!!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create a Fedora bootable DVD? mrk1500man Linux - Newbie 2 10-17-2005 06:59 PM
create : bootable cd. mola Linux - General 1 03-28-2005 11:25 AM
How do I create a bootable DVD of Suse Linux 9.2 live using Nero Burning ROM SE ??? chasgrundy Linux - Newbie 2 02-27-2005 05:09 PM
Is there an OpenBSD Live Bootable CD? unixfreak *BSD 2 09-02-2004 02:04 PM
How to create a SuSE 9.1 bootable dvd with Nero? ticker Linux - General 2 06-30-2004 06:30 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 07:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration