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.

On my laptop I have Ubuntu 11.10 and Windows 7 in dual boot mode.

I made a partition of 30 GB for Ubuntu but now it's too small and I want to increase this disk size from 32 GB to 100 GB.

This is home my disk looks like:

C Drive - 360 GB
D Drive - 200 GB
E Drive - 80 GB

On the F Drive I installed Ubuntu which contains 30 GB.

How can I increase this partition from 30 GB to 100 GB?

Someone suggested Gpart tool to achiveve this. but there is a risk to lose my Windows or Ubuntu install.

share|improve this question
1  
Boot off the live cd/usb, and resize it with gparted, you can't do it while in Ubuntu as you can't resize mounted partitions. –  Uri Herrera Feb 9 '12 at 5:59
    
@UriHerrera Boot off means? and here i have to compulsary use gpart tool? –  user1089679 Feb 9 '12 at 6:08
    
Means you create a liveusb and insert it into your computer and boot from it, and yes you have to use gparted –  Uri Herrera Feb 9 '12 at 6:26

3 Answers 3

As suggested, you can boot from a live CD or USB into Ubuntu. Then open the application gparted which will already be present and resize partitions. This can however break your bootloader and might require fixing it.

A better idea is to make a new partition, and move your home directory there so that you have the additional space and Ubuntu partition can be reserved for Ubuntu.

Here are the steps to do that.

  1. Boot from a live CD or USB into Ubuntu

  2. Run gparted to shrink or delete a current windows partition (if you delete E, for example, remember to backup the files in E from inside Windows). Shrinking a partition will not delete any of your files, but backup is a good idea.

  3. Create a new ext4 partition in the empty space

  4. Follow this guide to move your home there

Note:Please don't forget to remove (or comment or edit) old /dev/sda3 in /etc/fstab. Because multiple declaration of volume (such as existing /dev/sda3 ntfs and /dev/sda3 ext4) would be crash your ubuntu

share|improve this answer

There are two options:

  1. As @Uri suggests, boot from Ubuntu Live CD and use gparted to remove/shrink "E drive", then move and resize the Ubuntu partition to take the free space. Since Ubuntu partition is the last on the disk, you'll have to move its origin which will break Ubuntu's bootloader - gparted's website contains instructions on how to fix this.

  2. If you're worried about deleting/moving partitions with gparted, you can just convert one of the partitions (your "E drive") to ext4 and either mount it as /home or symlink it instead or somewhere inside your home directory. The 30 gb partition will then be used for system files and the other partition for your documents and stuff.

share|improve this answer
    
Thanks a lot in second option how can i achive this tell me some stepts what i have to do in this. i will find more details from google . but can u please help me to to figureout first few steps. –  user1089679 Feb 9 '12 at 6:38
    
In first Option Gparted is readymade tool? i have to download this? –  user1089679 Feb 9 '12 at 6:38
    
please see @knivor's answer for detailed instructions –  Sergey Feb 9 '12 at 9:33

Shutdown your computer, place the Ubuntu CD/USB in it. Then restart your computer and boot from CD/USB and start using Gpart tool.

share|improve this answer
5  
Welcome to Ask Ubuntu! Thank you for your answer. The OP could benefit from a slightly more detailed answer. It would be nice if you could add more detail. –  Octavian Damiean Feb 9 '12 at 14:10

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.