Microsoft Windows Vista Community Forums - Vistaheads
Recommended Download



Welcome to the Microsoft Windows Vista Community Forums - Vistaheads, YOUR Largest Resource for Windows Vista related information.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so , join our community today!

If you have any problems with the registration process or your account login, please contact us.

Driver Scanner

How to fix MBR for Vista

microsoft.public.windows.vista.general






Speedup My PC
Reply
  #1 (permalink)  
Old 04-27-2010
Robert Janik
 

Posts: n/a
How to fix MBR for Vista
I'm trying to fix Vista boot sector by "Repair" from original DVD, but
bootsect and bootrec doesn't seem to resolve the problem.

Configuration:
Vista Ultimate x64 SP2 installed on C: drive (partition 1)

Steps:
1. Backup and delete C:\boot\bcd file
2. diskpart - select partition 1 and make active
3. bootrec /fixmbr
4. bootrec /fixboot
5. bootrec /rebuildbcd

When I start the computer it shows BIOS screen and then black screen with
cursor blinking on the 3rd row.

I also tried bootsect /nt60 C: but this didn't help either.

Is it possible that bootmgr file is corrupted? It is interesting that it's
size is around 330kb, while the one on original Vista DVD has more than
400kb. Is there difference between original Vista and SP2? Is bootmgr on a
system with SP2 compatible with boot sector created by the DVD which has
first version of Vista?

I ran the checkdsk, but no errors were found.
If I select "Repair OS startup" (first option on the DVD) it checks the the
system and says that everything is fine.

I'm able to update boot sector by GRUB boot loader and start Linux, but I
cannot fix boot sector for Vista. Is there another way to fix MBR and boot
sector of the partition?

Thanks.


Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 04-28-2010
Andy
 

Posts: n/a
Re: How to fix MBR for Vista
Delete or rename bootmgr and boot up. If you don't see the boot
manager missing error, then either the boot sector is bad or the MBR
isn't transferring control to the boot sector. If you see the error,
then bootmgr is bad.

On Tue, 27 Apr 2010 03:08:26 -0700, "Robert Janik"
<robert_janik@hotmail.com> wrote:

>
>I'm trying to fix Vista boot sector by "Repair" from original DVD, but
>bootsect and bootrec doesn't seem to resolve the problem.
>
>Configuration:
>Vista Ultimate x64 SP2 installed on C: drive (partition 1)
>
>Steps:
>1. Backup and delete C:\boot\bcd file
>2. diskpart - select partition 1 and make active
>3. bootrec /fixmbr
>4. bootrec /fixboot
>5. bootrec /rebuildbcd
>
>When I start the computer it shows BIOS screen and then black screen with
>cursor blinking on the 3rd row.
>
>I also tried bootsect /nt60 C: but this didn't help either.
>
>Is it possible that bootmgr file is corrupted? It is interesting that it's
>size is around 330kb, while the one on original Vista DVD has more than
>400kb. Is there difference between original Vista and SP2? Is bootmgr on a
>system with SP2 compatible with boot sector created by the DVD which has
>first version of Vista?
>
>I ran the checkdsk, but no errors were found.
>If I select "Repair OS startup" (first option on the DVD) it checks the the
>system and says that everything is fine.
>
>I'm able to update boot sector by GRUB boot loader and start Linux, but I
>cannot fix boot sector for Vista. Is there another way to fix MBR and boot
>sector of the partition?
>
>Thanks.
>

Reply With Quote
  #3 (permalink)  
Old 04-28-2010
Robert Janik
 

Posts: n/a
Re: How to fix MBR for Vista
I tried renaming winload.exe, but I saw no error message. Renaming bootmgr
did not help to find problem either. I see only black screen.
MBR doesn't seem to be transferring control to boot loader on partition 1. I
tired bootrec /fixmbr and also easybcd to fix MBR with no luck.
It is interesting that bootmgr and other files are from 04/09/2009 (perhaps
release of SP2?) and my original Vista DVD is from 2/12/2007.
Maybe SP2 updated MBR and bootmgr and the old DVD simply cannot create
correct MBR to transfer control. I started examining MBR and partition 1 (my
C: drive) starts at offset 1048576 as it should.
Is there a way to debug MBR loading and executing (like when you do kernel
debugging on OS)?


