Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am trying to uninstall Ubuntu by following these directions, but I have a question. Which partitions do I delete? I am assuming it is the three blank ones, but why would Ubuntu have three partitions? So I just wanted to make sure.

Partitions

share|improve this question

4 Answers 4

up vote 3 down vote accepted

Unless you have installed a third operating system, these are your Ubuntu partitions:

enter image description here

Right-click to remove these partitions one-by-one, and then right-click the first (C:) to extend it across the unallocated space OR create a new partition in there.

Use Windows' diskpart tool to get more info without booting a LiveCD

You can get some more information on the two 8 GB partitions from within Windows by using the diskpart command:

  1. Open a command-prompt as administrator.
  2. Type diskpart, you will get a prompt.
  3. Type select disk 0, and then select part 3
  4. Type detail part, and you should get something like this:

    Partition 3
    Type  : 82
    Hidden: Yes
    Active: No
    Offset in Bytes: 442499072000
    

Type 82 is swap, while type 83 is regular Linux (ext4, etc.). Do the same for the fourth partition, with select part 4. If either of those are NOT type 82/83, you should boot a LiveCD and investigate further with gParted as Eliah Kagan's answer recommends.

share|improve this answer
    
Thank-you! There were two swaps and one regular Linux. However, I'm unable to extend the partition now, but I'm gonna keep looking around for an answer. –  Tanner Jul 12 '12 at 1:25
    
Good call on looking at the partition type number. You may want to edit this answer to include a warning that, when using this method, a Solaris partition will look the same as linux-swap (but unlike a linux-swap partition, it may contain valuable files). That's unlikely to apply to the OP here but it could save others in the future. –  Eliah Kagan Jul 12 '12 at 1:49

You can boot into the Ubuntu system to see the contents of those partitions more clearly, to make sure they really belong to the Ubuntu system.

The 234.33 GB partition is likely your Ubuntu system's / partition that stores all the files therein.

One of the 7.99 GB partitions is likely your Ubuntu system's swap partition, used to swap pages of memory from RAM to disk to improve performance (and also used to facilitate hibernation).

What's unclear is what the other 7.99 GB partition is for. Unless a second swap partition was created (to increase the amount of available swap), there's no particular reason to have two partitions of this exact size.

Some Ubuntu systems have a separate /home partition, but it's likely you would remember configuring this (just as you'd probably remember reconfiguring your swap), and 8 gigabytes is rather small for a /home partition. (It's big enough, most of the time, but 8 gigabytes is also big enough for the / partition, yet that appears to be over 200 GB.)

So while you're probably safe deleting these partitions, it would be better for you to check just to be sure.

Whether you boot into the installed Ubuntu system or from an Ubuntu live CD/DVD or live USB flash drive, open a Terminal window (Ctrl+Alt+T) and run this command:

sudo fdisk -l

That will usually reveal enough information to know what your partitions are being used for. If you edit your question to include the text from the Terminal (paste it in, select it, and use the <$> tool in the Ask Ubuntu editing toolbar to format it properly), then it should be possible to give a more definitive answer.

Depending on what kinds of partitions these are, you may also be able to examine them yourself in Nautilus (Ubuntu's file manager). They may be visible under Devices, and you can mount them and look at what's in them. (You won't be able to do this with a swap partition, though, so you should not expect to see both of them under Devices.)

share|improve this answer

Since this is a Windows partitioning tool, it doesn't really show enough information to be sure. (Linux partition editors know about many more types of partitions.) But I'd guess that the ones with a blank file system type are unknown to Windows and thus Linux partitions. So you could delete them. But I'd boot from the install CD and run GParted first, just to be sure.

share|improve this answer

Ubuntu only uses one extended partition - do you know how much space you allocated to your Ubuntu partiton when you first dual-booted?

share|improve this answer
1  
Ubuntu can be installed in logical partitions inside an extended partition, or in primary partitions. Either way, by default Ubuntu will have two partitions (though they might both be logical partitions inside a single extended partition): / (ext4) and swap. –  Eliah Kagan Jul 11 '12 at 23:37

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.