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: Can't boot into Windows7 after deleted primary partition.

02 Jun 2010   #11
gregrocker

 

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.


My System SpecsSystem Spec
.
02 Jun 2010   #12
SIW2

Microsoft Community Contributor Award Recipient

Vista x64 / 7 X64
 
 

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 System SpecsSystem Spec
02 Jun 2010   #13
wee

XP/W7/Lucid/Arch
 
 

Quote   Quote: Originally Posted by SIW2 View Post
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 System SpecsSystem Spec
.

03 Jun 2010   #14
SIW2

Microsoft Community Contributor Award Recipient

Vista x64 / 7 X64
 
 

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:

Quote:
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 System SpecsSystem Spec
03 Jun 2010   #15
dimpel

Windows Seven, Linux Ubuntu, Linux Mint
 
 

Quote   Quote: Originally Posted by SIW2 View Post
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 System SpecsSystem Spec
03 Jun 2010   #16
SIW2

Microsoft Community Contributor Award Recipient

Vista x64 / 7 X64
 
 

You're welcome - glad it's all working for you.
My System SpecsSystem Spec
Reply

 Can't boot into Windows7 after deleted primary partition.




Thread Tools




Similar help and support threads
Thread Forum
Partition Manager. Primary Boot Partition as Secondary Drive.
I loaded a hard disk formatted as a Windows Primary Disk onto my SATA controller. The BIOS sees the disk. In this case I want to load the new disk as a secondary drive (of course I have booted with a different hard disk). I load the Partition Manager and inside I find that the partition manger does...
Hardware & Devices
Wiped Primary partition holding XP, now can't boot 7
From within windows 7 I used CCleaner to wipe my partition containing XP. When I rebooted, the system wouldn't start at all. I had forgotten that XP was setup on the first ~100gb of the drive as a partition (partition 1), and 7 was on the remaining (partition 2). So I'm guessing that I...
General Discussion
Changing C: partition (Boot) from Primary to Extended
Hello, (yes I know, "yet another one on this subject" :(, but please bear with me...) I am trying to create logical drives, and to that end have to turn a primary partition into an extended one. Currently I have four Primary partitions (yes, you see it coming... :confused:): *: SYSTEM...
General Discussion
Deleted windows7 partition unavailable
Hi, I have a Lenovo 3000 G430 Laptop with Windows 7 Home Basic Edition installed. I wanted to re-partition my 250GB hard disk into 3 logical drives. I shutdown the system and change the order of boot preference to CDRom. I had a bootable CD with me along with FDISK utility on it. I boot my...
Installation & Setup
Format primary dual boot partition
Can i format the primary partition in a dual booted system that is xp and windows 7 where xp is the primary partiyion. And would the other os still work PLEASE REPLY THANK YOU
Installation & Setup
How to Recover a Primary Boot Partition
Hello, I have Windows XP64 and XP 2005 installed on adjacent partitions on an 80 GB IDE hard drive. I had been accustomed to using BIOS to choose the drive and EasyBCD to choose the OS. A few days ago I was unable to boot into this drive because I kept getting the error "NTLDR missing (press...
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 06:06.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App