LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-07-2001, 11:10 AM   #1
jane207
LQ Newbie
 
Registered: Nov 2001
Posts: 28

Rep: Reputation: 15
Reinstall or repartition?


Hi,Everyone!
I used automatically partition for the installation of Redhat7.1. Now, when I tried to install my application program, it used up one of the partition before it finished. After I checked that application requirements, I found I need new partitions for every Linux partition. Could you please kindly tell me whether I need
to reinstall linux or there is some way that can get me soome free space? If uninstall, how to do that? I did not find a uninstall option in linux. Thanks.
 
Old 11-07-2001, 01:11 PM   #2
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 65
partitioning woes

I'm a little unclear as to the problem. I think you've got one of those cases where Redhat (diskdruid or their gui-fronted cfdisk), partitioned the drive for you and stuck you with too little space under / for the filesystem. As to whether to repartition or re-install; if you have to re-install; you might as well re-partition the drive, and if you re-partition... without using something like Partition Magic (I inherently distrust any program with 'magic' in the title), you're probably going to have re-install the OS.

Either way, what's your current partition table? Or more to the point, what's the output from df?

Cheers,

Finegan
 
Old 11-07-2001, 01:33 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977
give us the output from

cat /etc/mtab

and also

df
to show us how your system is setup at the moment. erm.. your question really doesn't make all that much sense tho...

am i right in guess that you tried to install some program, but it said it had run out of space before it was installed completely? if so then i'd guess that you've not enough system space really. the autopartition sysmte will generaelly make a 30mb /boot and a 200ish swap, and stick all the rest as /. which really wants to be at least 2 gigs for a vaguely expandable system.
and i've no idea what 'i need a new partition for every linux partition' means....!
 
Old 11-07-2001, 03:33 PM   #4
jane207
LQ Newbie
 
Registered: Nov 2001
Posts: 28

Original Poster
Rep: Reputation: 15
I am sorry to make you guys guess.Her is my linux:
df:
/dev/hda6 255690 used 37% /
/dev/hda1 48770 used 9% /boot
/dev/hdc5 1662808 used 1% /home
/dev/hdc1 1662808 used 100% /usr
/dev/hda5 255690 used 13% /var
the following is my application needed:
/boot 20MB
/ 200MB
/swap 500MB
/usr remaining
Does this enough to make my question clear? Please keep posting! I appreciated your guys' help!

Jane
 
Old 11-07-2001, 03:59 PM   #5
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
Wow, looks a little complex for a keep it simple Linux mentality. I'm not familiar with diskdruid, but it looks to me like it autoallocated poorly. You have two drives correct? hda & hdc it looks like? The application is probably trying to install to hdc which looks like is only 1.6MB? 100% & 1%? I'm unclear that hdc1&5 can be that way. The app is obviously not getting enough room to install to the drive. To me it looks like you need to allocate the space yourself before install with fdisk or cfdisk. You don't need seperate partitions for some of these. Assuming you are dual booting, outside of the windows space, all you need to have is a /boot(and sometimes not even that), root / & /swap partition.../home, /usr & /var would be in the root partition. Some others will have ideas also. But it looks a bit hacked up at the moment. Good luck...
 
Old 11-07-2001, 05:00 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977
if you don't want to repartition, you can try moving the partitions around a bit.

heres my plan:

move /home out of it's own partition and put it back into /

then change the mountpoint of the /home partition to /usr/local after copying all the data from the existing /usr/local to the new partition.

but then all that can get very complicated, you should be alright with temporary mountpoints, as everythign you'll need to do all that should be in /bin which isn't being afffected

my /usr tree looks like:

[root@trevor /]# du -h --max-depth=1 /usr/
485M /usr/share
136M /usr/bin
292M /usr/lib
12k /usr/libexec
9.1M /usr/sbin
129M /usr/X11R6
4.0k /usr/etc
1.2M /usr/games
23M /usr/include
506M /usr/local
749M /usr/src
508k /usr/doc
324k /usr/i586-mandrake-linux
36k /usr/man
2.3G /usr
so with some luck you'll have enough space across the two partitions for the /usr to have enough space. i would use that command above tho, to see if anything in your tree is particualry large when it should't be, you might have somehting nasty goin down in there.

but well.. the system you have is really quite quite nasty i'd say. althought it's fine once you know what you're doing and can commit yourself to it, spreading the core of the system over two physical devices is really not a nice thing to do at all. it's realyl worth trying to keep tham all in one place. if you do reinstall from scratch, i'd do it manually, and only have / and /boot. it's really all you need on a simple system, and is much more flexible and suitable until you really get to know about how much space is required gerneally in each part of the fs tree
 
Old 11-07-2001, 11:30 PM   #7
jane207
LQ Newbie
 
Registered: Nov 2001
Posts: 28

Original Poster
Rep: Reputation: 15
Thanks, acid_kewpie and taz.devil. You are such a great help for me! I can not imagine what should I do without your advice.

Based on your description, I will install Linux again. I am new to linux, I choose simple way. Thanks again.

Jane
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Repartition question satimis Linux - General 22 06-05-2005 10:38 PM
is repartition an option? Or only reinstall? spikeroo Red Hat 2 05-06-2005 07:14 PM
Repartition hd for WinXP mpn Linux - General 1 11-27-2004 01:59 AM
Repartition question satimis Linux From Scratch 5 10-07-2004 04:23 PM
How to repartition Manny88 Linux - Software 2 09-19-2003 04:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:08 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration