Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Saving factory state of a laptop

  1. #11
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: Saving factory state of a laptop

    Quote Originally Posted by mastablasta View Post
    second one refers to restore. when you restore the compressed image the partition you are restoring to must be equal size or larger. backup won't take 500 GB, but when you are restoring it you will have to restore it to 500 GB hard drive or larger.
    +1

    The compressed image by Clonezilla can be quite small, but when you intend to restore it, you need a drive of the same size as the source drive of larger.


    also have a look at redobackup. i find it has a nicer interface than clonezilla and does more or less same thing. problme i had with clonezilla is the options are not really explained when you are doing things and there is no way to go back in menu. so if you change your mind while setting up the backup you need to do it all over agian. i guess if oyu are used to it you will do it right the first time and this is not an issue. but for me when i started it was. took me three times through all menues before it continued.
    I like Clonezilla, and I have not tried redobackup. I suggest you try a couple of tools, and use the one you like best. You can even pipe the output of dd to a file compression program and reduce the size of the image, similar to what Clonezilla does, but not as efficiently.

    Code:
    sudo -s
    dd if=/dev/sdx bs=4096 | gzip > dd-sdx.img.gz
    sync
    exit
    or slower but ~20% better compression
    Code:
    sudo -s
    dd if=/dev/sdx bs=4096 | xz > dd-sdx.img.xz
    sync
    exit
    where x is the source drive, a for the first one. mkusb can be used to restore safely from a compressed image file dd-sdx.img.gz or dd-sdx.img.xz

    If you want to be 100% sure, get a new drive of the same size of larger, and test that restoring from the backup really works.

    My recommendation: Learn Clonezilla and use it. Test that restoring from the backup really works.
    Last edited by sudodus; March 19th, 2014 at 10:35 AM. Reason: enter root, sync and exit root; mkusb for safe restore

  2. #12
    Join Date
    Feb 2009
    Beans
    19

    Re: Saving factory state of a laptop

    Great, Clonezilla works great.

    Now I have a followup question. For the drive that I dd (several months ago), my iso file is 360gb, but there is probably 10gb on info on it. Is there a way to mount that iso file in clonezilla and then do the colnezilla copying process on the mounted 360gb iso file.

    In short.
    1. Plug in externalDriveA to the laptop
    2. Start clonezila on laptop
    3. Mount the 360gb iso file on the laptop (lets name it d1). Remember d1 is a drive with many (3-ish) partitions.
    4. run clonezilla with the source being d1

    I wonder how to do step 3 and 4.

    Thanks!

  3. #13
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: Saving factory state of a laptop

    It is possible but not easy. Knowing the offset from the drive head to each of the partitions you can loop mount the partitions one at a time. But I would not recommend it. If you want to compress the information there are two ways:

    1. Compress the big image file

    Code:
    gzip -c d1 > d1.gz
    To make it really small, you should also zeroise the free space, but the methods I know requires mounting the partitions.

    2. Flash it to a drive, and use Clonezilla on that drive. It means that you need a separate drive of at least the same size, 360 GB, that will be completely overwritten. That drive can be used for other things afterwards, so it is not wasted.

    I would recommend method 2. Maybe it looks awkward, but it will make things easier in the future.

  4. #14
    Join Date
    May 2007
    Beans
    12,539

    Re: Saving factory state of a laptop

    Regarding whether or not you can mount the Clonezilla image file, this is from the Clonezilla website, under Limitations:

    Due to the image format limitation, the image can not be explored or mounted.
    Ubuntu 14.04, Mint 17; MS Win 8.1.
    Will not respond to PM requests for support -- use the forums.

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •