Deleting bootloader on windows server 2008 r2

So, I have this server (a dell poweredge) with some disks in a raid0 setup.

For testing purposes I had this virtual disk split in 2 partitions.
One with Windows Server 2003, one with Server 2008 R2

Now, I needed the space, so the 2 partitions needed to become 1 single =)

Of course, when you remove the first partition  (where Microsoft puts their bootloader), our bootloader is gone.
And this causes, of course, that nothing boots =)

So, how to put it back:

You need to mark the remaining partition as “active”.
You do this as follows:
Boot from the windows server installation dvd. Choose your language & keyboard layout. And click “repair your computer”. Here can you can start a command prompt/cmd.
In the terminal, you type:

  1. diskpart
  2. list disk
  3. select disk #
  4. list partition
  5. select partition #
  6. active
  7. exit

Then you can rebuild the bcd.

  1. bootrec.exe /fixmbr
  2. bootsect.exe /nt60 all /force
  3. attrib -h -s C:\boot\BCD (in my case I needed to create the directory MD boot, and MC bcd)
  4. del C:\boot\BCD
  5. bootrec.exe /rebuildbcd

After this, your windows server still wont boot. It stops on “mbr is missing”.
This is fixable as well =)
In cmd, type the following:

  1. cd x:\sources\recovery\
  2. StartRep.exe

and you let startrep do its job =)

Afterwards, everything boots again 🙂

Thanks @ http://answers.microsoft.com/en-us/windows/forum/windows_7-system/bootmgr-is-missing-in-windows-server-2008-r2/7bb1d682-e078-4f78-84d7-d4d3f9aa9769 and http://idoneitmyself.wordpress.com/2009/11/15/windows-7-suddenly-wont-boot-reboot-and-select-proper-boot-device-or-insert-boot-media-in-selected-boot-device-and-press-any-key-repairing-the-windows-7-bootloader/ =)

Advertenties
2 reacties
  1. mendel129 zei:

    agge ne 03 pakt ipv ne 08 werkt da idd ni :-p
    nochtans zou nen bcd ook nen boot.ini moete kunnen chainloaden 🙂

Geef een reactie

Vul je gegevens in of klik op een icoon om in te loggen.

WordPress.com logo

Je reageert onder je WordPress.com account. Log uit / Bijwerken )

Twitter-afbeelding

Je reageert onder je Twitter account. Log uit / Bijwerken )

Facebook foto

Je reageert onder je Facebook account. Log uit / Bijwerken )

Google+ photo

Je reageert onder je Google+ account. Log uit / Bijwerken )

Verbinden met %s

%d bloggers liken dit: