LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 03-01-2007, 06:47 PM   #1
rwasmund
LQ Newbie
 
Registered: Mar 2007
Location: Troy, MI
Distribution: fedora core 6
Posts: 2

Rep: Reputation: 0
kinda BIG mistake


I made the mistake of only reading a little when i decided to install Fedora, and I am paying for it now. I just tried to install some things using YUM, and it told me i didn't have enough space. OOPS!! I only made the / partitiion 1 gig Is there a way to change this without reintalling? Can DiskDruid (i think thats the name) resize aprtitions without destroying everything? Thanks in advance!

Ryan W
 
Old 03-01-2007, 08:08 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
What filesystem is your root partition?

It could be resized, the difficulty of that depending on the file system, but really I would just start from scratch with a new partition scheme if possible.

That, or unload something like /usr onto a second partition. On my machine, I have / on a 1.5 GB partition, and /usr on a 14 GB partition. Most of the files are installed to /usr (well, I am not sure about Fedora specifically, but from my experience with Linux in general most things end up in /usr), so I have plenty of space left on /.
 
Old 03-02-2007, 02:26 AM   #3
james.farrow
Member
 
Registered: Mar 2003
Location: UK Darlington
Distribution: Fedora Freebsd Centos
Posts: 296

Rep: Reputation: 31
Are you using LVM on your hard disk? If you are you can resize the 'mount points' allocated for /usr etc. Be careful though, if you make a 'mount point' smaller than the data on it, you will lose that data. Or if you have a spare HDD you can use that to extend your LVM seup that you have. Google for LVM.
 
Old 03-02-2007, 04:17 AM   #4
v00d00101
Member
 
Registered: Jun 2003
Location: UK
Distribution: Devuan Beowulf
Posts: 514
Blog Entries: 1

Rep: Reputation: 37
(If not LVM)
Use parted to resize the last partition on the drive, and try to free up 4-5GB.
Change /etc/fstab and /etc/mtab to move /usr to their. Move the /usr file structure as well. To remount, issue something like this in a term.

Code:
mount /usr -o remount
If none of the above applies, you could maybe clear out /var/cache/yum with a

Code:
rm -rf /var/cache/yum
Then see what space is freed up. But you really need to relocate /usr for the future, or at least resize a few partitions and increase the size of / .

For the future, if you are going for the 4 partition setup (/boot, swap, / , /home). Try and make /boot 450MB or round abouts, swap 1.5x the amount of ram you have, / at least 6GB (10GB+ is better), and whatever is left for /home. On my machine, / is 40GB, /home is 100GB, and the rest fits into the remaining 7GB.
 
Old 03-02-2007, 08:23 AM   #5
rwasmund
LQ Newbie
 
Registered: Mar 2007
Location: Troy, MI
Distribution: fedora core 6
Posts: 2

Original Poster
Rep: Reputation: 0
thanks for all the help. I ended up just reinstalling and resizing the partitions from there. I just installed so there wasn;t much if anything to lose. Lesson learned!!

Ryan
 
  


Reply

Tags
partition, resize



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
a big mistake cbb Linux - Software 5 08-16-2005 06:41 AM
BIG mistake!!! djib Linux - Software 5 05-14-2005 06:29 AM
I think i made a big mistake, help BajaNick Linux - General 2 07-21-2003 07:14 PM
Winex what a big mistake, can someone help me... LinuxBAH Linux - Software 2 07-01-2003 01:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 08:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration