Resize Ubuntu partitions

How to resize Linux partition

In today's practical tutorial I am going to teach you the correct way to resize partitions de Linux active and running such as that of our Ubuntu operating system, in this case Ubuntu 13.04.

One of the most cumbersome things that Linux has against compared to Windows, is not being able to resize partitions on a hard disk or partition of a system that is in use, the reason is that in order to do this process we will first have to unmount the volume to resize.

As I tell you in the heading of the tutorial, this is a big disadvantage compared to Windows since from its native tool disk management We can resize the volume of the unit in use, which is the one that has the operating system installed Microsoft, without having to disassemble the volume of the unit and in just a few minutes.

Sound Problems with Ubuntu
Related article:
How to fix sound problems in Ubuntu 18.04

In Linux we can also do this process, the only thing is that we will have to do it from a Live CD o Ubuntu Live USB; in this case we will do it from Live USB from Ubuntu 13.04 that we created in a previous exercise using Yumi.

The first thing we should do is restart our system with the Live USB de Ubuntu 13.04 and from the Bios options select the pendrive to be the first boot option, once the USB is started and on the main Yumi screen we will select Linux distributions and then the option to test Ubuntu 13.04 without installing on the hard drive.

How to resize partitions

Once we are shown the Ubuntu desktop We can now follow the steps that I describe step by step below.

Steps to follow to resize partitions

Once started from the Live distro we will go to the dash and type gparted:

How to resize Linux partitions

We click on the icon and the main window of the program will appear gparted which is a utility for managing disk drives.

How to resize ubuntu partitions

As you can see in the screenshot above, I have two partitions created, one for Windows 8 and another for Ubuntu 13.04, we will select the Linux partition that is in format EXT and hovering over it we will click on the right button of the mouse to select the option of Resize / Move.

How to resize Linux partition

Now a new window appears from which we will modify the selected partition without damaging the hosted operating system, in this case Ubuntu 13.04.

Create Bootable USB
Related article:
How to Create an Ubuntu 16.10 USB Bootable Quickly and Easily

How to resize Linux partition

We can resize the Linux partition directly entering the new size in the text boxes or use the top bar by moving left or right.

How to resize Linux partition

When we finish assigning the new dimension, we will only have to click on the button Resize / Move and wait very patiently for the process to finish, a process that can take several hours.

With this we will have resized our partition of Linux, nothing complicated although quite tedious and cumbersome.


