Menu

Retaining the diag flag on restore

Andreas D
2010-08-30
2013-04-05
  • Andreas D

    Andreas D - 2010-08-30

    Hi there

    We use clonezilla live quite frequently to save and restore images from Dell machines. All of them have this tiny diagnostics partition that we like to retain.

    The problem is that when we restore images taken, the diagnostic partition loses its diagnostic flag, and becomes a visible 150mb partition in windows.

    How can I stop this from happening without using a program like partition magic to restore the flag, quite a time consuming extra step.

    Thanks!

     
  • Steven Shiau

    Steven Shiau - 2010-08-30

    I guess it's possible you can use "parted" command to set the flag. If so, you can have a post run script to set that.
    Please run:
    1. parted -s /dev/sda print
    2. fdisk -l /dev/sda
    (replace /dev/sda with your disk device name)
    Then post the results.

    Steven.

     

Log in to post a comment.

MongoDB Logo MongoDB