Deleting Ubuntu 9.04 Partition

Klaw117

New member
Power User
VIP
Local time
4:56 PM
Messages
433
Ok, for a while now, I've been dual booting Windows 7 and Ubuntu 9.04. However, now I just want to have Windows 7 and get rid of Ubuntu. How do I get rid of the partition while making sure Windows 7 will boot up normally? I know you have to go into Disk Management, delete the Ubuntu partitions and then extend the Windows 7 partition so that it takes up the entire hard drive again. After that, with the GRUB boot loader from Ubuntu gone, how do I make sure that Windows 7 will boot normally? I heard you can insert the Windows 7 Installation DVD and choose to repair your computer and then choose Startup Repair. However, could someone please confirm this? I don't want to end up doing a full install of Windows 7 again.
 

My Computer My Computer

Computer Manufacturer/Model Number
Dell Inspiron 14R N4110
OS
Windows 7 Home Premium x64
CPU
Intel Core i5-2410M Quad Core CPU @ 2.30 GHz
Memory
8 GB Shared Channel DDR3 Memory
Graphics Card(s)
Intel HD Graphics 3000, AMD Radeon HD 6470M
Sound Card
Intel Display Audio, Realtek High Definition Audio
Monitor(s) Displays
14" HD 720p LED Display
Screen Resolution
1366x768
Hard Drives
500 GB 5400 RPM SATA Hard Drive
Mouse
Microsoft USB IntelliMouse Explorer 3.0
You are going perfect. No issues in your method.
 

My Computer My Computer

Computer Manufacturer/Model Number
Samsung NP530U4B-S02IN
OS
Windows® 8 Pro (64-bit)
CPU
Intel® Core™ i5 Processor 2467M (1.60GHz, 3MB L3 Cache)
Motherboard
Samsung Electronics
Memory
6GB DDR3 System Memory at 1,333MHz (on BD 4GB + 2GB x 1)
Graphics Card(s)
AMD Radeon™ HD7550M 1GB DDR3 (Ext. Graphic)
Sound Card
Realtek High Definition Audio
Monitor(s) Displays
35.56cm (14.0) SuperBright 300nit HD LED Display
Screen Resolution
1366x768
Hard Drives
1TB S-ATA II Hard Drive (5400RPM) with ExpressCache 16GB SSD
Internet Speed
sucks
Antivirus
Microsoft Security Essentials
Browser
Google Chrome (Sync enabled)
I was afraid of this...it didn't work, meaning I can no longer boot into Windows 7. :( When I try to boot up, it says:

GRUB Loading Stage 1.5

GRUB Loading, Please wait...
ERROR 22

Luckily, I backed up all my files, so I can just do a clean reinstall. I don't like doing Repair Installations.
 

My Computer My Computer

Computer Manufacturer/Model Number
Dell Inspiron 14R N4110
OS
Windows 7 Home Premium x64
CPU
Intel Core i5-2410M Quad Core CPU @ 2.30 GHz
Memory
8 GB Shared Channel DDR3 Memory
Graphics Card(s)
Intel HD Graphics 3000, AMD Radeon HD 6470M
Sound Card
Intel Display Audio, Realtek High Definition Audio
Monitor(s) Displays
14" HD 720p LED Display
Screen Resolution
1366x768
Hard Drives
500 GB 5400 RPM SATA Hard Drive
Mouse
Microsoft USB IntelliMouse Explorer 3.0
A startup repair with your 7 disc didn't work? Try it again before you do a clean install

EDIT: My birthday year...Post 1989!
 

My Computer My Computer

