Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
I am running out of space on my root partition. I know my /usr/portage/distfiles is getting on the LARGE side but obviously I dont want to go deleting it since I dont want to have to download things again (on a 3Gb cap ) so what are my options?
Filesystem 1M-blocks Used Available Use% Mounted on
/dev/hda3 9468 8137 1332 86% /
I dont have much in the way of music or movies or any personal such things that is all on another driver.
If you use it, 'ccache -C' can free up a gig or two. You can also go through and delete old versions out of /usr/portage/distfiles. Takes time but is usually quite effective.
I had the same problem. Fortunately, I had space on the harddisk to create another partition. I made a new partition and moved my "distfiles" subdirectory to that new partition. Note that you have to specify new path for distfiles directory in your /etc/make.conf in order for portage to find those files. Also, you will need to update your /etc/fstab to mount the new partition where "distfiles" is located.
The sequence of actions I took in my case was:
1. Created new linux partition in my harddisk.
2. My mount point is /mnt so created new subdirectory /mnt/distfiles and mounted the new partition there.
3. Made subdirectory /mnt/distfiles/packages.
3. copied all files from /usr/portage/distfiles to the new partition /mnt/distfiles. (If you have precompiled packages in /usr/portage/packages, copy those as well).
4. updated /etc/fstab to mount /mnt/distfiles on boot
5. updated /etc/make.conf to add DISTDIR variable (DISTDIR="/mnt/distfiles") and PKGDIR (PKGDIR="/mnt/distfiles/packages")
Rebooted system to verify new directory is mounting ok or not. For further verification, I did emerge --fetchonly something small and checked that it is indeed being stored under /mnt/distfiles from emerge output in the console.
6. All this went Ok, so I deleted the files in /usr/portage/distfiles and removed /usr/portage/distfiles subdirectory.
You can follow the same process. Just ensure that you replace /mnt/ with your mount point directory.
Alternatively, if you have CDR capability enabled in your gentoo box, you can burn files to a CD and delete those from /usr/portage/distfiles.
Ravilj wrote:I am running out of space on my root partition. I know my /usr/portage/distfiles is getting on the LARGE side but obviously I dont want to go deleting it since I dont want to have to download things again (on a 3Gb cap ) so what are my options?