Broken MBR/Boot/System Partition

Page 1 of 2 12 LastLast

  1. Posts : 10
    Windows 7 Home Premium 64 bit
       #1

    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 Computer


  2. Posts : 16,155
    7 X64
       #2

    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 Computers


  3. Posts : 22,814
    W 7 64-bit Ultimate
       #3

    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 Computer


  4. Posts : 11,408
    ME/XP/Vista/Win7
       #4

    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 Computer


  5. Posts : 10
    Windows 7 Home Premium 64 bit
    Thread Starter
       #5

    *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.
    Last edited by pifreak; 23 Feb 2011 at 09:10. Reason: Found more info
      My Computer


  6. Posts : 10
    Windows 7 Home Premium 64 bit
    Thread Starter
       #6

    SIW2 said:
    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 Computer


  7. Posts : 16,155
    7 X64
       #7

    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 Computers


  8. Posts : 10
    Windows 7 Home Premium 64 bit
    Thread Starter
       #8

    SIW2 said:
    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 Computer


  9. Posts : 16,155
    7 X64
       #9

    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 Computers


  10. Posts : 10
    Windows 7 Home Premium 64 bit
    Thread Starter
       #10

    SIW2 said:
    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 Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About 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 17:20.
Find Us