Re: [Partclone-user] restore failure with NTFS
Brought to you by:
thomas_tsai
From: Andreas W. <and...@gm...> - 2009-07-01 18:22:15
|
Hi, On 01.07.2009 19:30, thomas wrote: > Hello, > > Could you try ntfs-3g which work well for me. > like: > ntfs-3g -o loop sda1 /mnt Indeed, it works perfectly fine with ntfs-3g. Thank you a lot for the hint! Bye, Andreas > decompress image and pipe to partclone... > gunzip -d sda1.ntfs-ptcl-img.gz -c| partclone.ntfs -r -s - -O sda1 -C > ... > Cloned successfully. > > mount fail... > root@T-laptop:/home/partimag/xp-c-img# mount -o loop sda1 /mnt/ > Failed to read last sector (4096511): > HINTS: Either the volume is a RAID/LDM but it wasn't setup yet, > or it was not setup correctly (e.g. by not using mdadm --build ...), > or a wrong device is tried to be mounted, > or the partition table is corrupt (partition is smaller than NTFS), > or the NTFS boot sector is corrupt (NTFS size is not valid). > Failed to mount '/dev/loop0': > The device '/dev/loop0' doesn't seem to have a valid NTFS. > Maybe the wrong device is used? Or the whole disk instead of a > partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around? > > but ntfs-3g is great! > root@T-laptop:/home/partimag/xp-c-img# ntfs-3g -o loop sda1 /mnt/ > root@T-laptop:/home/partimag/xp-c-img# cd /mnt/ > root@T-laptop:/mnt# ls > AUTOEXEC.BAT Documents and Settings ntldr WINDOWS > bootfont.bin IO.SYS Program Files > boot.ini MSDOS.SYS sanbootconf-latest > CONFIG.SYS NTDETECT.COM System Volume Information > > > Thomas. > > Andreas Winkelbauer Ð0: >> Hi, > >> I used clonezilla-live-1.2.2-14 (which uses partclone.ntfs v0.1.0, >> Rev:243:245M) to backup the disk of my notebook. I used the default >> settings, except for the compression (I disabled compression). > >> My system is dual boot Linux and Windows XP. > >> When I tried to restore the image to a file, using partclone v0.1.0 >> (Rev:217M), I was unable to mount it. > >> This is what I tried: > >> $ touch sda1.img >> $ partclone.restore -C -s sda1.ntfs-ptcl-img.uncomp -o sda1.img >> # mount -t ntfs -o loop,nosuid,nodev sda1.img /mnt/test > >> yielding the following error: > >> Failed to read last sector (204812608): Invalid argument >> HINTS: Either the volume is a RAID/LDM but it wasn't setup yet, >> or it was not setup correctly (e.g. by not using mdadm --build ...), >> or a wrong device is tried to be mounted, >> or the partition table is corrupt (partition is smaller than NTFS), >> or the NTFS boot sector is corrupt (NTFS size is not valid). >> Failed to mount '/dev/loop1': Invalid argument >> The device '/dev/loop1' doesn't seem to have a valid NTFS. >> Maybe the wrong device is used? Or the whole disk instead of a >> partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around? > >> I have attached more, hopefully relevant, information. > >> Any hints? > >> Best regards, >> Andreas |