28 comments, leave yours

Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   krongar said

    Well, this has seemed especially useful.

    1.    Francisco Ruiz said

      Thank you friend, here you have us at your disposal for any questions. On 06/04/2013 12:21, «Disqus» wrote:

      1.    pedrodc said

        hello francisco you can do the same with ubuntu server 14.04.4 because I have a server and I would like to put 2 disks of 500gb plus another one of 320gb plus another one of 1tb the operating system is installed on a 40gb disk
        If you can send me a tuto and that you recommend me to do raid or LVM I would like to do lvm since I can put more discs thanks a greeting

  2.   Luis Contreras said

    Short and simple, but very useful.

    1.    Francisco Ruiz said

      Thanks friend
      On 07/04/2013 02:35, «Disqus» wrote:

  3.   chuki7 said

    First do a defragmentation of the hard drive or partition from windows. Because as resizes without defragmentation you can run out of some of the information.

    1.    Francisco Ruiz said

      In principle, this information is aimed at the user who only has a partition with Linux installed and wants to resize it to make a new partition where to install Windows.

  4.   pedroalmeria said

    I currently have four partitions w8 (103 gb), ntfs data (329 gb) ubuntu 12.10 (25 gb) and linux swap, (8 gb) I want to take those 33 gb approx and partition like this: 5 gb for ext4 and 5 gb for reisersf, can you help me?
    Thank you

  5.   pedroalmeria said

    Sorry I want to install ubuntu gnome 13.04 with the partitions that I indicate, keeping w8 and ntfs data

  6.   Alexander said

    Hello!!! I have installed the Ubuntu 32-bit system, an old version of the system because I had no other possibility. It turns out that it works well for me, I share the disk with Window XP but in the installation I made the participation automatic. Total that I have fallen short (it does not reach 3 Gigabytes for Ubuntu) and more than 100 for Windows. I'm going to edit partition and I don't know how to increase my memory in the new operating system that I have installed… ..can someone help me?
    I am a newbie to Ubantu. Thanks

  7.   jonathan hz said

    Hello excuse me. Once the partitioning process is finished. What would be the next step. Shut down the computer, And Reconfigure the BIOS, so that the Hard Disk starts? ò Restart the OS that we are running in live mode?

  8.   Ausberto montoya said

    This can be done by having a dual installation, that is, I have Windows 8.1 and Ubuntu 13.10 and I want to increase the space in Ubuntu…?

  9.   omar said

    Hi, I had a / windows partition and everything else running ubuntu 14.04, I want to delete the / windows partition and add its space to the / home partition .. how do I do it?
    I already installed Gparted but it tells me that I can't delete / windows until I delete partitions larger than 5 ... T_T
    I have n / home data that I don't want to delete.

  10.   Joaquín García said

    Hello OmAR, do not worry first because you do not have to delete your / Home and in case you had to do it, in your case you can always make a backup before deleting. The problem may be that you are using the hard drive. Have you tried doing it from a live cd? If you have not tried it and you are going to try it, remember that the lyrics of the discs change 😉 Now you can tell us. All the best!!!

    1.    omar said

      Hello Joaquín, I mention that I read in another blog that to resize a partition it is necessary that the free space must be equal, then reinstall Ubuntu, I deleted the partitions that were next to / home and resized it, then I created the others partitions (/, swap and boot) and all set !!!
      What if it was not clear to me is that the partitions are grabbing a number from 1 onwards, but when deleting one in the middle, why don't the others keep the correlative? Eg: 1, 2, 3, 4, 5. I erase 2 and 3. And it remains 1, 3, 4 !!!

      1.    Joaquín García said

        Hello Omar, I am glad that you have solved it, regarding what you say about the correlative number, it is exact, they are taking from number 1 onwards but they only take it once, that is, if you have a partition and it is assigned a 2 If you delete it later, the rest will keep their number and you will see that only 2 is missing, as it happens to you. To reassign number and partition I do not know but I look and tell you. Thanks for the input!!! 😉

  11.   FELIX said

    Hi Omar, you see I need to resize the boot partition because when I installed'UBUNTU 14.04 LTS I made a mistake, and I assigned little space (250Mb) when the normal is 1024Mb, so I have been trying to resize with a live cd, using the version as a test and managing the patitions with gparted, but here comes the problem that you can effectively resize the ext4 partition but in its entirety, or at least I am not able to resize only the boot partition, since when placing myself in the partition of the boot does not appear active the option of resize.
    I would like to know if this that I need to do is possible, and if so, I would be grateful if you explained it to me.
    Thank you and receive a warm greeting from FELIX

    1.    omar said

      Hello FELIX, to resize you have to free up space in a partition alongside the one you want to increase, since you can only resize (increase) if there is free space to do so, and only then will you get the option to resize the one you want, in this case BOOT.
      In other words, you have to see the partition number, example ext4, you have to remove space from ext3 or ext5 and then add that freed space to ext4.

  12.   Alejandro said

    All the units appear to me with a padlock ... Why is that?

  13.   omar said

    Hello Alejandro the padlock, according to other forums, they indicate that the unit is mounted, you just right click on the unit and select disassemble.

  14.   Gabriela ponce said

    Hello! Thanks a lot!!

  15.   Victor said

    Hello, I would like to know how to make Ubuntu take my 4 hard drives as 1
    Thanks and regards

  16.   Byron said

    Hello, I just wanted to ask, if when expanding my disk there is a possibility that it will be damaged or lose some data, for example expanding my main disk from 50 to 100G there may be the risk that the disk will be damaged and it will no longer lift or lose information.

    Thanks for your feedback

  17.   Marioca said

    I get an r / w error and that I have to be as root, I open the terminal from the live cd that starts and I am as administrator but it does not allow me to write or read anything from the disk, the device I want to resize I have unmounted.-

  18.   Moses123991 said

    Hello, could you tell me in detail, the wonderful explanation you gave is that I do not get the same messages that come out to you in the gtparter, please contact me

  19.   Manuel Rubio said

    I don't have the 'extend' partition and it won't let me extend my partition volume for ubuntu.

  20.   Jorge C. Rodriguez S. said

    If you already installed Ubuntu 18.04 and at the time of installation take all the available space and create a single partition and it was installed. as I do now to change that size if I want to install another operating system without having to reinstall the ubuntu.

  21.   Eugenia said

    Thanks a lot. The first part served me.
    I usually do the partition, and I did it like this, from "Disks".