From owner-freebsd-questions Thu May 13 20:58: 0 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 5226B14E0B for ; Thu, 13 May 1999 20:57:57 -0700 (PDT) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.8.8) id XAA14331; Thu, 13 May 1999 23:58:10 -0400 (EDT) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199905140358.XAA14331@cc942873-a.ewndsr1.nj.home.com> Subject: Re: CD Images and Bootable CDs In-Reply-To: from Colin Eric Johnson at "May 13, 99 05:35:03 pm" To: colinj@cs.unm.edu (Colin Eric Johnson) Date: Thu, 13 May 1999 23:58:10 -0400 (EDT) Cc: freebsd-questions@FreeBSD.ORG Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Colin Eric Johnson wrote, > > I have a couple of questions about CD Images for FreeBSD and making > bootable CDs. > > I'm interested in knowing if there are available copies of the images that > are used to make the CDs that Walnut Creek ships. I do realize that Walnut > Creek is a business. I work for the dept. of Computer Science hear at UNM > and would like to be able to give students the option of writing CDs for > FreeBSD (since they can get them for about $1.00/per disk). I realize that > I can purchase the CDs and make images myself, and I am also willing to do > this unless that would be out of line. You should not make exact copies of the Walnut Creek CDs. There is the issue of compilation copyright, but also, some of the copyright holders for packages and ports have special agreements with Walnut Creek allowing distribution only by Walnut Creek. That said, I have made FreeBSD CDROMs for my own use. Go to a FreeBSD ftp site that supports downloading an entire directory tree has a tar file and grab the basic OS (this is freely redistributable). Do the same for XFree86 if desired. Assemble some must-have ports and packages. Untar it all some place where you have the space, assemble the heirarchies properly (e.g. kill syslinks to XFree86 in the FreeBSD dist and put in the real thing), build your ISO image, and then burn that bootable CD. I've done it. Works great. > Ok, that was question number one. > > Question number two. > > I'd like to be able to make a CD image of the root partition on a FreeBSD > box such that it is a bootable CD so that if the disk were damaged, > corrupted or comprimised I could boot the machine with known safe media. > I've been looking at the tools like mkhybrid and mkisofs mkisofs should be fine. No need for Joliet extensions for a FreeBSD system disk. > to produce CD > images from directories, what I am not sure about is what to use for the > bootable image. What I would like is something with a bit more space then > a boot floppy. I'm thinking that with a bootable CD with a root file > system on it I could have enough tools to bring a machine on line. > > thoughts? You can easily fit the root partition and the basic usr on a CD. Using one for a fixit or boot disk seems perfectly reasonable... to a point. You will not have a writable /tmp, but that is not a show stopper. However, I'm not at all sure how mounting other filesystems would work on a read-only directory on a CD. If you could not mount other filesystems, it would be pretty much useless. You could boot fine and run commands, but never be able to actually fix anything. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message