Bootable CDROM creation system

John Baldwin jhb at FreeBSD.org
Fri Jun 10 16:11:07 GMT 2005


On Jun 8, 2005, at 11:35 PM, Dag-Erling Smørgrav wrote:

> Chad David <davidc at 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 
>> 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 
>> forgotten
>> again.
>
> # cd /usr/src
> # make buildworld buildkernel
> # mkdir /tmp/cdrom
> # make installworld installkernel DESTDIR=/tmp/cdrom
> # cd /usr/src/etc
> # make distribution DESTDIR=/tmp/cdrom
> # mkisofs -o /tmp/cdrom.iso -r -no-emul-boot -b /tmp/cdrom/boot/cdboot 
> /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 
path to the root of the image) or it won't work and it's --no-emul-boot 
I believe.  -J can be handy for Windoze systems as well.  :-P

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


More information about the freebsd-hackers mailing list