1

I created a virtual machine in VMware as follows:

  1. SCSI HDD 1 GB (Main for short)
  2. SCSI HDD 0.8 GB (UClone for short)
  3. SCSI HDD 4 GB as a physically plugged UFD (Uphys for short)
  4. Arch Linux ISO as virtual CD

Where the UFD is a live USB created with YUMI.

After booting Arch via the ISO with fdisl -l, I get this mapping:

  1. Main is sda
  2. UClone is sdb
  3. Uphys is sdc and is reported as W95 FAT32 (LBA).

Now I want to clone Uphys to UClone, note that Uphys used space is about 600 Mega. If I issue:

partclone.fat32 -b -s /dev/sdc -o /dev/sdb

I get:

fatclone.c: Unknown fat type!!

Is it referred to source or output? The former is reported as W95 FAT32, the latter is unallocated.

UPDATE

With /dev/sdc1 as source, instead of /dev/sdc, I can go a bit further. But it seems that partclone is unable to get the actual used block size: http://s24.postimg.org/vwzhkhzcl/partclone1.png

If I set the -C option as suggested, I get a clone seek error and the destination device gets messed: http://postimg.org/image/51xaywn6r/

2 Answers 2

1

I think yumi installs things to a partition, not to the entire disk, in which case it should not be /dev/sdc, but /dev/sdc1 should be your source? Likewise for the output. Take a look at the detailed fdisk -l /dev/sdc should make that clear. That is the only reason I can think of because otherwise your syntax is fine.

1
  • I updated the question based on your suggestions. Commented Aug 24, 2013 at 15:53
0

As @johnshen64 said, you need to be copying to a partition as well as from a partition, not a device. If the destination partition were sdb1, then the command would be:

partclone.fat32 -b -s /dev/sdc1 -o /dev/sdb1

In the attached screenshot you only fixed half of the command.

17
  • Again parclone asks for the -C switch and again there is an error with it; but this time the partition doesn't look corrupted with fdisk -l /dev/sdb. See postimg.org/image/nco4mkau1 Commented Aug 30, 2013 at 22:28
  • What is in /var/log/partclone.log? Commented Aug 31, 2013 at 5:05
  • postimg.org/image/eszgc8onb Note: reexcuting I see that the error triggers at about 98% completion. Commented Aug 31, 2013 at 23:58
  • Partclone clones the contents of the partition, not the partition itself. Allocate a fat32 partition on UClone, then use partclone. Commented Sep 1, 2013 at 17:48
  • I repartitioned the output partition sdb1 (UClone) as W95 Fat32 following these steps: blog.jim80.net/2009/07/29/make-a-fat32-partition-in-linux, but still I get the error: postimg.org/image/428dvae8v. Commented Sep 1, 2013 at 23:17

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.