Date: Fri, 20 Feb 1998 20:32:59 -0500 From: Randall Hopper <rhh@ct.picker.com> To: michael dorin <mike@chaski.com>, Doug White <dwhite@resnet.uoregon.edu> Cc: questions@FreeBSD.ORG Subject: Re: burn my own FreeBSD cd? Message-ID: <19980220203259.29378@ct.picker.com> In-Reply-To: <199802162052.UAA03046@chaski.com>; from michael dorin on Mon, Feb 16, 1998 at 08:52:50PM %2B0000 References: <199802162052.UAA03046@chaski.com>
next in thread | previous in thread | raw e-mail | index | archive | help
michael dorin: |If I want to mess arround with stable...it would be nice if I could |make a CD so that I would not have to install it over the net as many |times as I screw it up. | |Is there an easy way to collect all the files so that I can burn |my own cd? Doug White: |Mirror the FTP site. Use mget. ;-) | |Or learn how to run a `make release'. I went through the same in December when I upgraded to -current. My net connection is 28.8K, so it made sense to figure out how to burn my own FreeBSD CD-ROM, preferably without having to "make release". After spending a good while trolling the mail archives, I came up with the following procedure (I've not browsed an official FreeBSD CD-ROM). Here's what worked for me for burning a FreeBSD CD-ROM for the 3.0-971208-SNAP version. To the best of my recollection, this is it: **** BURNING YOUR OWN FREEBSD CD-ROM **** 1) Create a hard disk subdir for your CD directory image (e.g. /cd-img) 2) Create the CD directory tree under /cd-img. It should look something like this: /cd-img +- bin +- compat1x +- compat20 +- compat21 +- des +- dict +- doc +- floppies +- games +- info +- manpages +- packages | +- All | +- archivers | +- astro ... +- ports +- proflibs +- src +- XF86331 3) Distribution Packages a. FTP the desired pieces of the dist from a RELEASE or SNAP dir on ftp.freebsd.org (or one of its mirrors) -- e.g. bin, doc, src/ssys, XFree86, etc. 4) Port Packages: a. Download the desired packages into packages/All. (Just those you want. I skipped the megs and megs of non-English stuff for example.) b. Create "../All/<pkgname>" symlinks for these in the appropriate package category directories c. ** IMPORTANT! ** Be sure to download packages/INDEX and put it in the packages directory. No need to trim this down to the list of packages you've downloaded if you don't want to hastle with it. 5) ** IMPORTANT! ** Place cdrom.inf in the root dir of your CD directory tree (e.g. /cd-img on the hard disk). I also put {ABOUT,HARDWARE,INSTALL,README,RELNOTES}.TXT there too, but I think that's optional. 6) Merge all the split distr packages into .tgz's (don't know if this is optional or mandatory, but I did this; sysinstall works fine with it). For example: cd /cd-img/bin cat bin.?? > bin.tgz rm bin.?? ... 7) Install the mkisofs port 8) Cook a Rock Ridge file system image of your FreeBSD CD tree to a hard disk file. For example: mkisofs -a -d -N -D -R -T \ -V "FREEBSD3.0-971208-SNAP" \ -P "FreeBSD 3.0-971208-SNAP, downloaded from ftp.freebsd.org 12/97, dist*.?? files merged to *.tgz for sysinstall" \ -o /wd0tmp/fbsd30.img /cd-img (Next time I'll skip -T; I don't care about being able to read FreeBSD dist CDs on non-FreeBSD systems, so the TRANS.TBL files in each dir are just clutter. Besides, the one in root would collide if you burned a multisession.) 9) Test your Rock Ridge ISO file system using the vnode driver: vnconfig /dev/vn0 /wd0tmp/fbsd30.img mount -t cd9660 /dev/vn0a /mnt <...browse around /mnt and check it out the tree...> umount /mnt vnconfig -u /dev/vn0 10) Finally, burn the image onto a CDR session with your favorite utility in FreeBSD (or MSW95; probably can trust the commercial drivers more for some CD Recorders). One thing I haven't tried out yet is burning a multisession RockRidge CD (i.e. burning another session after a session I'd already burned to see if FreeBSD recognizes both sessions). There's some posts on doing this in the mail archives; might have to play some games to get the new TOC after the second session to index the files for both sessions, though with some of the MSW95 (and maybe FreeBSD) session writer utils, this may be automatic. Hope this helps, Randall To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980220203259.29378>