Menu

Clonezilla issues in the Kali linux

Help
2022-11-10
2022-12-08
  • Vitor Fernandes

    Vitor Fernandes - 2022-11-10

    Hi everyone, my name is Vitor and I'm new to Linux O.S. I have been using Clonezilla to make clones of some HDD's that I have saved, however, I tried to use clonezilla again for a Pendrive clone and after selecting the option "Device-device Work directly from a disk or partition to a disk or partition" I get this result in the terminal

    /usr/sbin/clonezilla: line 46: 12635 Aborted $DIA --backtitle "$msg_nchc_free_software_labs" --title "$msg_nchc_clonezilla" --menu "$msg_clonezilla_is_free_and_no_warranty \n$msg_hint_multiple_choice_select_by_space \n$msg_device_image_device_clone. \n$msg_lite_server_and_client_are_provided \n$msg_choose_mode:" 0 0 0 $DIA_ESC "device-image" "$msg_device_image_clone" "device-device" "$msg_device_device_clone" "remote-source" "$msg_remote_clone_source" "remote-dest" "$msg_remote_clone_destination" $lite_server_msg_1 $lite_server_msg_2 $lite_client_msg_1 $lite_client_msg_2 2> $TMP
    Clonezilla mode is free(): invalid pointer
    "free(): invalid pointer" is an unknown or unsupported type! You have to specify a correct ocs_live_type (device-image or device-device)!
    Program terminated!!

    I would like to know if anyone has had the same problem and how can I solve it?

    (obs: sorry for my english, I'm still learning and sometimes I need help with google translator)

     

    Last edit: Vitor Fernandes 2022-11-10
  • knoppmyth

    knoppmyth - 2022-11-11

    Glad I'm not the only one seeing this issue. I'm actually working on my own utility Linux distro based on Arch Linux. I'm seeing the same error. However if I run Clonezilla with "-d0", I actually get to the "Mount Clonezilla Image directory" before it bails with:

    Clonezilla mode is device-image
    mktemp: failed to create file via template ‘/home/partimag/rw_test.XXXXXX’: No such file or directory
    mountpoint: /home/partimag: No such file or directory
    /usr/bin/prep-ocsroot: line 1097: 841 Aborted (core dumped) $DIA --backtitle "$msg_nchc_free_software_labs" --default-item "$default_menu" --title "$msg_mount_ocsroot_img_hint_short_des" --menu "$msg_mount_ocsroo_img_hint_long_des\n$msg_choose_mode:" 0 0 0 $DIA_ESC "local_dev" "$msg_mount_local_dev" "ssh_server" "$msg_mount_sshfs" "samba_server" "$msg_mount_smbfs" "nfs_server" "$msg_mount_nfs" $webdav_ocsroot_msg_1 $webdav_ocsroot_msg_2 $s3_ocsroot_msg_1 $s3_ocsroot_msg_2 $swift_ocsroot_msg_1 $swift_ocsroot_msg_2 $bind_ocsroot_msg_1 $bind_ocsroot_msg_2 "enter_shell" "$msg_enter_cml. $msg_do_it_manually" "ram_disk" "$msg_mount_ramdisk" "skip" "$msg_skip_this_use_existing_ocsroot ($livemedia_des)" 2> $TMP can │
    ocsroot device is free(): invalid pointer disk or partition using an image │
    "free(): invalid pointer" is an unknown or unsupported type! You have to specify a correct ocsroot_src (local_dev, ssh_server, samba_server, nfs_server, webdav_server, enter_shell, or skip) and client modes are also available. You can use them for │
    Program terminated!!

    This seems like a dependency issue but I have all installed according to the dependency list. Should I find a solution, I'll update with it.

    The Clonezilla version is 3.35.2. Should it matter, drbl version is 2.30.5.

     

    Last edit: knoppmyth 2022-11-11
  • knoppmyth

    knoppmyth - 2022-11-12

    I found the issue.

    Something in popt 1.19 broke compatibility. with Clonezilla. The newest Arch Linux ISO includes clonezilla by default and that worked without issue. I looked at the packages Arch has and my own. As I'm building today, some newer packages are getting pulled in. As the issue seemed to be with whiptail, I found it was packaged in libnewt. I looked at libnewt's deps and found popt. Sure enough, popt in Arch and my distro are different. I revert to popt-1,18-3 (latest in Arch) and Clonezilla now runs without the error!

    @Vitor, what version of popt is being used in Kali? If it is 1.19, try reverting to 1.18.

     

    Last edit: knoppmyth 2022-11-12
    • Vitor Fernandes

      Vitor Fernandes - 2022-11-14

      Hi, friend
      Thank you so much to reply me, I will search the version of popt in my Kali and come back to answer you

       
      • Vitor Fernandes

        Vitor Fernandes - 2022-11-14

        I checked about the version of Popt on my kali and I preferred to keep it the way it is because it has the latest version, as I'm new to linux systems I might end up breaking something and making the situation worse. I will wait for the next updates to see if there is a solution. And my boss will help me apply the version solution another day if possible

         
  • Steven Shiau

    Steven Shiau - 2022-11-16

    Thanks. I have reported this bug last month:
    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1022052

    The culprit is libpopt0. However, it seems it is not fixed yet.

    Steven

     
  • Vitor Fernandes

    Vitor Fernandes - 2022-12-07

    Hi, Steven and knoppmyth

    Just to update, me and my boss tested clonezilla and it still failed, however, we uninstalled, reinstalled and updated, after that clonezilla came back normally!

    Thanks a lot for the help.

     
    👍
    1
  • Steven Shiau

    Steven Shiau - 2022-12-08

    Great. It's nice to know that.

    Steven

     

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.