From owner-freebsd-questions Fri Mar 24 14:26:22 2000 Delivered-To: freebsd-questions@freebsd.org Received: from escape.com (escape.com [198.6.71.10]) by hub.freebsd.org (Postfix) with ESMTP id 001E037C002 for ; Fri, 24 Mar 2000 14:26:12 -0800 (PST) (envelope-from zhaoc@escape.com) Received: from localhost (zhaoc@localhost) by escape.com (8.9.0/8.9.1) with ESMTP id RAA14152 for ; Fri, 24 Mar 2000 17:26:45 -0500 (EST) Date: Fri, 24 Mar 2000 17:26:44 -0500 (EST) From: OCtane To: freebsd-questions@freebsd.org Subject: Creating and burning ufs images on CD-Roms? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dear list: I would like to know if it is possible to burn UFS images instead of iso9660 images to CDs, if so, how to do it, and/or what I'm doing wrong. I've searched the lists, deja, and google, but haven't found anything definitive. The closest I've seen is some reference to a Digital Unix installation guide, which doesn't help. Everything else talks about making bootable iso images w/ various extensions such as Rock Ridge, Joliet, etc. This is not relevant to what I'm trying to do. It's pretty clear (?) that mkhybrid/mkisofs is not what I want, but I've read the docs for those, as well as for the vnconfig stuff. Here's what I've tried (apprx): dd if=/dev/zero of=./cdimg bs=2048 count=332800 # Create 650MB image file # The byte size here doesn't even matter, does it? vnconfig -s labels -c vn0 ./cdimg disklabel -r -w vn0 auto # Label it with defaults? newfs /dev/vn0c At this point I can mount the file and copy whatever I want on to it. I unmount the file, and burn it using burncd (running FreeBSD 4.0-Stable, cvsup'ed in the last three days.) burncd -f /dev/acd1c -s 4 data ./cdimg The burn process appears to work; the cd-rw's drive light blinks, burncd reports the progress until it is finished. Mounting the cd then causes a kernel panic. mount -r /dev/acd1c /mnt/cdrw I've been told that any type of file system can be burned on CDs, as long as the software can read it. Is this correct? Should I be disklabel'ing the image in a specific way? Should I be newfs'ing with specific options? Someone please whack me with a cluestick/point me to docs, or something, as this list is my last hope. TIA for any help anyone can render, and please cc: me since I'm not on the -questions list. Here's the relevant parts from the dmesg, but I doubt it's useful, since the hardware is detected properly, and burncd appears to work. atapci0: port 0xf000-0xf00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 atapci1: port 0xb400-0xb4ff,0xb000-0xb003,0xac00-0xac07 irq 11 at device 19.0 on pci0 ata2: at 0xac00 on atapci1 atapci2: port 0xc000-0xc0ff,0xbc00-0xbc03,0xb800-0xb807 irq 11 at device 19.1 on pci0 ata3: at 0xb800 on atapci2 ata3-slave: identify retries exceeded ad0: 6149MB [13328/15/63] at ata0-master using WDMA2 ad4: 19574MB [39770/16/63] at ata2-master using UDMA66 ad6: 12416MB [25228/16/63] at ata3-master using UDMA66 acd0: DVD-ROM <0125> at ata0-slave using PIO4 acd1: CD-RW at ata1-master using PIO4 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message