installing software in different partition
my root partition is almost full and it happened to me many timed that i was not able to boot into my linux box due to less disk space
so is there a way to install softwares in different partition for ex ...r there any parameters in apt-get command which install softwares in different partitions.... thanx in advance.. |
I'm not sure if it's possible, but if there's a way to do it, you'll find it in the apt howto. I'm not sure this is a good idea though. It could quickly become confusing trying to keep track of which packages are installed where.
A better way to solve your problem would be to move your entire /usr directory onto a separate partition. Simply create a new partition, move all of the files in /usr into it (be sure to back it up first), then edit your /etc/fstab so that that partition mounts at /usr. If you do it correctly, the changeover should be transparent to your system. |
If you have the space to create other partitions, then you could simply re-size "/" to make it bigger.....
How full is the disk? |
Or make the extra partition space into e.g. /usr, copy everything
across, and then mount it as /usr. If all is well (all this in init 1) unmount it again and delete the content of /usr on the original ... in terms of the installation and apt it won't make a difference - apt should be agnostic in regards to partitions. Cheers, Tink |
All times are GMT -5. The time now is 09:08 PM. |