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: delete dual boot Ubuntu partition and convert to primary hard drive c:


14 Mar 2012   #1

windows 7 professional
 
 
delete dual boot Ubuntu partition and convert to primary hard drive c:

I installed Ubuntu on a older Toshiba laptop. When I boot up it asks me to select either Windows 7 or Ubuntu. I want to get rid of the Ubuntu disk partition and give that 2.9 GB space to my primary hard drive. I go into compmgmt.msc but I can't execute any commands on that disk partition. Any ideas?


My System SpecsSystem Spec
.

14 Mar 2012   #2

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

So you wanna get rid of ubuntu totally?
first tap F8 multiple times to enter recovery environment
select "command prompt"
bootrec /fixmbr
bootrec /fixboot

-now the default MBR has been restored (don't know if ubuntu did change that)

diskpart
list disk
sel disk 0 (or 1 or 2)
list part (note the number of ubuntu partition)
sel part X (if X is number of ubuntu partition. be very sure to select right partition!!!)
delete part

try to boot. post output of "disk management" afterwards
My System SpecsSystem Spec
14 Mar 2012   #3

windows 7 professional
 
 

Kaktussoft: thanks for the advice. I pressed F8, entered the recovery mode, selected command prompt, and executed your suggested commands. When I got to "delete part" I got the following message: "cannot delete a protected partition without the force protected parameter set." I selected Override and the partition was deleted. I now have 2.9 GB of unallocated space. How do I allocate it or attach it to my primary partition, C: ? Or, can I somehow use it as a drive to store files? Right clicking on the unallocated space in Win 7, computer management, doesn't allow me to do anything to it.
My System SpecsSystem Spec
.


14 Mar 2012   #4

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

So ubuntu is gone. Do you still see it as a boot option?
Please post a full blown screenshot of "disk management"
My System SpecsSystem Spec
Reply

 delete dual boot Ubuntu partition and convert to primary hard drive c:




Thread Tools



Similar help and support threads for2: delete dual boot Ubuntu partition and convert to primary hard drive c:
Thread Forum
Solved convert logical partition to primary General Discussion
Solved Hard drive partition problem in Windows 7 on a HP laptop for dual boot General Discussion
Win7, XP Dual boot- Install OS's to logical or primary partition? Pro Installation & Setup
Solved How do I convert Logical Drive to Primary Partition? Hardware & Devices
Hard Drive Healthy and a Primary Partition but inaccessible Hardware & Devices
Format primary dual boot partition Installation & Setup
Set up a partition to dual-boot Windows 7 and Ubuntu 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 10:32 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