PDA

View Full Version : [ubuntu] Deleted Partition - Now what?



kpayton
March 6th, 2011, 11:42 PM
Alright so I ran Dual Boot for a while, and I wasn't using Ubuntu as my second OS since I have it on a VM, so I went into Disk Management (From within Windows) and deleted the ubuntu partition. now my System won't boot. I can boot with a Windows Repair disc and get to a command prompt but it looks like everything is on the D Drive and something from ubuntu is still trying to boot the system.

Can anyone help please?

Hakunka-Matata
March 7th, 2011, 12:30 AM
Your internal hard drive had two partitions, one for Ubuntu and one for Windows? One NTFS or FAT32, and one Linux partition? But you didn't use the linux partition, you'd open a VM while running Windows and run Ubuntu out of it? Explain a bit more what you had/have. Was Ubuntu ever installed on it's own partition on your internal disc?

Hakunka-Matata
March 7th, 2011, 12:38 AM
You may only need to boot into windows Repair disc - C:\ and run fixmbr and/or fixboot to get your windows bootloader back.

What version Windows are you using?

Hakunka-Matata
March 7th, 2011, 12:39 AM
http://pcsupport.about.com/od/fixtheproblem/ht/repairmbr.htm

kpayton
March 7th, 2011, 12:42 AM
You may only need to boot into windows Repair disc - C:\ and run fixmbr and/or fixboot to get your windows bootloader back.

What version Windows are you using?


Sorry I wasn't more detailed.

Ive booted into a Windows Repair disc and Fixmbr nor Fixboot are valid line entries. This is Windows 7 and not windows XP. not sure if that makes a difference.

My Data is still in tact but I believe it was because Ubuntu was the primary partition thats why it won't boot anymore. I was basically just trying to aquire space back. I had a 250 Gig Drive and I wasn't using Ubuntu to Dualboot anymore.

JBAlaska
March 7th, 2011, 12:53 AM
1. Put the Windows Windows 7 installation or repair disc in the disc drive, and then start the computer.
2. Press a key when you are prompted.
3. Select a language, a time, a currency, a keyboard or an input method, and then click Next.
4. Click Repair your computer.
5. Click the operating system that you want to repair, and then click Next.
6. In the System Recovery Options dialog box, click Command Prompt.
7. Type Bootrec.exe /FixMbr and hit enter.
8. Type Bootrec.exe /FixBoot and hit enter.
9. Reboot your computer.

kpayton
March 7th, 2011, 01:46 AM
1. Put the Windows Windows 7 installation or repair disc in the disc drive, and then start the computer.
2. Press a key when you are prompted.
3. Select a language, a time, a currency, a keyboard or an input method, and then click Next.
4. Click Repair your computer.
5. Click the operating system that you want to repair, and then click Next.
6. In the System Recovery Options dialog box, click Command Prompt.
7. Type Bootrec.exe /FixMbr and hit enter.
8. Type Bootrec.exe /FixBoot and hit enter.
9. Reboot your computer.

Perfecto Good Sir. You rock - I am officially backup and functioning within Winblows :(

now that Im back within Windows whats the best way to get all of my space back?

JBAlaska
March 7th, 2011, 02:39 AM
Go to administrative services, diskmanager and expand the space back to your primary win partition.

kpayton
March 8th, 2011, 09:08 PM
Go to administrative services, diskmanager and expand the space back to your primary win partition.

Don't see an option to expand it within Windows?

Hedgehog1
March 9th, 2011, 03:02 AM
You need to delete not only the visible partitions created by the Ubuntu install, but also the logical one. Then you can expand to use the rest of the space on the disk.

Here are some pictures:

After your dual boot install:
http://ubuntuhedgehog.weebly.com/uploads/6/4/4/9/6449410/7512348.png?786

Delete swap partition:
http://ubuntuhedgehog.weebly.com/uploads/6/4/4/9/6449410/2982403.png?800

Delete Ubuntu partition:
http://ubuntuhedgehog.weebly.com/uploads/6/4/4/9/6449410/5434858.png?784

Delete logical partition:
http://ubuntuhedgehog.weebly.com/uploads/6/4/4/9/6449410/9703723.png?839

Expand to fill the space:
http://ubuntuhedgehog.weebly.com/uploads/6/4/4/9/6449410/4541249.png?737

The Hedge

:KS

kpayton
March 9th, 2011, 03:23 AM
You need to delete not only the visible partitions created by the Ubuntu install, but also the logical one. Then you can expand to use the rest of the space on the disk.

Here are some pictures:

After your dual boot install:
http://ubuntuhedgehog.weebly.com/uploads/6/4/4/9/6449410/7512348.png?786

Delete swap partition:
http://ubuntuhedgehog.weebly.com/uploads/6/4/4/9/6449410/2982403.png?800

Delete Ubuntu partition:
http://ubuntuhedgehog.weebly.com/uploads/6/4/4/9/6449410/5434858.png?784

Delete logical partition:
http://ubuntuhedgehog.weebly.com/uploads/6/4/4/9/6449410/9703723.png?839

Expand to fill the space:
http://ubuntuhedgehog.weebly.com/uploads/6/4/4/9/6449410/4541249.png?737

The Hedge

:KS


Got it -

I left the partition active I just needed to deleted it to get the option there to extend.

Thanks for the help guys - I now have some more space - I appeciate the help!

The Ubuntu Forums are always friendly and extremely useful!