Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Broken MBR/Boot/System Partition

23 Feb 2011   #1
pifreak

Windows 7 Home Premium 64 bit
 
 
Broken MBR/Boot/System Partition

Previously I had Ubuntu Linux and GRUB, which pointed to Windows 7 and Windows XP

I formatted all the partitions and resized Windows 7 to use the entire disk.

I accidentally deleted the 100MB partition that contains the boot folder.

Nothing works to fix it. I really need help! I made a new >100MB partition and formatted it to NTFS with gParted, and copied the contents of my laptop's system partition (same exact OS, I thought maybe it would see it and be able to fix it to work with the desktop.)

So, what do you recommend? When I boot the DVD and go to repair installation, it doesnt see any O
S's. On startup repair, even doing it several several times with and without rebooting, it says the same thing.


at the end of the log:

Root cause found:
------
The partition table does not have a valid System Partition.

Repair action: Partition table repair
Result: Completed Successfully. Error Code = 0x0
Time taken = 2277ms

------------
------------

When doing the bootrec commands, it gives errors such as 'Element not found' or 'a device cannot function'

What on Earth can I do to get my pc to boot Windows 7 properly again?

pi`


My System SpecsSystem Spec
.
23 Feb 2011   #2
SIW2

Microsoft Community Contributor Award Recipient

Vista x64 / 7 X64
 
 

Is the 100mb a Primary partition?

If not, mark your main windows partition Active (assuming that is a Primary) - then run startup repair - will probably take 2 or 3 runs.
My System SpecsSystem Spec
23 Feb 2011   #3
Bare Foot Kid
Microsoft MVP

W 7 64-bit Ultimate
 
 

Hello pifreak, welcome to Seven Forums!


Here's a couple tutorials that may help with SIWs suggestions; if not you may need to wipe the entire HDD to overwrite Grub and start over.

Startup Repair - Run 3 Separate Times

How to Mark a Partition as Active in Windows 7


After you have copied out or made back-ups of the data you need to save to external media, use Step One of this tutorial at the link below to do a wipe (secure erase) to the entire Hard Disk Drive, running this "clean all" then using the outline in Step Two #2 to create/format and mark Active a single 100GB partition using diskpart will get you the best possible space to do a clean install of Windows 7 to; you can always extend the Windows partition to include the remaining unallocated space on the HDD / SSD or create additional partitions after the installation completes if you choose.

SSD / HDD : Optimize for Windows Reinstallation

DISKPART : At PC Startup


Be sure to post back with any further questions you may have and to keep us informed.
My System SpecsSystem Spec
.

23 Feb 2011   #4
theog

Microsoft Community Contributor Award Recipient

ME/XP/Vista/Win7
 
 

All Linux code must be deleted.As you have had linux on the HD you need do a Clean all & full format.
Disk - Clean and Clean All with Diskpart Command

Do a full clean & full format in command prompt.
1) Boot DVD & Press Shift+F10 (for command prompt)
DISKPART : At PC Startup
2) Boot DVD, & Command Prompt at Startup
(for command prompt)

Type in command line
DISKPART
LIST DISK
SELECT DISK # (win HD)
CLEAN ALL
CREATE PARTITION PRIMARY
SELECT PARTITION 1
ACTIVE
FORMAT fs=NTFS
ASSIGN
EXIT
EXIT


SSD / HDD : Optimize for Windows Reinstallation
My System SpecsSystem Spec
23 Feb 2011   #5
pifreak

Windows 7 Home Premium 64 bit
 
 

*sigh*

There's no "linux code" or GRUB left over

I deleted everything on the disk except Windows 7. Then I resized Windows 7 to the entire disk. I didn't even realize I had deleted the 100mb system boot partition.

Assuming I have a 500GB NTFS healthy partition with Windows 7, but there is NO 100mb system partition with the boot info, is there any way to fix it without formatting?

There has to be a way to create the 100mb partition with gParted, make new boot information, and repair the installation. Please help!


Edit: I marked the 100mb partition BOOT and HIDDEN under manage flags in gParted (Linux live CD)

Now, when I boot the windows DVD it sees Windows 7 as an option on the recovery option.

I'm going to keep running start up repair, and then try the other commands to re-build the boot info. Any other suggestions while I try this?

Thanks everyone for your time...it's really appreciated.
My System SpecsSystem Spec
23 Feb 2011   #6
pifreak

Windows 7 Home Premium 64 bit
 
 

Quote   Quote: Originally Posted by SIW2 View Post
Is the 100mb a Primary partition?

If not, mark your main windows partition Active (assuming that is a Primary) - then run startup repair - will probably take 2 or 3 runs.

No, there must be some error. It is listed as "Logical" and the main installation is marked as "Logical" and "Extended"

How do I mark the 100mb as primary?
My System SpecsSystem Spec
23 Feb 2011   #7
SIW2

Microsoft Community Contributor Award Recipient

Vista x64 / 7 X64
 
 

You can either delete the 100mb and recreate it as primary, or you can convert it to primary using e.g. the free partition wizard boot disc.

Alternatively , you can do without the separate 100 mb system partition and have your windows partition as system .

To do that you would need to convert your windows partition to primary - partition wizard again.

I don't think you can do non destructive conversion with Gparted. ( You may be able to - haven't looked at it for a while. )


Partition Wizard Bootable CD allows user to boot computer directly to manage partition.
My System SpecsSystem Spec
23 Feb 2011   #8
pifreak

Windows 7 Home Premium 64 bit
 
 

Quote   Quote: Originally Posted by SIW2 View Post
You can either delete the 100mb and recreate it as primary, or you can convert it to primary using e.g. the free partition wizard boot disc.

Alternatively , you can do without the separate 100 mb system partition and have your windows partition as system .

To do that you would need to convert your windows partition to primary - partition wizard again.

I don't think you can do non destructive conversion with Gparted. ( You may be able to - haven't looked at it for a while. )


Partition Wizard Bootable CD allows user to boot computer directly to manage partition.

I deleted the 100mb partition. How do I recreate a PRIMARY 100mb partition with the Windows DVD command line?
My System SpecsSystem Spec
23 Feb 2011   #9
SIW2

Microsoft Community Contributor Award Recipient

Vista x64 / 7 X64
 
 

It seems you now have one logical drive and 100mb free space inside an extended partition - that's why 3rd party app. Partition Wiz was suggested.
My System SpecsSystem Spec
23 Feb 2011   #10
pifreak

Windows 7 Home Premium 64 bit
 
 

Quote   Quote: Originally Posted by SIW2 View Post
diskpart

cre par pri

for fs=ntfs quick

ass

act

exi
X:\Soures>diskpart

DISKPART>list disk

Disk 0 Online 465GB(Size) 118MB (free)

DISKPART> select disc 0

Disk 0 is now the selected disk.

DISKPART> list partition

## Type Size Offset
Partition 0 Extended 465GB 31KB
Partition 1 Extended 465GB 63KB

Which do I select, will this break anything?


EDIT: without selecting a partition,

DISKPART> cre par pri

Virtual Disc Service error:
There is not enough usable space for this operation.
My System SpecsSystem Spec
Reply

 Broken MBR/Boot/System Partition




Thread Tools





Similar help and support threads
Thread Forum
Hiding system partition - will it boot?
Friends I have this partition configuration on my Win 7: C: Healthy (Boot, Page file, Crash Dump, Primary partition) 145 GB E: Healty (System, Active, Primary Partition) 608 MB Programs D: Healty (Logical drive) 312 GB Service002 H: Healty (primary partition) 700 MB I would like to...
General Discussion
System + Boot partition - Can I boot to a 3rd partition
Hello My HP machine came with a system partition E: and boot partition C: See screenshot Its windows 7 MBR - BIOS- http://www.sevenforums.com/attachment.php?attachmentid=313936&stc=1&d=1397600571 1. How come EaseUS petition Master shows me both partitions are not active - I always...
Installation & Setup
recovery partition as boot or system?
Hi During installation of win8 in a multiboot system (win7+win8+ubuntu) I got a little chaos booting my Dell Computer. So now Im not sure which partition has to be the boot one. At the moment is the recovry partition not hidden and named "boot". I guess it hat to be hidden, but which should be the...
Installation & Setup
Boot and System Partition Merge
First of all I know I'll get some answers saying use Partition Magic as I've seen them all over the web, I've tried it and I get errors when I try to launch it. I have a 500 GB hard drive that has been partitioned into 60GB and 410 GB. OS D: - System Local Disk C: - Boot Because the D...
Hardware & Devices
Partition in Dual boot system
In a dual boot system with 2 hard drives, one for Vista and one for Win 7, do both OS partitions need to be "Active & Boot & System"?
Installation & Setup
Removal of XP System boot partition from a W7 Dual boot
With an XP Pro/W7 Pro Dual boot configuration, is it possible to do the following (see screen shot or DiskMgmt info of current config below): 1. Move boot data from XP partition to the W7 (extended) partition 2. Make W7 partition the Primary System partition 3. Format the XP partition 4....
Installation & Setup

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 02:18.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App