Fedora Linux Support Community & Resources Center
  #1  
Old 21st June 2012, 03:58 AM
jimmij Offline
Registered User
 
Join Date: Jun 2012
Location: wa
Posts: 21
linuxfirefox
Root partition needs resized

Problem:
Error says that Root is full.
Disk Usage Analyzer and df -h confirms.

System:
Fedora 17, 3.4.2-4.fc17.x86-64
Acer Aspire 5251-1805 Laptop, AMD V120 2.2GHz, 3GB DDR3, 250GB HD, ATI Mobility Radeon HD 4250 Graphics.

When running AutoPlus to install video codecs, I received an error that the Root was almost full.
AutoPlus quit due to the error, and I checked the Root partition to confirm the error: Root is at 99%.
When I installed Fedora I followed the tutorial for a custom partitioning and made: root= 5GB, boot= 500MB, swap= 3GB, home= 220GB.
I haven't loaded many large programs onto the system (LibreOffice, Audacious, Gimp, AutoPlus, Deluge, Evolution) so normally just reinstalling the system wouldn't be a problem, but I can't loose my work files on the system and I don't have enough media available to back them all up again.

What I am wondering about is the procedure to resize the Root partition safely and what a good size would be?

Most of my work on the computer is Office applications, some graphics work, E-books, Internet (streaming and flash videos, research, Down/Uploading torrents), watching movies, music, and as for gaming: I mainly stick with old DOS games (Kroz still Rocks!).
Also, I am not a systems guru by any means, so step-by-step instructions would be great.

jimmij
Reply With Quote
  #2  
Old 21st June 2012, 04:14 AM
george_toolan Offline
Registered User
 
Join Date: Dec 2006
Posts: 2,078
linuxfirefox
Re: Root partition needs resized

What kind of "tutorial" was that?

The system will require about 15 GiB of space, so 20 GiB should be sufficient if your home is on a different partition.

You could try to move /usr to /home/usr and /var to /home/var and then create some symlinks. This way you don't have to resize anything ;-)
Reply With Quote
  #3  
Old 21st June 2012, 05:27 AM
Yellowman
Guest
 
Posts: n/a
linuxfirefox
Re: Root partition needs resized

Quote:
Originally Posted by george_toolan View Post
What kind of "tutorial" was that?

The system will require about 15 GiB of space, so 20 GiB should be sufficient if your home is on a different partition.

You could try to move /usr to /home/usr and /var to /home/var and then create some symlinks. This way you don't have to resize anything ;-)
http://www.freedesktop.org/wiki/Soft...-usr-is-broken
Reply With Quote
  #4  
Old 21st June 2012, 06:01 AM
stevea Online
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,997
linuxfirefox
Re: Root partition needs resized

Quote:
Originally Posted by george_toolan View Post
You could try to move /usr to /home/usr and /var to /home/var and then create some symlinks. This way you don't have to resize anything ;-)
duct tape and baling wire.

Just boot a live gparted cd and resize.
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe
Reply With Quote
  #5  
Old 21st June 2012, 07:51 AM
jimmij Offline
Registered User
 
Join Date: Jun 2012
Location: wa
Posts: 21
linuxfirefox
Re: Root partition needs resized

Thanks for the prompt answers, much appriciated.

I am reading about symlinks and the link from Yellowman right now. The link's article is written a little above my head in the technical respect, but researching as I go along, the article seems hint that there exists a solution... but unless you are at the authors level of knowledge there is not much to go from.


Stevea, I am also reading about the GParted CD right now. Do you think that it has a reasonable chance to commit murder to my other files? If I loose all my lesson plans there will be happy students and one P.O.'d Principal for me to deal wiith.

Also, thanks for the quick response. I just installed Fedora yesterday and have not had a chance to finish reading the book on it that I bought, your help is a lifesaver in me being able to get back to work quickly.

P.S. This is the guide I used for installing: http://docs.fedoraproject.org/en-US/...ide/index.html
Reply With Quote
  #6  
Old 21st June 2012, 08:44 AM
george_toolan Offline
Registered User
 
Join Date: Dec 2006
Posts: 2,078
linuxfirefox
Re: Root partition needs resized

Quote:
Just boot a live gparted cd and resize.
Just make a backup first ;-)
Reply With Quote
  #7  