Computer Manufacturer/Model Number
Compal JFT02 (Custom Build Laptop)
OS
Windows 7 Home Premium x64 - Mac OS X 10.6.4 x64
CPU
Intel Core 2 Duo T9300 2.5 GHz
Motherboard
JFT02
Memory
4GB Kingston DDR2-800
Graphics Card(s)
NVIDIA Geforce 8600M GT (512MB Model)
Sound Card
Realtek HD Audio
Monitor(s) Displays
WUXGA Standard Laptop Display
Screen Resolution
1680*1050
Hard Drives
Toshiba 320GB 5400RPM Laptop HD
PSU
Standard Laptop Power Supply
Case
Standard Laptop Case
Cooling
Standard Laptop Cooling
Keyboard
Standard Laptop 105 Key-Keyboard
Mouse
Synaptics Touchpad
Internet Speed
Verizion Online DSL 3360/864 kbs (dl/up)
I've tried it 5 times I think. It doesn't detect a problem. Even my brother down at Microsoft HQ doesn't know what's happening.
 

My Computer My Computer

Computer Manufacturer/Model Number
Dell Inspiron 14R N4110
OS
Windows 7 Home Premium x64
CPU
Intel Core i5-2410M Quad Core CPU @ 2.30 GHz
Memory
8 GB Shared Channel DDR3 Memory
Graphics Card(s)
Intel HD Graphics 3000, AMD Radeon HD 6470M
Sound Card
Intel Display Audio, Realtek High Definition Audio
Monitor(s) Displays
14" HD 720p LED Display
Screen Resolution
1366x768
Hard Drives
500 GB 5400 RPM SATA Hard Drive
Mouse
Microsoft USB IntelliMouse Explorer 3.0
Ok, for a while now, I've been dual booting Windows 7 and Ubuntu 9.04. However, now I just want to have Windows 7 and get rid of Ubuntu. How do I get rid of the partition while making sure Windows 7 will boot up normally? I know you have to go into Disk Management, delete the Ubuntu partitions and then extend the Windows 7 partition so that it takes up the entire hard drive again. After that, with the GRUB boot loader from Ubuntu gone, how do I make sure that Windows 7 will boot normally? I heard you can insert the Windows 7 Installation DVD and choose to repair your computer and then choose Startup Repair. However, could someone please confirm this? I don't want to end up doing a full install of Windows 7 again.
Start
Type in MSCONFIG
Go to boot
Click on Ubuntu
Hit delete
then delete ubuntu partition
Extend W7's
Done!
 

My Computer My Computer

Computer Manufacturer/Model Number
HP
OS
Windows 7 Enterprise x64
CPU
AMD Athlon II X4 @ 2.6ghz
Memory
8GB
Graphics Card(s)
Galaxy 250 GTS 512MB Super-Clocked
Screen Resolution
1600x900
Hard Drives
640GB hard Drive
1.5TB External Hard Drive
PSU
700W OCZ StealthxStreme
Cooling
2 Heatsink and 3 Fans
Internet Speed
3MB/sec download, 322kb/sec upload
Start
Type in MSCONFIG
Go to boot
Click on Ubuntu
Hit delete
then delete ubuntu partition
Extend W7's
Done!
I can't even boot into Windows 7 anymore, so I can't do this. Besides, I've already deleted and extended the partitions.
 

My Computer My Computer

Computer Manufacturer/Model Number
Dell Inspiron 14R N4110
OS
Windows 7 Home Premium x64
CPU
Intel Core i5-2410M Quad Core CPU @ 2.30 GHz
Memory
8 GB Shared Channel DDR3 Memory
Graphics Card(s)
Intel HD Graphics 3000, AMD Radeon HD 6470M
Sound Card
Intel Display Audio, Realtek High Definition Audio
Monitor(s) Displays
14" HD 720p LED Display
Screen Resolution
1366x768
Hard Drives
500 GB 5400 RPM SATA Hard Drive
Mouse
Microsoft USB IntelliMouse Explorer 3.0
Where did you have GRUB installed? When I installed Ubuntu on a separate partition I installed GRUB also on that partition not on my primary OS partition and like that I can delete Ubuntu partition anytime without problems.
 

My Computer My Computer

