Menu

Change active partition while in Clonezilla

Help
2011-08-04
2013-04-05
  • knockoutn336

    knockoutn336 - 2011-08-04

    I'm trying to automate Clonezilla so that every time it runs, it will take a disk image from one partition, write it onto another partition, and then set the partition that was just rewritten as the active partition.

    I just can't seem to find the command to set the active partition in Clonezilla / Debian, or find out if it's even possible from Clonezilla live.

    Thanks

     
  • knockoutn336

    knockoutn336 - 2011-08-04

    Also the entire process I was trying to plan involved automatically restoring an image of Windows 7 onto the main partition. 

    At the end of every week, Task Scheduler in Windows 7 would to set a partition with Clonezilla as the active partition then reboot.  Then in Clonezilla I would copy the image of Windows from a storage partition onto the partition with Windows 7.  Finally, I would set the freshly copied installation of Windows 7 as the active partition again.

    This might be confusing, so
    partition 1 = Windows installation
    partition 2 = Clonezilla
    partition 3 = storage for Windows image

     
  • Steven Shiau

    Steven Shiau - 2011-08-10

    To make a partition active, you can use "parted" command, e.g. to make /dev/sda1 active:
    # parted -s /dev/sda set 1 boot on
    I am not sure if I answer all your questions. If not, please let me know.

    Steven.

     
  • knockoutn336

    knockoutn336 - 2011-08-11

    Thanks! It worked :)

     
  • Steven Shiau

    Steven Shiau - 2011-08-17

    No problem. Enjoy!

    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.