Menu

Custom Clonezilla Menu

Help
John Ohm
2008-12-18
2013-04-05
  • John Ohm

    John Ohm - 2008-12-18

    First off, your program works great and I love it!

    But....I will be using Clonezille to clone multiple OS's on multiple boxes with variations among the images so I will have lots of images to say the least.  So I'm looking for a way to customize the menu in Clonezilla to break down the choices of images like:

    type of computer -> OS -> imagine type (ie. factory install, updated software, etc)

    Do you know of an easy way, or where i can edit the code to add those choices in??

    Thanks

    John

     
    • Steven Shiau

      Steven Shiau - 2008-12-19

      John,
      If you can find the rules of your image name, and what you need is to restore, I would suggest you use fixed parameters of /opt/drbl/sbin/ocs-sr, and use "dialog" or "whiptail" to let your user to select image name only.
      Hope you know what I described.

       
    • John Ohm

      John Ohm - 2009-01-06

      Steven,
      I'm not sure if i fully understand what you mean and vice versa.  Right now I have over 70 images and we have to scroll through most of them to find the one we want.  These images will be increasing to many more.  I was kinda hoping to make it easier on the user by adding a hierarchical structure type menu so we could separate the images into different categories.  So when the user gets to the "Choose the image file to restore:"  they will see something like Dell, Sony, Gateway, etc...   After choosing the type they could choose an operating system and then finally choose the image for that computer which will be named factory install, fully updated, etc.  Hope this makes more sense and is fairly an easy fix for me.  Thanks again,

      John

       
    • Steven Shiau

      Steven Shiau - 2009-01-07

      John,
      Actually there is a workaround for you, i.e., you can put the images on different dirs instead of /home/partimag, e.g.
      /images/Dell
      /images/HP
      /images/Acer

      Then you can ask your user to choose Dell, HP, or Acer. Once you got the dir name, you can use mount command to remount it as /home/partimag, i.e. when user choose "Acer"
      You can run the command first:
         mount --bind /images/Acer /home/partimag/
      Then everything is back to normal Clonezilla menu.

      You may refer to the program /opt/drbl/sbin/prep-ocsroot, check the function "do_mount_local_dev".

      Hope this helps.

      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.