Computer Manufacturer/Model Number
MasterB/Custom
OS
Windows 7 Professional x64
CPU
QuadCore AMD Phenom II X4 Black Edition 955 3.2 GHz
Motherboard
Asus M4A785TD-V Evo
Memory
8 GB Crucial DDR3
Graphics Card(s)
SAPPHIRE Radeon HD 4890 1GB HDMI New Edition
Sound Card
VIA VT1708S HD Audio 7.1 onboard/ ATI HDMI video card
Monitor(s) Displays
Acer H233H 23'' LCD HDMI
Screen Resolution
1920x1080
Hard Drives
1x 500GB and 1x 1TB 7200RPM 32MB Cache WD Caviar Black
PSU
CORSAIR CMPSU-620HX 620W
Case
COOLER MASTER Storm Scout SGC-2000
Cooling
2x 140mm and 1x 120mm case fans, Stock CPU fan
Keyboard
Logitech MX 3200
Mouse
Logitech MX 3200
Internet Speed
15 Mbps
Other Info
My first build!
Upgrading Questions

FDISK it with a dos boot disk?
 

My Computer My Computer

OS
Linux Ubuntu x64
CPU
Intel Quad-Core 2.66ghz
Memory
8GB G-Skill
Graphics Card(s)
9800GTX
I can't even boot into Windows 7 anymore, so I can't do this. Besides, I've already deleted and extended the partitions.

boot from your seven disc and choose "repair".otherwise, just do a nice new clean install
 

My Computer My Computer

Computer Manufacturer/Model Number
tw33k
OS
Windows 7 Ultimate (x64) SP1
CPU
Intel 3770k 4.6GHz
Motherboard
ASUS Maximus V Formula
Memory
8GB (2x 4GB) Crucial Ballistix
Graphics Card(s)
Sapphire 7950 (1060/1600)
Sound Card
On Board Realtek HD Audio
Monitor(s) Displays
27" Acer B273HU (via HDMI)
Screen Resolution
2048 x 1152
Hard Drives
Crucial M4 128GB
2TB WD Black
1TB Samsung F3 SATA
1TB WD Elite External
2TB WD USB 3.0
PSU
Corsair AX750 Gold
Case
Corsair Obsidian 800DW
Cooling
Corsair H100 (2x AP-121/2x UK-3000 push/pull)
Keyboard
Microsoft Wireless 5000
Mouse
Microsoft Wireless 5000
Internet Speed
5mb/s
Other Info
Logitech z-2300 2.1 speakers
Lamptron FC-5 v2
I can't even boot into Windows 7 anymore, so I can't do this. Besides, I've already deleted and extended the partitions.
Don't panic. Nothing's broken yet!! Take a deep breath!

Grub was installed in the Master Boot Record (MBR) of your hard drive. Use the 7 install disk and the command line tools to restore the MBR. I can't tell you exactly what to type at the moment, but given a few minutes I can google it up.

Restore the MBR and do the repair install thing and your windows will be up and running in a flash.

Easy.

Robert
 

My Computer My Computer

OS
...
These instructions apprear at this website: eHow.com

After you have booted to the 7 install DVD and proceeded to here:

You're now presented with 3 choices. Click on "Repair Your Computer" to gain access to the System Recovery window. Now choose "Command Prompt" in order to run the desired utility which is called "bootsect.exe". Bootsect is located inside the boot folder so change your directory to boot. Now run "bootsect /nt60 C:\" if you had Win 7 initially installed in the C partition. Alternatively, you can run "bootsect /nt60 SYS" or "bootsect /nt60 ALL" to repair the system partition or all partitions. Eject the DVD, and restart computer. Your computer should now boot Win 7 again.

Good luck

Robert
 
Last edited:

My Computer My Computer

OS
...
Heheheh, I just did a clean install because I couldn't wait anymore, but thanks a lot for the help.
 

My Computer My Computer

