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

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

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
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

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

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

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

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

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

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

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 for2: Broken MBR/Boot/System Partition
Thread Forum
Solved Move OS from System Partition (Win XP & Win 7 Dual Boot) Installation & Setup
recovery partition as boot or system? Installation & Setup
Solved Moving boot partition from file HD to system HD Installation & Setup
Need to delete the Boot/system tools partition Installation & Setup
Solved Boot and System Partition Merge Hardware & Devices
Partition in Dual boot system Installation & Setup
Removal of XP System boot partition from a W7 Dual boot 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 07:05 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

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