hi,
i have a harddrive with gpt partitions. on the 2nd partition i have to set two attributes with gdisk "63" and "0" (dont know the exactly name of them). After cloning the entire disk the attributes disappear.
i am using clonezilla-live-20161024-yakkety-amd64.
in the image directory there is a sdb-pt.sf file. it contains:
In that case, you should use gdisk to set the attribute again.
Acutally from the manual gdisk you can find:
Set attributes. GPT provides a 64-bit attributes field that can
be used to set features for each partition. gdisk supports four
attributes: system partition, read-only, hidden, and do not
automount. You can set other attributes, but their numbers
aren't translated into anything useful. In practice, most OSes
seem to ignore these attributes.
That's why sfdisk does not keep those info I believe. They are simply ignored by most of the OSes.
Steven
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi,
i have a harddrive with gpt partitions. on the 2nd partition i have to set two attributes with gdisk "63" and "0" (dont know the exactly name of them). After cloning the entire disk the attributes disappear.
i am using clonezilla-live-20161024-yakkety-amd64.
in the image directory there is a sdb-pt.sf file. it contains:
what can i do?
regards
cstorch
Running sfdisk --force /dev/sdb < /home/partimag/2016-11-08-arch-attrib2/sdb-pt.sf (from the log)
simply does not has an effect on gpt attributes
In that case, you should use gdisk to set the attribute again.
Acutally from the manual gdisk you can find:
Set attributes. GPT provides a 64-bit attributes field that can
be used to set features for each partition. gdisk supports four
attributes: system partition, read-only, hidden, and do not
automount. You can set other attributes, but their numbers
aren't translated into anything useful. In practice, most OSes
seem to ignore these attributes.
That's why sfdisk does not keep those info I believe. They are simply ignored by most of the OSes.
Steven
Thanks for reply.
setting gpt Attributes is not that unusual, i think.
Maybe we should rename clonezilla to something like "Almostclonezilla"
cstorch
In that case, Clonezilla live provides ocs_postrun* parameters so that you can use that to customize your requirement:
http://clonezilla.org/fine-print-live-doc.php?path=./clonezilla-live/doc/99_Misc/00_live-boot-parameters.doc#00_live-boot-parameters.doc
Steven