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
jekemi

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
Kaktussoft

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
jekemi

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
Kaktussoft

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
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
Hard drive partition problem in Windows 7 on a HP laptop for dual boot
Hello there! I am trying to dual boot Windows 8 release preview along side my present Windows 7 Home Premium 64bit. I understand that windows 7 only lets four partitions at once. My PC came in with four partitions, namely: SYSTEM (C:) RECOVERY HP TOOLS So when I try to shrink the...
General Discussion
Win7, XP Dual boot- Install OS's to logical or primary partition? Pro
Win7, XP Dual boot- Install OS's to logical or primary partition? Pros and Cons As many of you know here some versions of Win7 create a "100 /200mb System Reserved" partition which the Win7 installer installs the boot files to. (Because of this Win7, XP don't "have to" be on a primary...
Installation & Setup
How do I convert Logical Drive to Primary Partition?
Hi, I partitioned my hard drive and created a new simple volume but it has appeared as a logical drive. Why is this? I want to convert it back to primary partition so I can add the space back to my main drive. How do I do this?
Hardware & Devices
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
Set up a partition to dual-boot Windows 7 and Ubuntu
Hi I have a small query about this whole partitioning business. I'm trying to set up a partition so I can dual-boot Windows 7 and Ubuntu. My computer came with a Dell Recovery partition and an OEM partition as well as the main C: drive, which are all primaries. I've created a new logical...
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 09:07.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App