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 recent convert to Ubuntu and just loving it. Right now, I can access my windows drive from ubuntu, however, I want to delete the windows partition and make it an ubuntu partition. I have already backed up my data. How do I go about it.

share|improve this question
    
Format it to FAT or Ext4 –  Tachyons Feb 14 '13 at 16:43
add comment

3 Answers 3

up vote 1 down vote accepted

If you're using Ubuntu 12.10, you can format your partition by opening the Disks application, select the partition, click the two cogs icon below and select format.

Then choose ext4 as the file system type. Your windows NTFS partition is now a Linux ext4 partition.

Automounting your partition (optional)

If you want it to automount at boot, you may want to modify your /etc/fstab file.

Create your mount point. You may choose to mount wherever you want but normally partitions are mounted either under /media or under /mnt. The former place would make the partition easily unmountable like a pendrive while the latter is more "permanent".

Open a terminal (ctrl + alt + t) and type sudo mkdir /mnt/choosename. Change choosename to whatever you like.

Type sudo blkid and copy the UUID of your drive.

Press Alt + F2 and type gksudo gedit /etc/fstab, then add a line like this:

UUID=your-UUID-here /mnt/choosename               ext4    errors=remount-ro 0       1

Once you reboot, your partition will be present in the selected mount point.

share|improve this answer
    
Thank you so much. I worked! –  Diwakar Narayan Feb 15 '13 at 9:24
add comment

Ok, I think this is how you do it. In a nice two steps.

When you format the drive, it makes it a Linux filesystem.

So,

  1. Format the Windows drive to FAT or Ext4.

  2. Copy and paste (Click and drag the mouse, that's the easiest way) the files onto the new drive.

Now you have the Linux filesystem on your drive and your files in one!

Hope this helps!

share|improve this answer
add comment

the Disk Utility program (ubuntu 12.04) or Disks (12.10) allows you to do basic partition operations in a nice GUI interface.

You have it in the Software Center.

Once installed, open it, select the partition you want to edit, then format it. Choose the ext4 partition file system as you don't need to access with windows anymore.

share|improve this answer
    
Can you help me find out how I can access that area please? –  Diwakar Narayan Feb 14 '13 at 16:49
    
-1 for very vague instructions (rather a hint). Additionally, "Disk Utility" is the old name for "Disks" (since 12.10). –  gertvdijk Feb 14 '13 at 16:53
add comment

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.