Fedora Linux Support Community & Resources Center
Old 26th July 2012, 04:48 AM
MaslowK Offline
Registered User
Join Date: Jul 2012
Location: Seattle
Age: 26
Posts: 7
Resizing/moving a root partition

When I originally installed Fedora 17 I hadn't expected to need more than 9gb for the root partition and set up my partition table as such; as it turns out I was wrong. So now, I'd like to resize it to perhaps 20gb. However I'm having issues figuring out how to do so.

For starters, here's my parted print output;

(parted) print                                                            
Model: ATA WDC WD2500BEVE-0 (scsi)
Disk /dev/sda: 250GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type      File system  Flags
 1      32.3kB  21.0GB  21.0GB  primary   ntfs         boot
 2      21.0GB  250GB   229GB   extended               lba
 5      21.0GB  240GB   219GB   logical   ntfs
 6      240GB   240GB   524MB   logical   ext4
 7      240GB   250GB   9959MB  logical                lvm
As well as a screenshot from gparted;

Now as far as I can tell what I "should" need to do is,

1)Resize sda5
2)Move sda7 into the newly freed space above/behind my 524MB swap partition
3)Resize sda7 to take up the rest of the newly freed space

I have the gparted live iso on a flash drive and can boot into that with no problem. However loading gparted from this still leaves sda7 "locked" and I can't do anything with it. Also, trying to do anything with sda6, being a boot partition, throws a warning that moving it will cause issues booting into my installation in the future.

So my question is, is there something I'm missing here, or do I actually need to go through and reinstall fedora to fix this?

tldr; based on my partition table configuration how do I expand sda7 into unallocated space taken from sda5?
Reply With Quote
Old 26th July 2012, 11:00 AM
george_toolan Offline
Registered User
Join Date: Dec 2006
Posts: 2,083
Re: Resizing/moving a root partition

You probably can't expand sda7 without removing sda6 first. You could however create a new partition sda8 and mount it as /home or add it to your lvm volume group vg_lolwut.
Reply With Quote
Old 27th July 2012, 02:16 AM
MaslowK Offline
Registered User
Join Date: Jul 2012
Location: Seattle
Age: 26
Posts: 7
Re: Resizing/moving a root partition

Originally Posted by george_toolan View Post
You could however create a new partition sda8 and mount it as /home or add it to your lvm volume group vg_lolwut.
So adding the extra partition and adding it to my lvm (not sure I know what that is exactly) should add the extra space to my root filesystem? Basically I just need more room for apps and games installed directly to my fedora install to go, right now I only have some 100mb left on it =/

So how would I go about doing what you're describing there? Any chance you might have a link to a guide of sorts handy?

Edit: Figured it out myself, wasn't nearly as complicated as I'd assumed. Thanks for pointing me in the right direction

Last edited by MaslowK; 27th July 2012 at 08:48 AM.
Reply With Quote

partition, resizing or moving, 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
Resizing my Root LVM partition osacapcom Hardware & Laptops 1 17th December 2010 04:13 PM
Problems moving root partition (FC4) gryphon Using Fedora 0 30th June 2005 09:13 AM
Resizing EXT3 root partition safe? alphonsebrown Using Fedora 7 4th April 2005 03:58 PM
Resizing root partition widesteps Using Fedora 13 13th March 2004 05:47 PM

Current GMT-time: 08:21 (Thursday, 29-01-2015)

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
...Flax & Kale - Clube Novo Horizonte Photos - Tour Eiffel - Place Du Trocadero Instagram Photos - Mount Royal Tavern Instagram Photos