Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jun 2005 07:48:40 -0700
From:      John Baldwin <jhb@FreeBSD.org>
To:        des@des.no (=?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?=)
Cc:        freebsd-hackers@FreeBSD.org
Subject:   Re: Bootable CDROM creation system
Message-ID:  <5aa5b3269b31db56aea70fcd38ccbd1a@FreeBSD.org>
In-Reply-To: <86ll5kdokw.fsf@xps.des.no>
References:  <20050608235221.GA71575@ranger.acns.ab.ca> <86ll5kdokw.fsf@xps.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help

On Jun 8, 2005, at 11:35 PM, Dag-Erling Sm=F8rgrav wrote:

> Chad David <davidc@acns.ab.ca> writes:
>> My company built a tool a few years back for creating a bootable =
cdrom
>> based on a running host FreeBSD 3/4 system, which promptly got=20
>> shelved and
>> forgotten.I recently had to update it for FreeBSD 5 and thought that
>> perhaps the community at large could make use it before it gets=20
>> forgotten
>> again.
>
> # cd /usr/src
> # make buildworld buildkernel
> # mkdir /tmp/cdrom
> # make installworld installkernel DESTDIR=3D/tmp/cdrom
> # cd /usr/src/etc
> # make distribution DESTDIR=3D/tmp/cdrom
> # mkisofs -o /tmp/cdrom.iso -r -no-emul-boot -b /tmp/cdrom/boot/cdboot=20=

> /tmp/cdrom
> # burncd -s max data /tmp/cdrom.iso fixate eject
>
> did I leave anything out?

I think you need to use -b boot/cdboot (i.e. I think it's a relative=20
path to the root of the image) or it won't work and it's --no-emul-boot=20=

I believe.  -J can be handy for Windoze systems as well.  :-P

--=20
John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =3D  http://www.FreeBSD.org=




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5aa5b3269b31db56aea70fcd38ccbd1a>