Menu

#429 "Box" is an unknown partition device. Program terminated!.

open
None
5
2025-05-11
2025-04-08
No

As the title indicated I catch this error when booting with the latest versions.
tested with 3.2.1-9 and 3.2.1-16 and 3.2.1-21 ...
All with the same behaviour.

Although this appeared in an industrial PC ( screen + motherboard CPU combo) .

Noticed that this kind of message did appear in previous versions ....
Nonetheless the system started correctly showing the correct number of devices
and after exiting with ctlr+C .
The system had 3 devices with total 9 partitions.
when asking for the image repository ,
it starts to enumerate the partitions stopping at the end with the error :
-- "Box" is an unknown partition device. Program terminated!. ---

It seems that somewhere along the way an error occured and the catched string was "Box" ...
"Busy Box" error perhaps ?

Tried several bot / startup options with no avail .
in those machines it was the first time that I saw this error ...

Had a previous version from "20241010-noble" which worked flawlessy.

Any ideas where can I help to debug this, is there any log that I can send ?

Discussion

  • Steven Shiau

    Steven Shiau - 2025-04-08

    If you are familiar with the command "screen", you can help us to get debug info.
    Please:
    1. Boot Clonezilla live 3.2.1-21, and enter command line prompt
    2. sudo -i
    3. screen
    4. bash -x clonezilla
    Then continue to get the error messages.
    Please copy & paste all the output on the screen from the beginning to a file, i.e., the output on the screen from "bash -x clonezilla" to the error messages.
    Please share the file. Thanks.
    Ref: https://www.linuxjournal.com/content/copy-and-paste-screen

    Steven

     
  • Mark Marques

    Mark Marques - 2025-04-09

    I tested with the latest 3.2.1-21 ( debian) version and the error is still present.
    At the end of the above procedure It reports a /tmp/ocs.tmp ( random letters namefile) , but at the next shell prompt the file is gone ...

    Using bash -x clonezzila | tee filenameyy.log reports this :


    [?1049h(B)0[?25l                                NCHC Free Software Labs, Taiwan

    ┌────────────────┤ Clonezilla - Opensource Clone System (OCS) ├────────────────┐│ Clonezilla is free (GPL) software, and comes with ABSOLUTELY NO WARRANTY ││ ///Hint! From now on, if multiple choices are available, you have to press ││ space key to mark your selection. An asterisk (*) will be shown when the ││ selection is done/// ││ Two modes are available, you can ││ (1) clone/restore a disk or partition using an image ││ (2) disk to disk or partition to partition clone/restore. ││ Besides, Clonezilla lite server and client modes are also available. You can ││ use them for massive deployment ││ Select mode: ││ ││ device-image work with disks or partitions using images  ││ device-device work directly from a disk or partition to a disk or partitio ││ remote-source Enter source mode of remote device cloning ││ remote-dest Enter destination mode of remote device cloning ││ lite-server Enter_Clonezilla_live_lite_server ││ lite-client Enter_Clonezilla_live_lite_client ││ ││ ││ <ok> <cancel> ││ │└──────────────────────────────────────────────────────────────────────────────┘ [?25h</cancel></ok>

    [?1049lClonezilla mode is device-image
    [?1049h(B)0[?25l                                NCHC Free Software Labs, Taiwan┌─────────────────────┤ Mount Clonezilla image directory ├─────────────────────┐│ Before cloning, you have to assign where the Clonezilla image will be saved ││ to or read from. We will mount that device or remote resources as ││ /home/partimag. The Clonezilla image will be saved to or read from ││ /home/partimag. ││ ││ local_dev Use local device (E.g.: hard drive, USB drive)  ││ ssh_server Use SSH server ││ samba_server Use SAMBA server (Network Neighborhood server) ││ nfs_server Use NFS server ││ webdav_server Use_WebDAV_server ││ s3_server Use_AWS_S3_server ││ enter_shell Enter command line prompt. Do it manually ││ ram_disk Use memory (OK for BT or multicast from raw device) ││ skip Use existing /home/partimag (Memory! NOT RECOMMENDED) ││ ││ ││ <ok> <cancel> ││ │└──────────────────────────────────────────────────────────────────────────────┘ [?25h</cancel></ok>

    [?1049locsroot device is local_dev
    Preparing the mount point /home/partimag...
    If you want to use USB device as a Clonezilla image repository, please
    * Insert USB device into this machine now
    * Wait for about 5 secs
    * Press Enter key
    so that the OS can detect the USB device and later we can mount it as /home/partimag.
    Press "Enter" to continue......Mounting local dev as /home/partimag...
    Finding all disks and partitions..
    Excluding busy partition......
    Excluding linux raid member partition...........
    Finding all disks and partitions..
    Excluding busy harddisk......
    Excluding linux raid member partition.....
    Finding partitions........
    Partition number: 8
    Preparing the dialog menu info........... done!
    [?1049h(B)0[?25l                                [?25hNCHC Free Software Labs, Taiwan

    ┌───────────┤ Clonezilla - Opensource Clone System (OCS) | Mode:  ├────────────┐│ ││ ││ ││ ││ ││ ││ ││ ││ ││ ││ ││ ││ ││ ││ ││ ││ ││ ││ ││ ││ ││ ││ │└──────────────────────────────────────────────────────────────────────────────┘ 

    [?1049l"Box" is an unknown partition device. Program terminated!.
    Press Enter to exit...Unable to mount resource as /home/partimag.
    Are you sure you want to continue?
    [y/N]
    Program terminated!
    Press "Enter" to continue......


    Which is not very useful ....  
    Nonetheless later on I will try to catch the original screen /tmp/file ...
    
    thank you in advance
    
     
  • Mark Marques

    Mark Marques - 2025-04-09

    After some more testing it seems that the /tmp/ocsmenu.yyyy file is touched , but afterwards is deleted ...
    ( opened in parallel another TTY and found out the ocsmenu.yyy file with 0 bytes . ..
    But afterwards It disappears after I select the devices ...

    Somewhere along the way the log mecanism is not working ....
    Any more ideas ?

     
    • Steven Shiau

      Steven Shiau - 2025-04-10

      You should use the copy & paste way, forget about /tmp/ocsmenu.yyyy file.

      Steven

       
  • Mark Marques

    Mark Marques - 2025-04-09

    Another odd detail...
    this machine is booting via UEFI with "NO secureboot" flag active .

    It does NOT show the startup Menu,
    Booting automatically by default
    until the selecting clonezilla and or the "enter_shell" TUI menu screen .

    No option to select the " Clonezilla TO_RAM" startup mode ...

     
  • Steven Shiau

    Steven Shiau - 2025-04-10

    "No option to select the " Clonezilla TO_RAM" startup mode ..." -> You can find that in the other modes of boot menu.

    Steven

     
  • Mark Marques

    Mark Marques - 2025-04-10

    What I tried to report is that in UEFI mode ( I think) , there is NO Menu to select the differente clonezilla modes.

    It seems that in that specific UEFI machine type , clonezilla boots in a default nonchangable mode .
    nonetheless in the second ticket is the text present in the console ( withe escape codes) ...

    As seen, there is after listing the partitions , the "box" error with an almost empty screen with
    no further information ...

     
  • bagged 9008

    bagged 9008 - 2025-05-07

    I am also having this problem with 3.2.1-28 but not 3.2.1-19. Testing 3.2.2 gives me the same result. No menu problem and no difference with ram. All drives are loaded properly in the "ctrl-c" menu but partitiaon menu fails becuse of unknown device "Box". No such device is listed before this. The partition scan runs and fails building the menu to display the partitions.

     
  • Mark Marques

    Mark Marques - 2025-05-08

    Sorry for the late reply , but only yesterday had another batch of machines to test.

    Tested with latest plucky version and the problem is still present...
    Nonetheless with this version I get this in the clonezilla.log:
    "Box" is an unknown partition device. Program terminated!.

    Another important detail I am using Ventoy to boot the ISO .
    If I keep the default boot it goes straight booting with any MENU ( as stated) before.

    If I select the "GRUB" boot option in Ventoy I am able to reach and select the Clonezilla Menu but despite booting correctly in the different options, right after checking the devices to select the "image repository" I get this "box" error ....

     
    • bagged 9008

      bagged 9008 - 2025-05-08

      I tried both with Ventoy and with a directly written bootable flash drive and got the same "Box" message and no partition selection menu. It does not seem to be a Ventoy problem for me. On a UEFI box selecting both normal and grub2 modes give the same results because, I think, in UEFI it will always boot with grub2. Given that the error appears once we are in the program flow I don't think its a booting problem.

       
  • Ole Nielsen

    Ole Nielsen - 2025-05-08

    Same problem here.

     
  • Ole Nielsen

    Ole Nielsen - 2025-05-08

    I have tried with 3.2.1-19 as bagged 9008 proposed but with the same result.

     
  • Steven Shiau

    Steven Shiau - 2025-05-09

    Still we can not reproduce the issue here.
    Please boot Clonezilla live 3.2.1-28, and enter command line prompt, run:
    1. sudo -i
    2. cat /proc/partitions
    3. lsblk
    4. blkid
    5. mount
    Please post the results of 2-5. Thanks.

     
  • Ole Nielsen

    Ole Nielsen - 2025-05-09

    Will photos be ok? I am not quite sure how to dump text to the hard disk from CloneZilla.

     
  • Steven Shiau

    Steven Shiau - 2025-05-09

    Yes, photos will be OK.

     
  • bagged 9008

    bagged 9008 - 2025-05-10

    Here is a screenshot of the machine which is raising the box error on 3.2.1-28 but not 3.2.1-19. This all look pretty normal to me. There is an echo about building the menu, time period and then a blank menu box which usually for the selection of the working partition (I always choose the device mounted here as /sdc) appears. It is seems to be the "box" device is introduced at this stage.

     

    Last edit: bagged 9008 2025-05-10
  • Steven Shiau

    Steven Shiau - 2025-05-10

    Thanks you for providing those photos. However, I still can not find why.
    If you are able to boot Clonezilla live and start its sshd service for me to login to test, please email me at steven@stevenshiau.org
    Or if you can reproduce this issue in a virtual machine, please share its virtual disk so we can try to reproduce this issue here.
    Thanks.

    Steven

     
  • Mark Marques

    Mark Marques - 2025-05-10

    Thank you for the screenshots,
    as I posted initially the pasted text is exactly those screenschots.

    Nonetheless the result from steven Shiau request works as it should ...
    Although I do not have right the possibility to upload the screenshots nor the text .

    Only monday I have access again to reply fully.
    But in one test all the above commands ( individally ) showed the correct information expected.

    In the industrial PC I had an internal SSD ; the Clonezilla / ventoy USB device and an external USB HDD .

    After the error I tried to boot without the HDD until I plugged it in only in the "repository device request menu" loop. With no changes whatsoever .

    Nonetheless later I tried to boot only with Clonezilla direct ( to put Ventoy away from the equation) with the same result.

    Thank you again for the support and as soon as I can ( monday) I will post the formal partition request list.

     
  • Steven Shiau

    Steven Shiau - 2025-05-10

    Thanks to Bagged 9008 for providing the environment to debug. I believe this issue has been fixed.
    Please give testing Clonezilla live 3.2.2-2 or 20250510-* a try:
    https://clonezilla.org/downloads.php
    Please let us know the results.

    Steven

     
  • bagged 9008

    bagged 9008 - 2025-05-10

    I have tried 3.2.2 (debian) and this seems to have resolved the problem which was a space in a partition label. My first boot partition was called "EFI SYSTEM" and when changed to "EFISYSTEM" 3.2.1-28 works normally. I reinserted a space and tried 3.2.2-2 and it parses the space and builds a menu normally. Explains why there was no pattern based on hardware. The cryptic debug message "Box" doesnt help but Steven does not dev the Whiptail menu generator. So, Watch This Box. Thank-you for your dedication, Steven.

     

    Last edit: bagged 9008 2025-05-10
  • Mark Marques

    Mark Marques - 2025-05-10

    Just to report that with the latest version (3.2.2-2 ) this "Box" problem is now solved.

    Find out the problem in a HP Z400 workstation . as "Bagged 9008 " indicated the detail was in fact related to the the "space" in the Win partition "EFI SYSTEM" name , whereas all the machine that had this beaviour had the most recent win installations in UEFI mode.

    Monday I will try to apply this version to the industrial PCs .

    Thank for you the great support and dedication Mr. Steven Shiau .

     
  • Steven Shiau

    Steven Shiau - 2025-05-11

    @bagged 9008 & Mark,
    It's great to know that. Thanks for confirming this issue has been resolved.

     
  • Ole Nielsen

    Ole Nielsen - 2025-05-11

    Same here. The problem seems to be solved.

     

Log in to post a comment.