"Andy" <1@2.3> wrote in message
news:sd7ft5h0u0p7ae812st5hot9eivsdbplb4@4ax.com...
> Delete or rename bootmgr and boot up. If you don't see the boot
> manager missing error, then either the boot sector is bad or the MBR
> isn't transferring control to the boot sector. If you see the error,
> then bootmgr is bad.
>
> On Tue, 27 Apr 2010 03:08:26 -0700, "Robert Janik"
> <robert_janik@hotmail.com> wrote:
>
>>
>>I'm trying to fix Vista boot sector by "Repair" from original DVD, but
>>bootsect and bootrec doesn't seem to resolve the problem.
>>
>>Configuration:
>>Vista Ultimate x64 SP2 installed on C: drive (partition 1)
>>
>>Steps:
>>1. Backup and delete C:\boot\bcd file
>>2. diskpart - select partition 1 and make active
>>3. bootrec /fixmbr
>>4. bootrec /fixboot
>>5. bootrec /rebuildbcd
>>
>>When I start the computer it shows BIOS screen and then black screen with
>>cursor blinking on the 3rd row.
>>
>>I also tried bootsect /nt60 C: but this didn't help either.
>>
>>Is it possible that bootmgr file is corrupted? It is interesting that it's
>>size is around 330kb, while the one on original Vista DVD has more than
>>400kb. Is there difference between original Vista and SP2? Is bootmgr on a
>>system with SP2 compatible with boot sector created by the DVD which has
>>first version of Vista?
>>
>>I ran the checkdsk, but no errors were found.
>>If I select "Repair OS startup" (first option on the DVD) it checks the
>>the
>>system and says that everything is fine.
>>
>>I'm able to update boot sector by GRUB boot loader and start Linux, but I
>>cannot fix boot sector for Vista. Is there another way to fix MBR and boot
>>sector of the partition?
>>
>>Thanks.
>>

Reply With Quote
  #4 (permalink)  
Old 04-28-2010
Robert Janik
 

Posts: n/a
Re: How to fix MBR for Vista
I did try several Linux distributions and did this process at least 10 times
and I never lost my Vista partition. I always partition unused space and
install Linux, then verify that everything is working and as a last step
update boot sector on the partition for Linux. Then I dump boot information
(512 bytes) and copy it to C: drive as linux.bin. Then I add bcd record so
that I could use original Vista boot loader and it's menu to start by
default Vista or select Linux. This time however as an "expert" I was a
little bit quick in setting this up and mistyped partition number. I thought
I can quickly fix it by Vista DVD and running bootsect or bootrec, but I
ended up in this situation.

Hard disk works perfectly no errors, memory test does not detect anything.
C: drive with Vista seems to be untouched. When I was running from Vista DVD
I ran checkdisk and there was no error. "Startup repair" detected that I
have C: volume with Vista. I went as far as checking MBR for disk signature,
I checked if partition 1 has correct offsets (1MB) and everything looks
good.

I was able to copy all my data to USB portable drive. The only problem is
that some files and folders are not accessible this way. Many applications
store their data in \Users\<user>\... There are configurations I need as
well as all sorts of junk and temporary files. Many things are also stored
in registry so if you reinstall, you have to reinstall each application to
update registry. This is really a bad design. I don't know who came up with
the idea of Temp files, Temporary Internet files, Thumbnails and other work
data merged with configurations and saved projects in one place. You cannot
simply backup one folder. Backing up the whole hard drive takes several
hours and cannot be done on daily basis. I myself use external USB drive for
all multimedia content, like DVDs because this way I don't lose it, if I
need to reinstall OS and repartition hard drive. For all other stuff I have
C:\Projects and C:\Temp. I need only to copy Projects folder to my USB drive
and backup is done in a few minutes. But I'm not sure if I can simply copy
Windows Live Mail database and then restore it on a clean system if I didn't
export it as one file. The same problem is with IE configuration as I use
very tight security settings, Skype settings etc. I cannot export these and
extract configurations one by one or backup the whole hard drive every time
I do something with my computer (and that is almost every day). How nice
would it be if for example Visual Studio didn't update any registry settings
and any plugins and SDKs were simply in one subfolder. IE could have all
plugins/activex in a subfolder etc.

