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.

This question already has an answer here:

I have a dual boot system with

  1. C: drive with windows 227 GB

  2. E: drive in windows 185 GB

  3. Ext4 Ubuntu - 38 GB

  4. Linux swap - 4 GB

I want to decrease the space from E: drive from 185 GB to say about 160 GB and assign the 25 GB achieved from the resizing to the ext4 partition so that my Ubuntu home has more space.

I was told that do a resize in gparted could cause some boot problems, plase tell me a safe way to achieve this resizing.

share|improve this question

marked as duplicate by Luis Apr 11 '13 at 20:50

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1  
There is no such thing as a safe way other than a full backup of all the partitions involved. Gparted is as safe as it gets. I never had any trouble with it. –  con-f-use Jul 1 '12 at 10:48
    
well i know gparted is very stable in terms of usability ,but there is this thing that i heard about moving boot partitions or sectors can cause grub 2 to not load so i basically want to know how to increase the ubuntu partition with the unallocated space without causing the grub2 boot failure –  borax12 Jul 1 '12 at 10:56
    
Thats only the case if the Grub2 entry that's usually at the start of the MBR is compromised. That a) rarely happens and b) as you are resizing 2nd and 3rd primary partition you should be fine anyways. –  con-f-use Jul 1 '12 at 10:58
    
@borax12 let us know the outcome.. –  Mitch Jul 2 '12 at 18:29
    
Glad that it worked out :) –  Mitch Jul 3 '12 at 13:13

1 Answer 1

up vote 2 down vote accepted

Familiarize yourself with HowtoPartition

  1. Boot your Ubuntu CD/USB
  2. Select «Try Ubuntu» to get to the live session
  3. Run gparted
    1. Right click the swap partition and select unmount (if it is mounted).
    2. Shrink 2
    3. Move 3 to the left
    4. Grow 3 to fill the void to the right.
    5. «Apply»

There is always a risk of data loss when resizing and moving partitions. I've never had issues myself, but if the process get aborted in the middle of a resize, due to a power failure for instance, you'll be left with a broken system.

So make sure you have backups (on another drive/media) of files you cannot afford to lose.

As for boot problems. Unless you've done some extensive changes to /etc/fstab or your grub configuration, you shouldn't encounter any problems with that. At any rate, it should be fixable via the live session.

share|improve this answer
    
I think he knows how to do it with gparted. He just wants to know if there's a safer way. –  con-f-use Jul 1 '12 at 11:01
    
@geirha- thanks for the steps,so that means you can MOVE them left and right too :) –  borax12 Jul 1 '12 at 11:06
    
@con-f-use right, just thought I'd try to make it a bit verbose, for other viewers that may stumble upon this because they have a similar question. –  geirha Jul 1 '12 at 11:06
    
@con-f-use -not exactly ,havent done it before ,so didnt know that one could move ,left and right too –  borax12 Jul 1 '12 at 11:06
    
I cant see a boot from live cd option when i boot from the disc :( –  borax12 Jul 1 '12 at 11:16

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