How to burn a ext3 file system on a cd?

Leonard den Ottolander leonardjo at hetnet.nl
Thu Dec 18 16:30:20 UTC 2003


Hallo Hans,

> I need ext3 becouse i need
> to store checksum files on a cd with ACL's.

 Proceed as follows:
create an image of about 620M:
# dd if=/dev/zero of=<ext3 img> bs=1k count=62M
# mke2fs -F -m 0 <ext3 img>
# tune2fs -j -c 0 -i 0 <ext3 img>

# mount -o loop <ext3 img> /mnt/tmp
copy your data to /mnt/tmp
# umount /mnt/tmp
and burn the image to iso (cd-rw):
# cdrecord [blank=fast] dev=0,0,0 speed=<speed> -v <ext3 img>

 When mounting the cd you might need to specify the file system type using 
"mount -t ext3" depending on your /etc/fstab. Works like a charm.

Bye,
Leonard.

--
mount -t life -o ro /dev/dna /genetic/research





More information about the users mailing list