It would be nice to have
C:\Temp - used by default by all applications
C:\Configuration\<username> - used by default by all apps for user specific
C:\Configuration\public
C:\Configuration\system - for storing user accounts and security settings so
that I could tell new OS could easily restore
C:\UserData\<username> - for documents and other data created by user
C:\Media - for pictures, videos, music (these are usually large files, we
don't need to backup these regularly or not at all)

This way I could simply reinstall OS into Windows folder, update boot sector
and that's all. Registry would be used only for OS settings, to setup
debugging, appverifier etc. The worst case scenario would be repartitioning
hard drive, installing OS and applications and simply copy Configuration and
UserData folders. No manual setup of applications would be necessary.
Now I will have to start from scratch. Installing OS and apps isn't so bad.
Setting up apps is what makes it so tedious. ALl these usernames, passwords,
ftp settings, bookmarks, mail accounts .....

I wanted to try Ubuntu Studio 9.10 because it is supposed to have real time
kernel. So far it works nicely and is really really fast. My machine is a
tablet with Core2Duo 2.4GHz, 4 GB RAM and Vista Ultimate x64. Vista is a
little bit slower, for example it boots up in 8 minutes with many services
disabled (used to be up to 15 minutes before I could start using the
machine), while Ubuntu takes 40 to 50 seconds (almost faster than waking up
Vista from sleep mode :-) . Playing content on Hulu is somehow smoother and
even scripts in msnbc player are much faster than on Vista in Chrome (IE is
even slower). I installed Java Runtime and websites which use it to create
UI are much much much faster. On Vista you see data grid redrawing each cell
and refreshing, but on Ubuntu it show up quickly as if it was one bitmap. On
the other hand setting up bluetooth mouse and WiFi is too much pain. Also
tablet feature doesn't quite work on extended desktop. Moving pen over
tablet's screen causes cursor to move all the way to the external monitor
and that's pretty useless. I use pen with graphics editor, so that's
something I'd like to have.

If I could only save Vista. I still cannot live without it. I'm thinking if
upgrade to Windows 7 would help. Maybe it would fix boot records.



"c_atiel" <fac_187@hotmail.com> wrote in message
news:7C156665-4AF6-45D6-9E58-171D86EE5D07@microsoft.com...
> Dual booting Linux and Vista is not for the faint of heart and is not as
> foolproof as Linux advocates would have you believe. Linux coexists with
> XP more easily because of the different nature of the XP and Vista
> bootloaders--such is my experience.
> It is not clear if your Vista/Linux dual boot ever worked or you ran into
> this problem after installing the second OS. If you had a working copy of
> Vista and then installed Linux but it did not configure the linux boot
> loader properly (imagine!) you should be able to repair/replace the Vista
> boot loader with the Vista install DVD as you have tried. This will wipe
> out the linux boot loader.
> The Vista install DVD is usually able to automatically restore the MBR
> although it may take a few tries.
> That you do not seem able to do this may be bad news. Not cancer but
> painful nonetheless.
> If you can boot into Linux you should be able to read your Vista partition
> and see if the files are intact. I hope you did not wipe Vista out but you
> may have.
> If you can boot into Linux on the hard drive or a live CD then COPY your
> vital data from the Vista and Linux partitions to a CD/DVD or another hard
> drive before you do anything else. That is the single most important thing
> you can do.
> If a computer stops after the BIOS splash screen that often means a
> hardware problem, most commonly the hard drive or the power supply,
> probably the latter based on the info you provide-there may not be a good
> power signal.
> If you do not know how to troubleshoot these issues the simplest trial and
> error technique is, AFTER COPYING YOUR DATA, reformat the hard drive and
> install your OS of choice, presumably Vista. Then run hard drive and RAM
> software tests; these are usually more reliable than SMART monitoring.
> A failing power supply will often boot after a few tries but eventually
> nada. This seems to be what you are describing.
> A failing hard drive usually begins to produce random BSODs and eventually
> will not boot at all.
>
>
>
>
>
>

Reply With Quote
  #5 (permalink)  
Old 04-29-2010
c_atiel
 

Posts: n/a
Re: How to fix MBR for Vista
Dual booting Linux and Vista is not for the faint of heart and is not as
foolproof as Linux advocates would have you believe. Linux coexists with XP
more easily because of the different nature of the XP and Vista
bootloaders--such is my experience.
It is not clear if your Vista/Linux dual boot ever worked or you ran into
this problem after installing the second OS. If you had a working copy of
Vista and then installed Linux but it did not configure the linux boot
loader properly (imagine!) you should be able to repair/replace the Vista
boot loader with the Vista install DVD as you have tried. This will wipe out
the linux boot loader.
The Vista install DVD is usually able to automatically restore the MBR
although it may take a few tries.
That you do not seem able to do this may be bad news. Not cancer but painful
nonetheless.
If you can boot into Linux you should be able to read your Vista partition
and see if the files are intact. I hope you did not wipe Vista out but you
may have.
If you can boot into Linux on the hard drive or a live CD then COPY your
vital data from the Vista and Linux partitions to a CD/DVD or another hard
drive before you do anything else. That is the single most important thing
you can do.
If a computer stops after the BIOS splash screen that often means a hardware
problem, most commonly the hard drive or the power supply, probably the
latter based on the info you provide-there may not be a good power signal.
If you do not know how to troubleshoot these issues the simplest trial and
error technique is, AFTER COPYING YOUR DATA, reformat the hard drive and
install your OS of choice, presumably Vista. Then run hard drive and RAM
software tests; these are usually more reliable than SMART monitoring.
A failing power supply will often boot after a few tries but eventually
nada. This seems to be what you are describing.
A failing hard drive usually begins to produce random BSODs and eventually
will not boot at all.






Reply With Quote
  #6 (permalink)  
Old 04-29-2010
Robert Janik
 

Posts: n/a
Re: How to fix MBR for Vista
When I reboot with GRUB boot loader in MBR and select Vista it displays a
message

compressed

It looks like part of the message "BOOTMGR IS COMPRESSED press ctrl + alt +
del to restart", however in my case there is only the word "compressed".
I opened properties for drive C: and Compressed is unchecked, so this volume
definitely is not compressed. A long time ago I was doing disk cleanup and
there was option "Compress unused files" checked when it started I aborted
the process, because I didn't want any files to be compressed.

Is it possible that my issue is caused by the fact that some files were
indeed compressed before I aborted the process and now I'm getting this
message?
Is there a way to find compressed files and decompress them when running
"repair" from Vista DVD?



"Robert Janik" <robert_janik@hotmail.com> wrote in message
news:A3F12070-B29F-4A9B-A5CB-96FB8E240428@microsoft.com...
> I tried renaming winload.exe, but I saw no error message. Renaming bootmgr
> did not help to find problem either. I see only black screen.
> MBR doesn't seem to be transferring control to boot loader on partition 1.
> I tired bootrec /fixmbr and also easybcd to fix MBR with no luck.
> It is interesting that bootmgr and other files are from 04/09/2009
> (perhaps release of SP2?) and my original Vista DVD is from 2/12/2007.
> Maybe SP2 updated MBR and bootmgr and the old DVD simply cannot create
> correct MBR to transfer control. I started examining MBR and partition 1
> (my C: drive) starts at offset 1048576 as it should.
> Is there a way to debug MBR loading and executing (like when you do kernel
> debugging on OS)?
>
>
> "Andy" <1@2.3> wrote in message
> news:sd7ft5h0u0p7ae812st5hot9eivsdbplb4@4ax.com...
>> Delete or rename bootmgr and boot up. If you don't see the boot
>> manager missing error, then either the boot sector is bad or the MBR
>> isn't transferring control to the boot sector. If you see the error,
>> then bootmgr is bad.
>>
>> On Tue, 27 Apr 2010 03:08:26 -0700, "Robert Janik"
>> <robert_janik@hotmail.com> wrote:
>>
>>>
>>>I'm trying to fix Vista boot sector by "Repair" from original DVD, but
>>>bootsect and bootrec doesn't seem to resolve the problem.
>>>
>>>Configuration:
>>>Vista Ultimate x64 SP2 installed on C: drive (partition 1)
>>>
>>>Steps:
>>>1. Backup and delete C:\boot\bcd file
>>>2. diskpart - select partition 1 and make active
>>>3. bootrec /fixmbr
>>>4. bootrec /fixboot
>>>5. bootrec /rebuildbcd
>>>
>>>When I start the computer it shows BIOS screen and then black screen with
>>>cursor blinking on the 3rd row.
>>>
>>>I also tried bootsect /nt60 C: but this didn't help either.
>>>
>>>Is it possible that bootmgr file is corrupted? It is interesting that
>>>it's
>>>size is around 330kb, while the one on original Vista DVD has more than
>>>400kb. Is there difference between original Vista and SP2? Is bootmgr on
>>>a
>>>system with SP2 compatible with boot sector created by the DVD which has
>>>first version of Vista?
>>>
>>>I ran the checkdsk, but no errors were found.
>>>If I select "Repair OS startup" (first option on the DVD) it checks the
>>>the
>>>system and says that everything is fine.
>>>
>>>I'm able to update boot sector by GRUB boot loader and start Linux, but I
>>>cannot fix boot sector for Vista. Is there another way to fix MBR and
>>>boot
>>>sector of the partition?
>>>
>>>Thanks.
>>>

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




All times are GMT +1. The time now is 20:07.




Driver Scanner - Free Scan Now

Vistaheads.com is part of the Heads Network. See also XPHeads.com , Win7Heads.com and Win8Heads.com.


Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.6.0 RC 2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120