Menu

Use Partition From Image

Help
2011-07-15
2013-04-05
  • Charles Cagle

    Charles Cagle - 2011-07-15

    When using clonezilla from an external and choosing all options, we can use the partition table from image and have no issues.
    I am developing a thumb drive we can send out to location, using custom clonezilla script, so they can press 3 buttons and fix OS problems.
    I have everything worked out, providing the disk in the computer they are using has 1 partition to clone to. However some of our locations have utility partitions as SDA1 which causes a problem for us.
    I know that -k is causing it to not mess with the partition. Using clonezilla and choosing options there is a blank peramiter at the beginning where it uses the partition from the image, when I try to create a custom clonezilla without the -k it does not create, it gives the help file.

    Can someone tell me what to do to create the custom clonezilla and use the partition table from the image please.

    Thanks in advance!

     
  • Charles Cagle

    Charles Cagle - 2011-07-23

    I would really like a hand with this if anyone could.
    The problem is the partitioning options are not in the custom-ocs script, it is added when you create the clonezilla build.

    The section is -k NONE and I am not sure if the NONE has anything to do with it. I know the -k is do not touch the partition on drive, and I need the partition touched by the image. However running the create command without -k just brings up the help screen instead of creating a clonezilla build.

    Thanks again.

     
  • Steven Shiau

    Steven Shiau - 2011-07-24

    "However running the create command without -k just brings up the help screen instead of creating a clonezilla build. " -> Please show us your command so that we can try it to reproduce the problem here.
    Thanks.

    Steven.

     
  • Charles Cagle

    Charles Cagle - 2011-07-24

    /opt/drbl/sbin/ocs-live-dev -g en_US.UTF-8 -k NONE -s -c -m ./custom-ocs is the default, if I try to run it
    /opt/drbl/sbin/ocs-live-dev -g en_US.UTF-8 -s -c -m ./custom-ocs
    or /opt/drbl/sbin/ocs-live-dev -g en_US.UTF-8 NONE -s -c -m ./custom-ocs
    it brings up the help text. When running clonezilla manually without a script, -k is the choice for leaving the partition alone from the disk. The page where you chose the partition options, the first choice is use the partition table from image, however that option has no perameter attached to it, it is blank.

     
  • Charles Cagle

    Charles Cagle - 2011-07-24

    If it helps you understand my goal better:
    I have clonezilla scripted to a 2 partition thumb drive. I have the first partition of the thumb drive sdb1 with the clonezilla build. The second partition contains one image named backup (sdb2)
    The script simply restoredisk backup to sda.
    This works as planned if the target sda is one big partition. However some pc's still have the factory partition with utility crap on it. Those are the ones that fail as that is sda1 with a 4mb partition and I am needing at least 40 gigs on that first partition.
    So If i could get my script to run the partition table from the image, all would be solved.
    The reason this is needed is our company uses 1 image for each model of computer, example all 745's should be running our 745 image. This works great. However our locations are all over the country, and we have 5 guys. We are trying to make it so that if it is a software problem we can just send them a thumb drive, they push 3 buttons and boom its clean again.

     
  • Steven Shiau

    Steven Shiau - 2011-07-27

    "/opt/drbl/sbin/ocs-live-dev -g en_US.UTF-8 -s -c -m ./custom-ocs" -> This should work. I tested it here with Clonezilla live 1.2.10-2-i686-pae and it worked. I believe it should work for 1.2.9-19, too.
    Which version of Clonezilla live did you use?

    "/opt/drbl/sbin/ocs-live-dev -g en_US.UTF-8 NONE -s -c -m ./custom-ocs" -> should be
    /opt/drbl/sbin/ocs-live-dev -g en_US.UTF-8 -k NONE -s -c -m ./custom-ocs

    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.