[PLUG] Clonezilla 'n stuff
John Jason Jordan
johnxj at comcast.net
Thu Dec 19 22:40:43 UTC 2013
On Tue, 17 Dec 2013 19:05:07 -0800
Paul Mullen <pm at nellump.net> dijo:
>On Tue, Dec 17, 2013 at 05:04:05PM -0800, John Jason Jordan wrote:
>> I booted to the regular Xubuntu on SDA1 and, using Gparted, I deleted
>> SDB1 and then recreated it. Then I rebooted to Clonezilla and tried
>> again, but it still won't clone SDA1 to SDB1.
>>
>> The above error message is all I have to go on. The only thing I can
>> think of is that using the Grub commands on SDB1 previously changed
>> something that persists even after deleting and recreating the
>> partition.
>>
>> Does anyone know anything about Clonezilla? Or have any suggestions?
>
>I doubt Clonezilla cares about the presence (or absence) of a
>bootloader, but I could be wrong. I've always used tar to migrate
>from one hard drive to another:
>
>1. Boot from the installer disc (rescue mode, again!).
>2. Create a file system on the new partition.
>3. Mount both the old and new file systems.
>4. Copy the contents of the old file system to the new file system
> with tar::
>
> cd /path/to/new/filesystem
> tar -cC /path/to/old/filesystem . | tar x
I don't understand this tar command. I tried to figure it out from man
tar, but I still don't understand it:
1) What should I use for /path/to/new/filesystem
and /path/to/old/filesystem? Maybe /dev/SDB1 and /dev/SDA1?
2) Create a file system means using mkfs, right? More reading man pages?
3) The -cC means create an archive, right? I just want to copy files.
4) What do the . | tar x do? I couldn't find these in the man page.
I am leery of using commands I don't understand, especially considering
what a disaster I could create if I do it wrong.
In the meantime, I tried again and again, but Clonezilla errors on
trying to create a clone of SDA1 on SDB1, although it did so
successfully the first time I did it at the Clinic. I even used Gparted
to delete and recreate SDB1, several times, and the last time I made it
a couple GB larger than SDA1, and added 1 GB of free space in front of
it. I also formatted it ext4.
I found out more about the error message. Apparently Clonezilla saves
information in its own /var/log/partclone.log. I read it and it said:
image head 4160, bitmap 3200000, crc 4100 bytes
bitmap free count err, free: 23103473
But even after enlarging SDB1 it gives the same error message, with
exactly the same numbers. I don't understand the error message, and
apparently neither does Google.
I thought of using dd, which seems to be simpler. But I worry that
whether I use dd or tar or anything else it may run into the same issue
that Clonezilla is hitting.
Meantime, Clonezilla is happy to re-clone SDA2 to SDB2.
More information about the PLUG
mailing list