Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I use FC5 and i checked KDiskFree and it says that my root folder has 5Gb free (from 30Gb)
I download programs-applications from add remove software,yum and also other rpm or tar files
Obviously the programs from add remove software and yum are installed in / folder ,thats why i have few space left.
I wanted to ask how i will install programs to my home folder and also where i can see the disk space of my home folder ,because at KDiskFree i can only see my / folder and /boot
If there is a way and install in my home folder is there a change for the programs not to run?or not to run properly?
Also,sometimes some applications like rhythmbox,kaffeine etc don't play.I click on application,it loads but then it stops and doesn't open.Sometimes it opens and freezes.Any ideas?
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
From the sound the /home is not a partition of its own. So that means in is part of the / partition. SO in since if / has 5 gig left you have 5 gig left in on the whole partition that can be used anywhere. So if you fill /home with files then the / partition will decrease.
To see partition table look at the contents of your /etc/fstab file. Post if not sure.
For the freezing apps start them from the command line and see if what errors it shows.
When i installed FC5 i created 4 parttions : root,home,boot,swap
I can only see boot and root now.
Why is that?
When i created home partition was 80Gb ,so i have enough space
As for the applications,if i open them from command line,ihave the same results.For example,i opened rhythmbox player,it opened,but the window freezed.
Thanks for helping
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088
Rep:
It looks like you didn't set a mount point for /home.
Add a line to /etc/fstab, to point to /home. Something like:
Code:
/dev/hda3 /home ext3 defaults 0 1
(Where /dev/hda3 is your home partition).
Then mount /dev/hda3 on /media, and move your home folder from /home to /media. Unmount /media, and then mount /home. Your files should be available in /home as before. Try rebooting, to make sure it is correctly automounted.
I am going to do as you say but before i want to make a backup for my home folder
So,i run k3b (the first time i use it,i am a new linux user) and it gives me an error when i start burning."impossible the size definition of image file"
At the burning process i chose immediately burning,without making image!
I tried though to choose burning with image creation but still the same!
Also,how can i mount?
If you could tell me what can i do and then deal with the partitions
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
Ok if you have a partition that is not listed but it is created do the following to get it up.
First what is the partition block device? I am going by the others post /dev/hda3
Now once system is booted try mounting the missing partition like decribed above.
login as root. su -
cd /
mount /dev/hda3 /media
cp -R /home/* /media
umount /dev/hda3
edit fstab file and make it look like post above. Save and exit.
mv /home /home2
mount /dev/hda3 /home
verify data exist.
I did some other changes with no good result and i am posting.. (They are in order ,first line from Fstab corresponds first line of Mtab and first line of Results and so on)
Mtab
No change
No change
/dev/hda2 ext3 rw 00
/dev/hda2 ext3 rw 00
/dev/hda2 /home2 ext3...
/dev/hda2 /home ext3...
Results
Mount point /home2 doesn't exist
Unable to resolve 'LABEL=/dev/hda2'
Mount point /home2 doesn't exist
Unable to resolve 'LABEL=/home2'
Unable to resolve 'LABEL=/home2'
It goes until login screen.Then error message
Reply With Quote
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
If you have all that in fstab and mtab files then it is really messed up. Get rid of any reference to /home /home2 and /dev/hda2 since this is the partition that is 80 gig based on info I do see. Once all cleaned up forget about fstab and mtab for now till the end.
Is the /dev/hda2 the 80 gig drive?
Is it formatted to ext2, ext3, reiserfs, or many others? Best to do ext3 for Fedora.
Format it using the ' mkfs -t ext3 /dev/hda2 ' command as root.
If it does not format you may need to use the ' /sbin/fdisk /dev/hda ' and set the partition type for /dev/hda2.
Now that it is formatted create a directory called /home2 ' mkdir home2 ' at the root of the drive.
Mount /dev/hda2 as /home2. ' mount -t ext3 /dev/hda2 /home2 '
Copy all the data from /home to /home2
Rename /home to say /home_backup
Create a new directory /home. ' mkdir /home '
Umount /dev/hda2 ' umount /dev/hda2 '
Remount /dev/hda2 as /home. ' mount -t ext3 /dev/hda2 /home '
If all looks good the add this line to /etc/fstab only. Forget /etc/mtab
Thanks friend but i already have done format..
I did created the other partition ,everything seemed to be ok but after few minutes the system hang and reboot.Then when i tried to run linux rescue it didn't recognize that i have linux on my system.So i format and i created a partition /root with 110Gb and now i am ok!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.