Menu

Clonezilla mixes the partitions

Help
ericxuo
2021-07-11
2021-10-08
  • ericxuo

    ericxuo - 2021-07-11

    Hi,

    I have a recurring issue which is that Clonezilla "seems" to rename/mix my partitions.
    This becomes a nightmare when I want to restore one of them.
    I'll try to be clear :
    I have saved these 3 partitions : sda1, sdc1 ,sdc5 (see picture IMG_20210703_123420.jpg)
    I could select them from their type (ext4) and size. But their name is not correct.
    As you can see in the next pictures (IMG_20210703_145247.jpg and IMG_20210703_145306.jpg) :
    sda1 is in fact sdb1
    sdc1 is in fact sda1
    * sdc5 is in fact sda5

    Do you know the reason why Clonezilla mixed them and how to prevent this next time ?

    Regards.

    Xuo.

    PS : I need to learn how to add pictures in the post.

     

    Last edit: ericxuo 2021-07-11
    • Sidney

      Sidney - 2021-10-07

      I have the same issue restoring windows 10 partitions.
      What is the solution to fix this?

      Thank You

       
      • Steven Shiau

        Steven Shiau - 2021-10-08

        Did you read all the discussions in this thread? There is a solution, not perfect, but at least it works.

        Steven

         
  • Steven Shiau

    Steven Shiau - 2021-07-17

    Linux kernel will assign the device name to the block device when it's detected. It's not always the the 1st disk in the cable will be /dev/sda, and 2nd will be /dev/sdb. This is random... So yes, it's annoying.
    Hence that's why nowadays most of the application uses UUID to precisely assign the block device.
    Clonezilla can use UUID, serialno, or label to assign block devices. However, sometimes it's easier to use the device name like /dev/sda.

    Ref: https://wiki.archlinux.org/title/persistent_block_device_naming

    Steven

     

    Last edit: Steven Shiau 2021-07-17
  • ericxuo

    ericxuo - 2021-09-30

    Hi,

    Sorry for this very very late answer (I didn't notice you answered to this post).
    Using the Ubuntu-based version of Clonezilla solved this issue.
    And this version could detect my wifi chipset while the Debian-based version was not able.
    Conclusion : continue to maintain the Ubuntu-based version. You can forget about the Debian-based one :).

    Regards.

    Xuo.

     
  • ericxuo

    ericxuo - 2021-09-30

    Hi,

    I've read the link you gave in your answer but I don't understand how I could use (for ex) labels to solve the issue. All my partitions are labelled but how can I force Clonezilla to propose me to clone a partion using a label name instead of a /dev/sdax name ?

    Regards.

    Xuo.

     
  • Steven Shiau

    Steven Shiau - 2021-10-01

    My bad. It should be PTUUID, SERIALNO, PARTUUID, or UUID. Please check:
    https://clonezilla.org/advanced/reserved-word-ocs-sr.php
    You can only use that in the command line prompt, e.g.,
    ~# /usr/sbin/ocs-sr -q2 -c -j2 -z9p -i 4096 -sfsck -senc -p choose saveparts 2021-10-01-14-img PARTUUID="60ff7f97-06"

    Steven

     
  • ericxuo

    ericxuo - 2021-10-01

    Hi,

    I've better understood. Thank you for your help.

    Regards.

    Xuo.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.