Volker Kuhlmann wrote: >>I'm backing up stuff to CD. I want an ext2 filesystem on the CD. >> >>bash-2.05a# dd if=/dev/zero of=archive-CD.iso bs=1024k count=520 >> > >Fine, except that CDs *must* have a block size of 2048. > yup, werked good. 8-) for a 520MB ext2 archive, as root, do ; (after you have check this for typos etc..) mkdir /root/cdburn dd if=/dev/zero of=/root/cdburn/archive-CD.iso bs=2048 count=260000 mke2fs -b 2048 /root/cdburn/archive-CD.iso mkdir /root/mount mount /root/cdburn/archive-CD.iso /root/mount/ -t ext2 -o loop cp /opt/stuff-to-back-up/* /root/mount/ umount /root/archive-CD.iso cdrecord -v archive-CD.iso mount /dev/cdrom -t ext2 /mnt/cdrom/ ls -l /mnt/cdrom/ ta da ! thanks. /sw ------------------------------------------------------------------- To remove yourself from this list, email nzlug-request@linux.net.nz with "unsubscribe" in the body of the message.
|
|
If you have any questions or comments about this page, email the
Webmaster Copyright © 1998-2002 Linux.net.nz |