1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Norton Ghost and the MBR

Discussion in 'Windows XP' started by alboy, 2004/05/27.

Thread Status:
Not open for further replies.
  1. 2004/05/27
    alboy

    alboy Well-Known Member Thread Starter

    Joined:
    2002/01/09
    Messages:
    538
    Likes Received:
    4
    I have a new computer running XP Home but unfortunately I do not appear to have access to the recovery console in the event of a problem with the MBR as I only have a rescue disk from the supplier, windows came pre-installed.

    I have Norton System Works Pro 2004 installed and I have been imaging the C: drive on a regular basis with Ghost, does Ghost copy the MBR as part of the image?.

    If I restore an image in the event of a problem with the MBR will it also restore the MBR as it was when the image was recorded?.

    many thanks for any help
     
  2. 2004/05/27
    Christer

    Christer Geek Member Staff

    Joined:
    2002/12/17
    Messages:
    6,585
    Likes Received:
    74
    Yes, as I understand it, Ghost Images include the MBR and BR for the imaged partition.
    The serial # of the volumes are included in the MBR and in the BR for the individual partition(s). I have software which have an activation code tied to the volume serial #. After reformating the system partition (which gives a new random serial #) and restoring an Image, the software worked OK.
    My conclusion is that the MBR and BR are included in the Image since the previous serial # was restored.

    Christer
     

  3. to hide this advert.

  4. 2004/05/27
    Zander

    Zander Geek Member Alumni

    Joined:
    2002/01/07
    Messages:
    4,084
    Likes Received:
    5
    Christer's right. If you make an image of your drive, it makes an exact image. This would include the MBR. In fact, though I've never used Ghost I have used Drive Image and when you opt to restore an image it prompts you telling you that it has to first format the drive before restoring the image. If the drive get's formatted that would mean that the MBR would be gone. Therefore, the image has to contain it or you'd have major headaches. I don't know if you get the same prompt in Ghost but you can bet the same type of thing is happening. Without the MBR, it wouldn't be an exact image of the drive.
     
  5. 2004/05/28
    Christer

    Christer Geek Member Staff

    Joined:
    2002/12/17
    Messages:
    6,585
    Likes Received:
    74
    Zander,
    there is no such message in Ghost.

    When I started using it, I asked Symantec if they recommended to format the partition before restoring an Image, if restoring was due to a virus infection. The answer was no, during the restoring process, Ghost formats the partition "on the fly ".

    I assume that they by "on the fly" mean that when Ghost overwrites the partition with the Image, the FAT/MFT and is also overwritten. This would be equivalent to a quick format which only rebuilds the FAT/MFT empty.

    On Drive Image, how long does it take for it to format prior to restoring the image? Is it a quick or full format?

    Christer
     
  6. 2004/05/28
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    Ghost images conntain the MBR. There's a reason that the MBR in the image is restored and that's because some installed apps have written to the mbr (prior to ghosting the driver or partition) Other imaging apps, antivirus apps, etc, all write data to the MBR, thus if an image containg any of these apps did not have the MBR, then these restored apps would not function.

    The Ghost install comes with GDisk, which can be used to overwrite the MBR and do much more than FDisk can do:
    GDISK
     
  7. 2004/05/28
    JSS3rd Lifetime Subscription

    JSS3rd Geek Member

    Joined:
    2002/06/28
    Messages:
    2,221
    Likes Received:
    27
    Sorry, Zander, but Drive Image (8.0, at least ... I can't be sure about earlier versions) does not format the drive on restoration, nor does the warning say that it will. Instead, it says "All data on the destination will be overwritten" (emphasis mine).

    I had to restore my C: drive just yesterday because of a BSOD caused by an error in the MBR, and I can assure you that 1) no formatting took place and 2) the MBR was overwritten.
     
  8. 2004/05/28
    martinr121 Lifetime Subscription

    martinr121 Inactive

    Joined:
    2002/01/07
    Messages:
    1,219
    Likes Received:
    0
    Off topic: Hey Jim, did you change your email address? I emailed you from my Outlook Express address book and it bounced. Email me at martinr(delete-this-part)@tds.net if you want me to have your address.

    Martin

    edit note: changed the email address so you don't get harvested and blasted with spam. Newt
     
  9. 2004/05/28
    JSS3rd Lifetime Subscription

    JSS3rd Geek Member

    Joined:
    2002/06/28
    Messages:
    2,221
    Likes Received:
    27
    I did, and I have. :). It's correct in my profile on the BBS, but I'm not going to publish it here. One of the reasons I changed it was because of the tremendous increase in the amount of spam I was getting. With the change, absolutely none so far after a month, knock wood. :rolleyes:
     
  10. 2004/05/28
    Zander

    Zander Geek Member Alumni

    Joined:
    2002/01/07
    Messages:
    4,084
    Likes Received:
    5
    Well, I still have DI 5. Never saw any reason to upgrade. It does what I need it to do. Either way, I would be willing to bet the drive gets formatted. Let's say you create an image of a drive that contains a new windows installation. At the time the image is created the drive contains 2gb of used space. After a while you decide you want to start again with a new windows so you restore the image file of the new installation. However over time the used space on the drive has grown to 3gb. If the drive isn't formatted at the time the image is restored but things are simply overwritten, the drive should still contain 1gb of files that weren't there originally. No???

    After thinking about this a bit I suppose it could simply delete the files but it would seem to me that formatting would be the better way to go.

    As to the prompt I got when using it, I don't know the exact message but it said something to the effect that the partition would need to be formatted and that all data would be lost. It's been a long time since I've used it to restore an image so I can't really tell the exact message. Also, in response to Christer's question, I don't really remember if it was a quick or full format. I still use it to make images but I don't remember the last time I had to restore an image. It's been a long time. Probably since I first installed XP and restored an XP image just to see if I could get it to work with XP (over two years ago). Maybe I'll haveto dig out the old puter in the closet and do some experimenting and make sure my memory isn't just playing tricks on me. It seems to do that more and more each year. :)
     
  11. 2004/05/29
    martinr121 Lifetime Subscription

    martinr121 Inactive

    Joined:
    2002/01/07
    Messages:
    1,219
    Likes Received:
    0
    Question: If you overwrite all of the files, is that not the same as formatting? Accomplish the same objective?

    After all, the overwritten files are not there anymore. (except to maybe the FBI)

    In Zander's example/question, won't that drive be reduced to 2gigs if DI8 restores it to the original image? If so, how does that differ from formating? If not, can the extra gig be accessed? Won't the MFT be changed and not know about the extra gig?

    Martin
     
  12. 2004/05/29
    Zander

    Zander Geek Member Alumni

    Joined:
    2002/01/07
    Messages:
    4,084
    Likes Received:
    5
    Yes but what happens to the extra 1gb that was on the drive before the image is restored. If it isn't somehow deleted, it would still be on the drive if all the image program did was overwrite things because in my example the image is only 2gb. Therefore, you have to get rid of the extra gb of data somehow. Formatting the drive would do that very well.
     
  13. 2004/05/29
    Christer

    Christer Geek Member Staff

    Joined:
    2002/12/17
    Messages:
    6,585
    Likes Received:
    74
    As I understand it, if we are discussing XP on NTFS (for XP on FAT32, substitute FAT for MFT):

    A file or folder that gets deleted results in an amended MFT but the file/folder is still there until overwritten.

    A quick format amends the MFT by rebuilding it from scratch. All files/folders are still there until overwritten. The new installation overwrites the old files/folders.

    Restoring an Image, overwrites the contents of the volume as space is required for restoring the Image. The MFT gets overwriten too with the one in the Image, corresponding to the contents of the Image. Space that is not required for restoring the Image is left untouched and its file contents has no reference in the restored MFT - the equivalent of deleted files/folders. Sooner or later the "left over" space will be overwritten.

    Norton Ghost does not do a quick format before restoring the Image, the restore process starts immediately. (A full format is out of the question simply because it takes longer to do a full format than restoring an Image.)

    I have two conflicting informations on the difference between a quick and a full format:

    Both agree that a quick format rebuilds the MFT from scratch, nothing else.

    #1 - In addition to rebuilding the MFT from scratch, a full format scans the surface for bad sectors.

    #2 - In addition to rebuilding the MFT from scratch, a full format scans the surface for bad sectors and overwrites it with zeros.

    I have not come to a conclusion, if #1 or #2 is correct.

    Christer
     
  14. 2004/05/29
    Newt

    Newt Inactive

    Joined:
    2002/01/07
    Messages:
    10,974
    Likes Received:
    2
    Maybe both Christer. I haven't looked at specifics in several years but at one time (and fairly recently) the surface test was done by writing a zero to a location, reading that location to see if it read zero, writing a one to the same location, reading the location to see if it read one, writing zero once again and reading it then moving on if all was well. The assumption being that if a drive location did this properly it was good.
     
  15. 2004/05/29
    sparrow

    sparrow Inactive

    Joined:
    2004/03/21
    Messages:
    2,282
    Likes Received:
    0
    Trying to summarize.

    An image is binary data, written as a data stream without regard to contents or file system; a file system is present in the image. For example, make an image of a fat32 disk, format it as ntfs, write image back onto disk and it is now fat32! Write starts at sector 0 = mbr and proceeds to end of image. Thus, no format is necessary.

    It's still there, but since the fat/mft is copied along with the original contents of the disk, those areas are shown in the table as they were when the image was made. If they were empty, they are now empty, although they may contain data which is now "garbage ".
     
    Last edited: 2004/05/29
  16. 2004/05/29
    Christer

    Christer Geek Member Staff

    Joined:
    2002/12/17
    Messages:
    6,585
    Likes Received:
    74
    Newt,
    interesting information!

    Would that mean that every single byte is written to and read or only a sample in each cluster?

    Christer
     
  17. 2004/05/29
    Newt

    Newt Inactive

    Joined:
    2002/01/07
    Messages:
    10,974
    Likes Received:
    2
    Not sure. Hopefully each bit location would be tested.
     
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.