When trying to restore an MBR image over a corrupted GPT disk I hit the error "Warning: /dev/sda contains GPT signatures, indicating that it has a GPT table. However, it does not have a valid fake msdos partition table, as it should…."
It is true that the disk is corrupted, but as I'm restoring over the top of that I shouldn't need to care. Looking in ocs-functions in the function create_partition() I see that if the disk had been successfully recognized as a GPT disk it would be re-labelled with the command "LC_ALL=C parted -s $tgt_hd_file mklabel msdos".
My fix has been just to run that command regardless of whether parted can recognize the disk as GPT or not. This has worked ok for me, and I was wondering why Clonezilla doesn't just always re-label the disk as MBR when restoring an MBR image. Hopefully this suggestion is of some use.
Yes, this case has been improved in newer Clonezilla. For the stable release now (2.5.38) it should be OK. If this issue still exist, please report.
Thanks.
Steven.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am seeing a similar error trying to restore an image taken of a Mac Mini (formatted to 100% Win7). Disk is clonezilla-live-1.2.12-60-i686-pae.iso, latest available from the Stable Images list with a file date of 2012-05-25.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When trying to restore an MBR image over a corrupted GPT disk I hit the error "Warning: /dev/sda contains GPT signatures, indicating that it has a GPT table. However, it does not have a valid fake msdos partition table, as it should…."
It is true that the disk is corrupted, but as I'm restoring over the top of that I shouldn't need to care. Looking in ocs-functions in the function create_partition() I see that if the disk had been successfully recognized as a GPT disk it would be re-labelled with the command "LC_ALL=C parted -s $tgt_hd_file mklabel msdos".
My fix has been just to run that command regardless of whether parted can recognize the disk as GPT or not. This has worked ok for me, and I was wondering why Clonezilla doesn't just always re-label the disk as MBR when restoring an MBR image. Hopefully this suggestion is of some use.
Clonezilla version: 2.5.8.1drbl
Parted version: 3.1
Running on MicroCore Linux: 4.5.
Regards, David.
Yes, this case has been improved in newer Clonezilla. For the stable release now (2.5.38) it should be OK. If this issue still exist, please report.
Thanks.
Steven.
I am seeing a similar error trying to restore an image taken of a Mac Mini (formatted to 100% Win7). Disk is clonezilla-live-1.2.12-60-i686-pae.iso, latest available from the Stable Images list with a file date of 2012-05-25.
Please give Clonezilla live 1.2.13-5 a try. There is an improvement about EFI/GPT.
Steven.