Is there no MBR backup/restore on FOG?



  • Hi,

    no matter which machine i try to backup and then making a test restore, each of it will not boot cause of missing mbr.

    Does Partimage do not save the MBR and will restore it when i restore an image?
    Is it possible to write a fixMBR Snapin? Is one existing?
    I hope i don’t to run manually to each machine to fixMBR this will be annoying.

    Any ideas? Do you have the same problem?

    Greetz X23


  • Moderator

    if you are going to create a master image, you should probably go into the custom disk configuration in windows and choose to make the partition smaller than max disk size.

    For example, I’m creating the master image for Windows 7 Pro on a new workstation that has a 1TB HDD, but I may need to deploy it to a bunch of workstations that have between 160GB and 1TB HDD. During the windows setup, choose the advanced options for disk setup, and make the window partition 80GB to 160GB depending on your needs. Leave the rest of the 1TB HDD unpartitioned (other than the special Win7 partition that it makes automatically).

    If you do this, then you won’t have a problem choosing the Multiple Partition - Single Disk image type option in FOG and deploying to a variety of disks.

    Another option, is to use GPARTED on a USB bootable flash drive, and reducing the size of the windows partition down before you take the master image. GPARTED should let you shrink the partition down without corrupting windows. Make sure to leave enough free space for Windows to operate, which I think is about 10% (so if you used 30GB for the install, don’t shrink below 33GB).



  • Hi,

    [quote=“Jaymes Driver, post: 12046, member: 3582”]Hope this helps, I answered these questions to the best of my ability. If someone knows more about the subject hopefully they will chime in :)[/quote]

    definitely! thank you :) will try different things and report back later.

    Greetz X23


  • Developer

    1.) It’s like you told me, i had choosen Single Partition instead of Multipartition but why is there this resize Problem?

    [B]I’m not exactly sure why there is a resize problem. I’m not exactly sure what the “resize” option even does. All the images I have worked with so far have had multiple partitions, thus makes them non resizable?[/B]

    [B]Anyway. It won’t cause problems as long as you start with your least ammount of space drive say something 80Gb and you want to put your image on a 100GB drive, you will still have all open space. However you can not use a larger drive and go to a smaller drive. This is true with Clonezilla aswell.[/B]

    2.) Is this a behaviour of partimage?

    [B]The resizing? Or having to choose multipartition? If it’s the later, it is because your MBR is technically stored on “another partition” that is hidden. If you use a program like Partition Magic you can see all the partitions.[/B]

    [B]As far as the resizing goes, I only know that when I use a resizable option, I get errors.[/B]

    3.) If i choose Multipartition will the image blow up?
    [B] Lol, no. Even if there is only a single partition, Multipartition is a good idea in case there is a hidden partition.[/B]

    4.) Means will it also save null data?

    [B]You mean like over write empty space? No, it will still have your free space, it will only occupy the space that has data written to it.[/B]

    Anyway null data should be hardly compressible but i need to understand how exactly that works.

    5.) It’s unlikely that a computer get a smaller hdd then before but lets say it’s a bigger hdd what about the additional hdd space will it be allocated or leaving blank?

    [B]It will allocate the space to the partition, but it will leave the space blank for you you write to. There will be no problems when upgrading to a larger drive only when downgrading to a smaller drive.[/B]

    6.) When last it’s the same like the MBR thing in Single Partition mode, rework have to be done to blow up the partition size i hope increasing will work automatically?

    [B]Increasing a hard drive size will be automatic, it will read the drive and give you the free space.[/B]

    7.) What about changing a hdd against a ssd this is a case a storage medium went smaller, what would you do here? Making a single partition image, restore, fix mbr?

    [B] This is something I honestly don’t know. We don’t work with SSD but I imagine it would be similar. If you are familiar with a process using another imaging solution to “fix” going from a larger drive to smaller (when you are not using the max capacity of the smaller drive) I would attempt it here. Not in your working environment but maybe as a test to see how it turns out. If you find a way that works please share with us all :)[/B]

    Hope this helps, I answered these questions to the best of my ability. If someone knows more about the subject hopefully they will chime in :)



  • Hi,

    thank you Jaymes for this great answer.
    Some more questions please:

    [INDENT=1]1.) It’s like you told me, i had choosen Single Partition instead of Multipartition but why is there this resize Problem?[/INDENT]
    [INDENT=1] [/INDENT]
    [INDENT=1]2.) Is this a behaviour of partimage?[/INDENT]
    [INDENT=1] [/INDENT]
    [INDENT=1]3.) If i choose Multipartition will the image blow up?[/INDENT]
    [INDENT=1] [/INDENT]
    [INDENT=1]4.) Means will it also save null data?[/INDENT]

    Anyway null data should be hardly compressible but i need to understand how exactly that works.

    [INDENT=1]5.) It’s unlikely that a computer get a smaller hdd then before but lets say it’s a bigger hdd what about the additional hdd space will it be allocated or leaving blank?[/INDENT]
    [INDENT=1] [/INDENT]
    [INDENT=1]6.) When last it’s the same like the MBR thing in Single Partition mode, rework have to be done to blow up the partition size i hope increasing will work automatically?[/INDENT]
    [INDENT=1] [/INDENT]
    [INDENT=1]7.) What about changing a hdd against a ssd this is a case a storage medium went smaller, what would you do here? Making a single partition image, restore, fix mbr?[/INDENT]

    Greetz X23


  • Developer

    If you select “Multi Partition - All Disks (Not Resizable)” or “Multi Partition - Single Disk (Not Resizable)” under image management it will copy the MBR and all partitions.

    I’m sure it is possible to write fixMBR as a snapin, but I have no experience with snapins at the moment.
    Yes running the fixMBR on each machine would be taxing.

    Just edit your images to reflect the changes and push your upload again, this should correct the issue and any units imaged in the future should not need to be “fixed”.


Log in to reply
 

437
Online

39.3k
Users

11.0k
Topics

104.6k
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.