Old 21st June 2012, 10:24 AM
bepaald Offline
Registered User
 
Join Date: Nov 2004
Posts: 126
linuxfirefox
Re: Root partition needs resized

Also, just a quick heads up because both me and my brother did similar things not too long ago: resizing large partitions (you will probably need to shrink your /home in order to grow your /), will take hours. Seriously, if you are pressed for time and for some reason you have to use your computer or can't leave it turned on for the rest of the day, don't start the process. My brother did it on his laptop once when he didn't have the power adapter with him. Needless to say, the laptop battery wasn't going to last the full 5+ hours it took (and that was not even a 220G drive). Anyway, I'll tell you what I told him: anytime I have to do this, I ignore the problem until I go to sleep, then right before bed I start the resizing. Usually all will be done the next morning.
__________________
Running F20 x86_64 with KDE
Intel Core i7-4771 @ 3.5GHz
8G RAM
Reply With Quote
  #8  
Old 21st June 2012, 10:35 AM
stevea Online
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,997
linuxfirefox
Re: Root partition needs resized

I've never seen gparted fail on a linux file system. I've seen it mess up an NTFS shrink once years ago when the NTFS revs were changing.

If you are using LVM then gparted won't work (it just won't find the file systems)
If you move the starting point of the root fs, (or /boot if you have it separate) then you will have to run grub-install to boot again.
Yes 'MOVING' partiitons is slow. Copy/deletes of partition better, shrinking better.
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe
Reply With Quote
  #9  
Old 21st June 2012, 12:40 PM
Haphaeu Offline
Registered User
 
Join Date: Nov 2009
Location: Norway
Posts: 32
windows_7ie
Re: Root partition needs resized

Quote:
Originally Posted by stevea View Post
duct tape and baling wire.

Just boot a live gparted cd and resize.
Just be aware that if you move the _start_ of the root partition, your system might not boot.
Make sure you re-configure whichever boot loader you're using after resizing - and before re-booting!
__________________
toca pra cima!
Asus eeePC 1015BX - Fedora 17 LXDE & KDE
Reply With Quote
  #10  
Old 21st June 2012, 04:19 PM
tashirosgt Offline
Registered User
 
Join Date: Aug 2004
Posts: 3,965
linuxfirefox
Re: Root partition needs resized

jimmji, If you become root by using "su -", you will be put in /root directory. Then if you do some big download, the files, they will end up there. If this is what's filling up /root, you ought to do a cd to another directory before you download big files. I think the advice you see about setting the size of /root is based on the assumption that /root is not doing to be the dumping place for the files you download.
__________________
"Never let the task you are trying to accomplish distract you from the study of computers."
Reply With Quote
  #11  
Old 21st June 2012, 05:07 PM
george_toolan Offline
Registered User
 
Join Date: Dec 2006
Posts: 2,078
linuxfirefox
Re: Root partition needs resized

I'm pretty sure when he says "root" he means the root file system "/" and not just "/root" ;-)
Reply With Quote
  #12  
Old 23rd June 2012, 02:34 AM
jimmij Offline
Registered User
 
Join Date: Jun 2012
Location: wa
Posts: 21
linuxfirefox
Re: Root partition needs resized

Sorry for the late delay in getting back to everyone. I tried using GParted even though I knew it would not accept LVM from your posts- No-go of course. And since I was crunched on time, I backed-up with what little media I had and did a proper custom re-install. It looks to be in working order for now, and I also made sure that if this issue should ever arises again that the partitioning scheme is GParted compliant.
Thanks for all your quick answers!
-jim
Reply With Quote
Reply

Tags
laptop, partition, resized, 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
4.1 GB home folder, can it be resized? ShinigamiXV Installation, Upgrades and Live Media 2 1st September 2010 01:45 AM
NTFS Partition resized on HW Raid 5 Array..No longer mounts Absolute Zero Hardware & Laptops 7 23rd July 2010 08:47 PM
Can't mount my with partition magic resized ext3 partition fedski Installation, Upgrades and Live Media 0 27th December 2006 09:00 AM
Help: Accidentally resized an LVM partition, FC3 now fails to boot PikoMedia EOL (End Of Life) Versions 0 27th March 2005 04:59 PM


Current GMT-time: 22:52 (Friday, 28-11-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

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
Alvor, Faro, Portugal Travel Photos