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.
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.
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:
We click on the icon and the main window of the program will appear gparted which is a utility for managing disk drives.
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.
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.
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.
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.
Well, this has seemed especially useful.
Thank you friend, here you have us at your disposal for any questions. On 06/04/2013 12:21, «Disqus» wrote:
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
Short and simple, but very useful.
Thanks friend
On 07/04/2013 02:35, «Disqus» wrote:
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.
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.
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
Sorry I want to install ubuntu gnome 13.04 with the partitions that I indicate, keeping w8 and ntfs data
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
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?
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…?
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.
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!!!
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 !!!
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!!! 😉
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
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.
All the units appear to me with a padlock ... Why is that?
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.
Hello! Thanks a lot!!
Hello, I would like to know how to make Ubuntu take my 4 hard drives as 1
Thanks and regards
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
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.-
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
I don't have the 'extend' partition and it won't let me extend my partition volume for ubuntu.
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.
Thanks a lot. The first part served me.
I usually do the partition, and I did it like this, from "Disks".