Can't boot into Windows7 after deleted primary partition.

Page 2 of 2 FirstFirst 12
  1.    #11

    All bets are off with GRUB on the HD, but the procedure to repair or rewrite the MBR into the WIn7 partition is to first mark it active, then run Startup Repair up to 3 separate times with reboots until Win7 starts.
    Last edited by gregrocker; 03 Jun 2010 at 09:57.
      My Computer


  2. Posts : 16,119
    7 X64
       #12

    Except PW doesn't handle ext4 - just realized.

    Unless Wee has a better idea:

    Use Gparted to make an ntfs primary partition - it doesn't need to be big 200mb will do. Mark it Active ( rt click and Flag On )

    Boot 7 dvd go to command prompt, type diskpart, lis vol, select the new primary with sel vol, ass ( to assign next available drive letter). Exi ( to leave diskpart).

    bcdboot <7volumeletter>:\windows /s <newprimaryletter>:

    bootsect /nt60 <newprimaryletter>: /mbr

    That should get you booting back into 7.

    Wee will advise what to do about booting linux afterwards.
      My Computers


  3. wee
    Posts : 101
    XP/W7/Lucid/Arch
       #13

    SIW2 said:
    Except PW doesn't handle ext4 - just realized.

    Unless Wee has a better idea:

    Use Gparted to make an ntfs primary partition - it doesn't need to be big 200mb will do. Mark it Active ( rt click and Flag On )

    Boot 7 dvd go to command prompt, type diskpart, lis vol, select the new primary with sel vol, ass ( to assign next available drive letter). Exi ( to leave diskpart).

    bcdboot <7volumeletter>:\windows /s <newprimaryletter>:

    bootsect /nt60 <newprimaryletter>: /mbr

    That should get you booting back into 7.

    Wee will advise what to do about booting linux afterwards.
    I will be interested to see if the partition wizard can change that extended to a primary, I think you guys are certainly on the right track I'm just not familiar with that partitioner.

    I'm going to assume that the grub in there now is grub 2 so here is a link to get it back in the mbr with a live cd.
    https://help.ubuntu.com/community/Gr...ing%20GRUB%202
    The commands here are pretty straight forward to reload grub2 and to mount the Linux partition it probably doesn't matter which Linux mint or lucid, just run the
    Code:
    sudo update-grub
    command after getting back into the mounted installed OS after this reload. You want to boot to that mounted partition after reloading grub

    The indicator in gparted for the extended is the light blue outline around the whole set, when you look at a gparted shot, and see partitions inside of a partition that is a extended partition generally, if you look closely you will see that that blue outline goes around the whole set and between the partitions.
      My Computer


  4. Posts : 16,119
    7 X64
       #14

    In case that wasn't clear, I don't think PW is a good idea in this case.

    The lack of ext 4 support could cause all kinds of issues.

    Paragon paid versions will do the job of course.

    An alternative is to use the method posted here:

    Use Gparted to make an ntfs primary partition - it doesn't need to be big 200mb will do. Mark it Active ( rt click and Flag On )

    Boot 7 dvd go to command prompt, type diskpart, lis vol, select the new primary with sel vol, ass ( to assign next available drive letter). Exi ( to leave diskpart).

    bcdboot <7volumeletter>:\windows /s <newprimaryletter>:

    bootsect /nt60 <newprimaryletter>: /mbr

    That should get you booting back into 7.

    Wee will advise what to do about booting linux afterwards.
      My Computers


  5. Posts : 5
    Windows Seven, Linux Ubuntu, Linux Mint
    Thread Starter
       #15

    SIW2 said:
    Use Gparted to make an ntfs primary partition - it doesn't need to be big 200mb will do. Mark it Active ( rt click and Flag On )

    Boot 7 dvd go to command prompt, type diskpart, lis vol, select the new primary with sel vol, ass ( to assign next available drive letter). Exi ( to leave diskpart).

    bcdboot <7volumeletter>:\windows /s <newprimaryletter>:

    bootsect /nt60 <newprimaryletter>: /mbr
    Hooray !!

    Thanks a lot SIW2, your steps above solved my problem.

    Using Gparted I can't create primary partition from the unallocated partition inside extended partition. I can only created another primary partition by shrunk my sda4 partition (last partition in Gparted) and use the 'just unallocated partition' as the primary partition for the 200 MB partition required. That's all the difficult part, the rest of the steps are as same as mentioned by SIW2. Yeah at last, I managed to boot into windows7.

    I also reinstalled Grub, using Linux Mint Live-CD. Everything seems okay just that I can't see Windows bootloader upon start although I can see it is listed when I've done the 'sudo update-grub'. I edited file 'grub.cfg' manually, changed the (hd0,1) to (hd0,7) in Windows7 menuentry (my Windows installation is in sda7). I then run again 'sudo update-grub' and restart, this time Windows bootloader really listed in Linux Mint's grub. Hooray !!

    Thanks also to everybody who helped.
      My Computer


  6. Posts : 16,119
    7 X64
       #16

    You're welcome - glad it's all working for you.
      My Computers


 
Page 2 of 2 FirstFirst 12

  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 23:19.
Find Us