Computer Manufacturer/Model Number
Dell Inspiron 14R N4110
OS
Windows 7 Home Premium x64
CPU
Intel Core i5-2410M Quad Core CPU @ 2.30 GHz
Memory
8 GB Shared Channel DDR3 Memory
Graphics Card(s)
Intel HD Graphics 3000, AMD Radeon HD 6470M
Sound Card
Intel Display Audio, Realtek High Definition Audio
Monitor(s) Displays
14" HD 720p LED Display
Screen Resolution
1366x768
Hard Drives
500 GB 5400 RPM SATA Hard Drive
Mouse
Microsoft USB IntelliMouse Explorer 3.0
Heheheh, I just did a clean install because I couldn't wait anymore, but thanks a lot for the help.
Sorry I took so long, but I couldn't find anything quick where someone had actually restored the MBR from the DVD. So I set up my test box and restored the MBR. Hopefully the 7 install restored the MBR before proceeding so you probably don't need this now. That is OK 'cause I can now make a tutorial and post it.

Robert :)
 

My Computer My Computer

OS
...
if you go to cmd prompt from CD can you still type fixmbr to fix the boot record?
 

My Computer My Computer

OS
Windows 7 Ultimate x64 Retail RTM, Ubuntu 9.10
if you go to cmd prompt from CD can you still type fixmbr to fix the boot record?
Right. But you need to use "bootsect.exe" for Vista and 7. The 7 DVD command prompt starts at: X:\Sources> So you have to find your DVD drive:

Type: D: Enter, then: dir Enter. If that is not it then do:

E: Enter, then: dir Enter

E: is where I found my DVD (I have a single hard drive with one partition and the 100MB boot partition) and the Directory named "boot".

If E: is not your DVD drive, then just keep trying letters until you find it.

From E:\>

type: cd boot Enter then: dir Enter and the bootsect.exe was there.

To restore the 7 MBR, type: bootsect /nt60 SYS Enter

"Exit" to close command prompt, then restart or shutdown. I rebooted to windows with no problem. I got pictures but I'm saving them for the tutorial?

Robert
 

My Computer My Computer

OS
...
Thanks, nice to know i have ubuntu dual boot.

And BTW i love clonezilla, been using it as an image server for about a week now.
 

My Computer My Computer

OS
Windows 7 Ultimate x64 Retail RTM, Ubuntu 9.10

My Computer My Computer

Computer Manufacturer/Model Number
Self-built
OS
Ubuntu Lunix and Windows 7
CPU
Intel Core2Quad QX9700
Motherboard
Gigabyte GA-EP45-UD3P
Memory
8 GB Corsair Twin-X
Graphics Card(s)
Sapphire/ATI Radeon HD5850
Sound Card
Embedded or Bose Companion System V
Monitor(s) Displays
Apple 23 Inch Cinema Display
Screen Resolution
1920 X 1200
Hard Drives
1 X 120GB Intel Series 320 SSD
2 X 1TB Western Digital WD1002 FAEX internal hard drives
1 X 1Tb Seagate 7200.11 SATA (external, for backup)
PSU
Corsair 750TX
Case
Lian-Li V2120B
Cooling
Zalman CNPS ZX10C
Keyboard
CVT Avant Prime
Mouse
Logitech wireless trackman
Internet Speed
Comcast 8M/sec
Other Info
Also use MacBookPro (1st gen Intel w/ OS X 10.6) and a second desktop built upon an Intel D975XBX with Intel E6600 multi-booting Ubuntu, SuSE and Fedora Linux and 32-bit Windows 7 Home Premium..
How do you extend the partition? I have duel boot with Vista and 7. I would like to get rid of Vista and take that space and add it to the 7 installation.

Thanks for the help.
 

My Computer My Computer

OS
Windows 7 x64
CPU
i7 950
Motherboard
Gigabyte X58A-UD3R
Memory
6 gig
Graphics Card(s)
ATI 6870
Sound Card
On Board
Monitor(s) Displays
Gateway 24"
Screen Resolution
1920x1200
How do you extend the partition?
In the "Search programs and files" box type: Disk Management

Right click on the Windows 7 partitiion and select Extend Volume. (Mine is grayed out because I don't have any empty space to extend into.)

picture.php


Try that.

Robert
 

My Computer My Computer

OS
...
Back
Top