Can i make a CD of the Ports Collection

Russell J. Wood rjw at open-cpp.net
Tue Aug 3 20:49:51 PDT 2004


Yes, this could be done. First, create an ISO image of the directory with
`mkisofs' (included in /usr/ports/sysutils/cdrtools):

mkisofs -A ports -allow-lowercase -allow-multidot -f -no-cache-inodes -D -l -J
-o ports.iso -p peter -R -V ports /usr/ports

Note: this will produce a non-standards compliant ISO image, but it will be able
to be read on both MS Windows and FreeBSD.

Then, burn the image to CD using `burncd' (included in
/usr/ports/sysutils/cdrtools):

burncd -f /dev/acd0 -v -s <your_drive_speed> data ports.iso fixate

When it's time to install, remove everything in `/usr/ports' (rm -r
/usr/ports/*) and copy the burned data across. And, to finish it of, CVSup the
ports afterwards.

- Russell

On Wed, Aug 04, 2004 at 11:16:44AM +0800, Peter Ryan wrote:
>I am very new, and have been reinstalling
>FreeBSD many times to clean up whatever
>mess i make and start again.
>
>I recently used cvsup to update my 
>ports collection for the 4.10_RELEASE.
>
>Now, when I reinstall, it takes much longer
>because i bring in the updated ports collection
>rather than the ports collection on the
>install CD (which i burnt from an ISO file)
>
>Is there some way to burn a cd (for me that
>means under winXP) containing the latest 
>ports collection so that I dont have to
>download it each time.
>
>Or is there a better way of installing
>with the latest ports collection.
>
>Are the ISO images updated with a new
>ports collection very frequently ?
>
>Thanks for any pointers
>Peter
>_______________________________________________
>freebsd-questions at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040804/dea952b5/attachment.bin


More information about the freebsd-questions mailing list