Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Mar 2000 17:26:44 -0500 (EST)
From:      OCtane <zhaoc@escape.com>
To:        freebsd-questions@freebsd.org
Subject:   Creating and burning ufs images on CD-Roms?
Message-ID:  <Pine.BSI.4.05L.10003241722120.13277-100000@escape.com>

next in thread | raw e-mail | index | archive | help
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: <Intel PIIX4 ATA33 controller> port 
  0xf000-0xf00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
atapci1: <HighPoint HPT366 ATA66 controller> port  
  0xb400-0xb4ff,0xb000-0xb003,0xac00-0xac07 irq 11 at device 19.0 on pci0
ata2: at 0xac00 on atapci1
atapci2: <HighPoint HPT366 ATA66 controller> 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 <ST36450A> [13328/15/63] at ata0-master using WDMA2
ad4: 19574MB <IBM-DPTA-372050> [39770/16/63] at ata2-master using UDMA66
ad6: 12416MB <WDC AC313000R> [25228/16/63] at ata3-master using UDMA66
acd0: DVD-ROM <0125> at ata0-slave using PIO4
acd1: CD-RW <Hewlett-Packard CD-Writer Plus 9100> at ata1-master using PIO4



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?Pine.BSI.4.05L.10003241722120.13277-100000>