Greg
How Greg made AUUGN
July 2005
Greg's home page
Greg's diary
Greg's photos
Greg's links
Google
This is a copy of an article in AUUGN, the journal of AUUG. It may be of help if you're having trouble burning CDs or DVDs under FreeBSD.

This is the first electronic edition of AUUGN. It's available primarily on DVD, though we'll probably put the content up on the web site at a later date.

For some time we've been distributing CDs with the paper version of AUUGN. Making these CDs is a relatively simple matter, involving steps 1 and 5 of the list below: we copy an ISO, burn it on a CD-R and send it to the replicators, who often manage to make a readable version for redistribution.

With the new version of AUUGN, we can no longer do that. We need to put our own content on top of an existing distribution. In this issue, the base distribution is Fedora Core 4 for i386. The basic process involved:

  1. Download the ISO.
  2. Mount the ISO as a vnode device. This is under FreeBSD:

    # kldload md                            load the kld module if necessary
    kldload: can't load md: File exists     this happens if it is already loaded or in the kernel
    # mdconfig -a -t vnode -f iso-image     configure the device
    md0                                     this is the name assigned
    # mount -t cd9660 /dev/md0 /mnt         mount it
    # mkdir /spool/data/FC4-i386
    # cd /mnt; tar cf - .  | (cd /spool/data/FC4-i386 && tar xvf -)     copy the complete tree
    # umount /mnt                           no longer need the old ISO image: umount
    # mdconfig -d -u 0                      and unconfigure it
    
    Under Linux you could use a loopback device. If neither of these options were available, I would have had to burn a DVD and mount it.
  3. Add the content we needed, including the other distributions. This is pretty straightforward.

  4. Build a new ISO, using this script. It is not FreeBSD-specific.

  5. Burn the ISO, also using this script.

None of this seems very difficult, but the devil was in the detail. Read on if you're interested in the gory details.

The pain!


Greg's diary Greg's photos Greg's links Greg's home page
Valid XHTML 1.0! $Id: making-AUUGN.html,v 1.5 2008/12/18 23:49:58 grog Exp $