Menu

resize partition

Kevin
2021-01-06
2024-01-24
  • Kevin

    Kevin - 2021-01-06

    use clonezilla to make master images of 1 model of a PC, and distribute
    that image to other PCs of the same model.

    What I can do w/ clonezilla is adjust the size of the drive. Meaning, I
    make the image of a 250gb drive, and I can send the 250gb image to a
    500gb hard drive adjusting the drive to be 500gb instead of 250gb…resize.

    However, I am starting to play w/ Rescuezilla, and I am having problems
    getting the drive sizes to readjust properly.

    I make a 250gb drive image w/ Resucezilla, and deploy the image to a
    500gb drive, but the 500gb drive will only be 250gb, not 500gb as should be.

    I’ve restored w/ Rescuezilla trying unchecking partition table
    overwrite. The bottom of the screen says, “you will not be overwriting
    the partition table. The “destination partition” column has been updated
    w/ the destination drive’s existing partition table information.

    The method above will not go forward. If you uncheck partition table
    overwrite, all the partitions become unchecked. I haven’t figured out a
    way to select a partition using this method to start the restore
    process. I can’t choose the destination partition.

    If you check overwrite partition table, all the partitions are then
    checked and can hit next to start the process, but this way leaves the
    restore to the 500gb drive at 250gb.

    There is a utility on Rescuezilla called gpart. I haven’t figured out a
    way to resize the partition in gpart w/ the free space. All I can do w/
    the free space is create a partition, and if I try to resize the 256gb,
    only more free space is created to make another partition out of.

    Is it possible to resize the drive using Rescuezilla or gpart? Maybe I
    should stick w/ clonezilla.

     
  • Rescuezilla

    Rescuezilla - 2021-01-07

    Hi Kevin,

    Rescuezilla v2.1.2 does not yet match Clonezilla's ability to resize partitions automatically (task #18). There are a few other Clonezilla features that I will be implementing for task #146. It might also be worth skimming the Rescuezilla Limitations GitHub Wiki page. I will be adding automatic partition resizing to Rescuezilla v2.2 which is scheduled for release after April 2021, so approximately 4 months from now.

    As of Rescuezilla v2.1.2, you would need to make a restore using Rescuezilla and overwrite the partition table. Then you would open GParted Partition Editor, select your hard drive and right-click on the final partition, click resize, and drag to expand it to fill all the unused space. Then apply the changes.

    Rescuezilla's overwrite partition table checkbox uses the destination disk's existing partition table. This blanks out the destination disk and you need to select the partitions using the destination partition columns drop-down menu to remap them. In you case, this approach won't be suitable because while the destination partition might the correct size, as of Rescuezilla v2.1.2 the filesystem in your backup still won't automatically grow to fill the unused space, so GParted would still need to be used.

    Also I should mention here that some users reading this (possibly including yourself) may manage a very large fleet of identical computers and that Clonezilla offers the DBRL (Diskless Remote Boot in Linux) to make this process easier. There is also a web-UI tool named the FOG Project. These two tools make it easy to image hundreds of computers at once (especially if they are booted from a central location using PXE / network boot). In the more distant future after other higher priorities are completed, Rescuezilla may add DBRL and FOG Project compatibility.

    Maybe I should stick w/ clonezilla.

    Try the GParted Partition Editor instructions I suggested above. As mentioned, Rescuezilla v2.2 (to be released after April 2021) will match Clonezilla's ability to automatically resize partitions, making using GParted unnecessary in the future.

    Let me know how you go. If you need help just ask!

     
  • Anonymous

    Anonymous - 2024-01-24

    It is crashing! I did a image of my /home and I need to wipe my system. When I installed it with a fresh install I am trying to get /home back and it is not working.

     
  • Rescuezilla

    Rescuezilla - 2024-01-24

    Hi Anonymous,

    So you're trying to restore your file system image to /home? What's the error message?

    Does your backup image verify?

    Is your destination partition larger than the source partition stored in the image?

     

Anonymous
Anonymous

Add attachments
Cancel