Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

My Windows Server 2008 R2 won't start and stops with Stop 7B, so I start the recovery console and use diskpart to check the disk. There are to partitions one of Type 17 and one of type 07, the detail disk command show me that the disk is not a boot disk. How can I set this boot flag with diskpart? Or is this flag only set true if the MBR works fine. I try following commands:

bootsect /nt60 ALL /force /mbr
bootrec /fixboot
bootrec /fixmbr
bootrec /rebuildbcd

the last command show me the number of OS is 0, so how can I set this flag to true?

Here is the output of diskpart detail disk: enter image description here

share|improve this question

2 Answers 2

up vote 2 down vote accepted

The diskpart in recovery console doesn't allow you to make a partition active(bootable).

Use Gparted Live.

http://en.wikipedia.org/wiki/Diskpart "On the Recovery Console, which is included in all Windows 2000, Windows XP and Windows Server 2003, there is a diskpart command which is significantly different from the one included in the actual operating system. It only provides functionality for adding and deleting partitions, but not for setting an active partition. The utility is also provided in the Windows Recovery Environment, the successor of the original Recovery Console"

share|improve this answer
    
I boot from a live-Linux and start gparted. The Bootflag is set but the detail disk show me "boot disk" no –  kockiren May 18 '13 at 11:14
1  
@kockiren there are some more commands you can try social.technet.microsoft.com/Forums/en-US/winserversetup/thread/… like sfc (with some parameters like sfc /SCANNOW /OFFBOOTDIR=d:\ /OFFWINDIR=d:\windows where d is your windows drive) and startrep.exe and if both those fail then you might have to reinstall windows. As windows server 2008 apparently has no repair installation w7 has no repair installation either! xp does. –  barlop May 18 '13 at 11:47
1  
also if you just made it active/bootable when it those commands can't see windows, then you're not likely to be able to even start getting into windows. if you can reach a stage where those commands can see windows, particularly the rebuildbcd command which found 0 Oss, if running those other commands leads it to find the Os then great, if not, then maybe that's a basic problem that leads diskpart to not see that it's bootable when gparted set it to bootable. –  barlop May 18 '13 at 11:51
    
I run sfc and startrep but it dosent help. No bootrec /rebuild find a Installation but the System won't start correctly. It stops with 7B and now Dumpfile was create :-( –  kockiren May 18 '13 at 12:00
    
@kockiren so backup and reinstall windows. And by the way did diskpart when you do detail partition, does it say active? –  barlop May 18 '13 at 12:00

DISKPART (to open the partition utility)

LIST DISK (disk number(s) will be shown)

SELECT DISK n (where n is the number of the disk - probably 0)

LIST PARTITION (partition number(s) will be shown)

SELECT PARTITION n (where n is the number of the Primary partition you wish to make Active)

ACTIVE (the selected partition on the selected disk will be made Active)

EXIT (to exit DiskPart)

EXIT (to exit the Command Prompt)

Restart computer.

share|improve this answer
    
The the Partition is marked as active but not as Boot Disk. There is a flag called "Boot Disk" and has value no but in well working systems this flag is always set to yes. –  kockiren May 18 '13 at 5:30
    
add a screenshot for detail partition, that would say active or not. –  barlop May 18 '13 at 12:00

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.