Fedora Linux Support Community & Resources Center
Old 19th June 2017, 09:55 PM
shabo Offline
Registered User
Join Date: Jun 2017
Location: richardson
Posts: 1
Extending (ext4) / partition

My current / partition is almost full and i want to extend it. I have two un-allocated spaces. (gparted image is attached)

I want to know how to increase / partition with those unallocated partitions.

Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2017-06-19 15:50:08.png
Views:	29
Size:	127.9 KB
ID:	27108  
Reply With Quote
Old 20th June 2017, 06:21 AM
robertdaleweir Offline
Registered User
Join Date: Oct 2005
Location: British Columbia, Canada
Posts: 828
Re: Extending (ext4) / partition

Originally Posted by shabo View Post
My current / partition is almost full and i want to extend it. I have two un-allocated spaces. (gparted image is attached)

I want to know how to increase / partition with those unallocated partitions.

Hi shabo
Welcome to the Fedora Forum. Based on your 'gparted screenshot' I would first remove the 'linux-swap' partition from its current location (/dev/sda14) . I would then click on /dev/sda13 and go to the Partition Menu item and choose Resize/Move. This will open up a new window. You can now stretch (grab arrow on right side of the partition and now drag) the partition into the 'unallocated space' as far as you can (or want to). Next I would click on the 'unallocated' space just following /dev/sda12. At this location I would create a 'linux-swap' of 4GB.
I would make sure that you have a 'backup' of this drive before making these changes in case something were to go wrong during the changes.
You have to click the Green Check Mark in order to have the above changes take effect. It will ask for your agreement before proceeding.
Good luck...
Robert :)
Kernel 4.10.17-100.fc24.x86_64 Gnome Software 3.20
CPU AMD FX-6300 Six Core AM3+
MoBo Gigabyte 78LMT-USB3 AMD760G AM3+ MicroATX
Memory 8 Gigs Gskill Ripjaw DDR3-1333 PC-10666
Reply With Quote
Old 20th June 2017, 09:36 AM
antikythera Offline
Join Date: Dec 2013
Location: United Kingdom
Posts: 4,277
Re: Extending (ext4) / partition

will that work for a mounted partition assigned as root? if not, maybe boot from live media. either way, make a note of the root UUID in case it gets altered and fstab needs updating manually.
Latest survey shows that 3 out of 4 people make up 75% of the world's population - Stephen Hawking
Download, Install and Share Fedora
- Official ISO Torrents
| Live ISO Respins containing post-release updates
Reply With Quote
Old 20th June 2017, 04:05 PM
lsatenstein Offline
Registered User
Join Date: Jun 2005
Location: Montreal, Que, Canada
Posts: 4,008
Re: Extending (ext4) / partition

There is a problem with the above advice. The /etc/fstab has an entry for swap.

This is what I would do.
First of all, using gparted or other tool, shrink the /home partition by 5 gigs. That will create a 5 gig unallocated space. It should take a few minutes to do that.

Then format that vacated space to a swap partition.

Take note of that partition's UUID value

edit /etc/fstab and Revise the UUID= for the swap file

The system will pick up the new swap file

Check with gparted that swap is enabled (swapon) for that partition
delete the space occupied by the previous (old) swap partition
Using gparted, extend the space of your / partition.
All done.
Leslie in Montreal

Interesting web sites list
Reply With Quote

ext4, extending, partition, root

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Extending a Partition Feckless Using Fedora 3 6th January 2014 07:30 AM
Extending the partition chandru1 Installation, Upgrades and Live Media 5 1st July 2010 09:11 PM
Extending a partition. NickMullen Using Fedora 11 8th November 2008 10:16 PM
Extending Fedora´s partition?? Linoex Using Fedora 13 28th August 2008 08:10 AM
Extending my linux partition. blueboy4 Using Fedora 2 23rd March 2007 10:54 PM

Current GMT-time: 20:57 (Sunday, 25-06-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat