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

jekemi

New member
Local time
9:42 AM
Messages
2
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?
 
Last edited:

My Computer My Computer

At a glance

windows 7 professional
OS
windows 7 professional
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 Computer My Computer

At a glance

Microsoft Windows 7 Home Premium 64-bits 7601...Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz4,00 GBATI Mobility Radeon HD 5400 Series
Computer type
Laptop
Computer Manufacturer/Model Number
ACER ASPIRE 5742G
OS
Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz
Motherboard
Acer Aspire 5742G
Memory
4,00 GB
Graphics Card(s)
ATI Mobility Radeon HD 5400 Series
Sound Card
(1) AMD High Definition Audio Device (2) Realtek High Defi
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
WDC WD5000BEVT-22ZAT0
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 Computer My Computer

At a glance

windows 7 professional
OS
windows 7 professional
So ubuntu is gone. Do you still see it as a boot option?
Please post a full blown screenshot of "disk management"
 

My Computer My Computer

At a glance

Microsoft Windows 7 Home Premium 64-bits 7601...Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz4,00 GBATI Mobility Radeon HD 5400 Series
Computer type
Laptop
Computer Manufacturer/Model Number
ACER ASPIRE 5742G
OS
Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz
Motherboard
Acer Aspire 5742G
Memory
4,00 GB
Graphics Card(s)
ATI Mobility Radeon HD 5400 Series
Sound Card
(1) AMD High Definition Audio Device (2) Realtek High Defi
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
WDC WD5000BEVT-22ZAT0
Back
Top