21 Aug
2006
21 Aug
'06
20:48
On Monday 21 August 2006 4:30 pm, Istvan Gabor wrote: > Hello: > > I've got a hard disk with a vfat partitition which I'd like to backup > using dd. > I tried: > dd if=/dev/hdc1 of=/mnt/bakup-dd > where /dev/hdc1 is the vfat partition and on /mnt is a mounted > ext3 partiton. > It gave this result: > dd: reading `/dev/hdc1': Input/output error > 510656+0 records in > 510656+0 records out > 261455872 bytes (261 MB) copied, 101.931 seconds, 2.6 MB/s > > What would be the correct dd command to back up the whole > vfat partition as a file in an ext3 partition? Lots of different ways. 1. dd if=/dev/hdc1 of=/dev/hdxn #back up a file system 2. mount /dev/hdc1 /windows/c cd /windows/c rsync -auz . /mnt/windows.backup 3. tar czf /mnt/backup/windows.c.tar.gz . 4. dd if=/dev/hdc1 of=/mnt/bakup-dd/windows.c.img #backup the image of /dev/hdc. -- Jerry Feldman <gaf@blu.org> Boston Linux and Unix user group http://www.blu.org PGP key id:C5061EA9 PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9