View previous topic :: View next topic |
Author |
Message |
hitachi Guru
Joined: 20 Feb 2006 Posts: 478 Location: Freiburg / Deutschland
|
Posted: Sun Sep 03, 2006 11:45 pm Post subject: moving user or making a link or symbolic link |
|
|
I was trying to update my system. Now I do have a problem. I don'h have enough space left on my first partion and so emerging gcc leads to an error. I do have a second partion where more than 1 gb is left.
Now I think there are two posible solutions. I could move my user to the second partion. This would free up around 900mb (mainly used by the .thunderbird folder). But I have been told using cp could break alot. So how can I move the user?
The othere posibility would be to move the folder (/var/tmp/portage) to the second partion. How would I do this?
Thanks for every help and every idea |
|
Back to top |
|
|
dalek Veteran
Joined: 19 Sep 2003 Posts: 1353 Location: Mississippi USA
|
Posted: Mon Sep 04, 2006 1:14 am Post subject: |
|
|
Well, I have moved my entire OS before using the command cp -av /old/location /new/location and it has always worked very well.
Hope that helps.
_________________ My rig: Gigabyte GA-970A-UD3P mobo, AMD FX-8350 Eight-Core CPU, ZALMAN CNPS10X Performa CPU cooler,
G.SKILL 32GB DDR3 PC3 12800 Memory Nvidia GTX-650 video card LG W2253 Monitor
60TBs of hard drive space using LVM
Cooler Master HAF-932 Case |
|
Back to top |
|
|
dalek Veteran
Joined: 19 Sep 2003 Posts: 1353 Location: Mississippi USA
|
Posted: Mon Sep 04, 2006 1:18 am Post subject: |
|
|
You could just link /var/tmp/portage to the other partition. ln -s /var/tmp/portage /where ever/new/partition/is/mounted should work. Someone correct me if I am wrong on that one.
I also think you can edit make.conf and move it as well.
Hope one of those helps.
_________________ My rig: Gigabyte GA-970A-UD3P mobo, AMD FX-8350 Eight-Core CPU, ZALMAN CNPS10X Performa CPU cooler,
G.SKILL 32GB DDR3 PC3 12800 Memory Nvidia GTX-650 video card LG W2253 Monitor
60TBs of hard drive space using LVM
Cooler Master HAF-932 Case |
|
Back to top |
|
|
hitachi Guru
Joined: 20 Feb 2006 Posts: 478 Location: Freiburg / Deutschland
|
Posted: Sun Sep 10, 2006 7:53 pm Post subject: |
|
|
Hi,
I just mounted an empty hdd to /var/tmp/portage . It's working now. May not be a fine solution but it's OK for now.
Thanks for the help |
|
Back to top |
|
|
BlackEdder Advocate
Joined: 26 Apr 2004 Posts: 2588 Location: Dutch enclave in Egham, UK
|
Posted: Sun Sep 10, 2006 8:39 pm Post subject: |
|
|
You can also override the portage_tmpdir
Code: | PORTAGE_TMPDIR=/path/to/dir/with/space emerge gcc |
To make this permanent add the PORTAGE_DIR variable to /etc/make.conf |
|
Back to top |
|
|
|