Script `create-ocs-tmp-img` doesn't rename sda1.aa
A partition and disk imaging/cloning program
Brought to you by:
steven_shiau
The problem exist in testing 2.4.2-59 and stable version 2.4.2-32 when restoring disk image (containing FAT16 partitions) made with partimage (BTW partclone did not recognize FAT version).
Script create-ocs-tmp-img tries to create converted image (sda -> sdc) in /tmp the result:
incorrectly created symbolic links:
sda1.aa -> /home/partimag/R4-HDD-2015-10-10-20-img/sda1.aa
sda5.aa -> /home/partimag/R4-HDD-2015-10-10-20-img/sda5.aa
other files are renamed correctly:
sdc-hidden-data-after-mbr
sdc-mbr
sdc-pt.parted
sdc-pt.parted.compact
sdc-pt.sf
Then of course restoration failes missing sdc1.aa sdc5.aa files.
I've attached proper part of log and ls of converted image directory.
I think I've found a solution ;)
In script
cnvt-ocs-dev:Thanks for the patch. We will try to include that in the future release.
However, partimage is not developed anymore, and we keep it is to make clonezilla compatible to old image. It's recommended not to use it.
BTW, what did you maen by "partclone did not recognize FAT version"?
Partclone has the following programs:
partclone.fat
partclone.fat12
partclone.fat16
partclone.fat32
partclone.vfat
It can be used to save the FAT system.
Steven.
Ok, thank you - I'm looking forward for the future release ;)
I've used latest stable release 2.4.2-32 to make backups of very old hard drives with fat16 partitions.
Partclone failed with something like "unrecognized fat version". Partimage worked ok.
Łukasz.
"Partclone failed with something like "unrecognized fat version". Partimage worked ok." -> Could you please take a photo about this? We'd like to fix it about partclone.
Thanks.
Steven.
I was able to reproduce error using VirtualBox (restored image and than tried to do savedisk using partclone).
I've attached screenshot of the error.
Here is partclone.log:
And fdisk -l output:
Łukasz.
Last edit: Łukasz Stefanowicz 2015-10-31
Cool. Could you please share us the virtualbox disk file?
Thanks.
Steven.
Here you are, vdi (VirtualBox 5.0.4). I've wiped out files (there's only README.TXT).
Thanks. I have confirmed this issue in my virtualbox.
Assigning this to the main developer of partclone, Thomas Tsai.
Steven.
BTW, how did format that as FAT16?
Could you please tell us the environment (E.g. Windows 95? Ubuntu Linux?) and the commands?
Thanks.
Steven.
DOS...very old DOS... :)
I don't know when, how or does person who formated this is still alive ;)
Will you apply patch (*.aa image name format) in the future release?
Thomas Tsai has fixed the FAT issue for partclone, and we will release another testing Clonezilla live with the new partclone (0.2.85) tomorrow.
I tended to not apply the patch about this. Basically partimage is deprecated in Clonezilla, and actually there are more files to be changed if we want to support it again in Clonezilla.
Thanks for your understanding.
Steven.
We have released an updated Clonezilla live 2.4.3-2 or 20151110-wily to address the partclone/fat16 issue:
http://clonezilla.org/downloads.php
Could you please test it and let us know the results?
Thanks.
Steven.
Not working...it detects partition as fat12! After creating backup and restoring it: filenames are visible, but dos program hangs on booting.
Thanks for your report. Yes, this is a bug in Partclone 0.2.85, and Thomas has fixed it in Partclone 0l.2.86. We will have another testing Clonezilla live release with this updated partclone next week.
Steven.
Could you please give Clonezilla live 2.4.3-3 a try?
http://clonezilla.org/downloads.php
The partclone has been updated and we are sure it can identify the file system as fat16 in your VDI file. However, not sure if it could boot or not.
Please test it and let us know the results.
Thanks.
Steven.
I can confirm it is working. Properly detected partition as FAT16, saved disk and restored it.
Łukasz.
Cool! Thanks for yoru confirmation.
Steven.