Autor |
Nachricht |
|
Titel: Move /home/user folder to somewhere else
Verfasst am: 15.06.2006, 03:56 Uhr
|
|

Anmeldung: 13. Jun 2006
Beiträge: 43
|
|
Can i move /home/user to somewhere else, like to /working ?, so that i can work in that directory......When i click Home Browser, it goes directly to /working folder |
_________________ ·-»‡«=·-mêmÕ®ïå£_å¥ië28-·=»‡«=·-
We come to love not by finding a perfect person, but by learning to see an imperfect person perfectly.
|
|
|
|
 |
|
Titel:
Verfasst am: 15.06.2006, 05:51 Uhr
|
|
Team Member


Anmeldung: 17. Dez 2003
Beiträge: 1109
Wohnort: Ganymede
|
|
Why do you want to do this exactly? Perhaps you need more space for your /home/<username> ? If this is the case why not just either:
A: move your /home to its own partition w/ cp -a
or
B: create a dir in ~ and work in there instead?
It's best to keep user to his/her own directory. It isn't necessary to add a directory to the / filesystem.
For example all software that I compile lives in its own partition (/dev/sda5) mounted by /etc/fstab with a mount point of
Code:
/home/<username>/Apps
What exactly is Home Browser anyway? Konqueror?
Maybe you could explain further your situation and what you wish to accomplish? |
_________________ Ubuntu - An ancient African word for "Can't install Debian"
|
|
|
|
 |
|
Titel:
Verfasst am: 15.06.2006, 06:02 Uhr
|
|

Anmeldung: 13. Jun 2006
Beiträge: 43
|
|
Yeah, it's true, i need more space for my home folder, so, /working i mean is one of my Harddisk partision that was mounted to /working...so, can U explain how to to that ?
yes, browser i mean was Konqueror  |
_________________ ·-»‡«=·-mêmÕ®ïå£_å¥ië28-·=»‡«=·-
We come to love not by finding a perfect person, but by learning to see an imperfect person perfectly.
|
|
|
|
 |
|
Titel:
Verfasst am: 15.06.2006, 06:13 Uhr
|
|

Anmeldung: 13. Jun 2006
Beiträge: 43
|
|
What i mean is, i want to use Option a, can you explain me more detail how to do : A: move your /home to its own partition w/ cp -a
Thanks... |
_________________ ·-»‡«=·-mêmÕ®ïå£_å¥ië28-·=»‡«=·-
We come to love not by finding a perfect person, but by learning to see an imperfect person perfectly.
|
|
|
|
 |
|
Titel:
Verfasst am: 15.06.2006, 07:09 Uhr
|
|
Anmeldung: 26. Jun 2005
Beiträge: 389
|
|
Assuming that your new partition is hdb1 and it is formatted with reiserfs, then, log in as root and,
mv /home /bkp (this moves your current home directory to /bkp)
mkdir /home (to create a new, empty /home)
mount -t reiserfs /dev/hdb1 /home
cp -a /bkp/* /home (this copies the contents of /bkp to the partition in /home)
Edit your /etc/fstab file by adding the line:
/dev/hdb1 /home reiserfs defaults 0 0
Now log in as user.
Another way is to mount your new partition in your current home:
Assuming your user name is aYie28, create a new directory in your home, thus (as user)
mkdir ~/work
Then edit /etc/fstab (as root) to include:
/dev/hdb1 /home/aYie28/work reiserfs defaults 0 0
then,
mount /home/aYie28/work
viola! |
|
|
|
|
 |
|
Titel:
Verfasst am: 15.06.2006, 09:09 Uhr
|
|

Anmeldung: 13. Jun 2006
Beiträge: 43
|
|
Yeah, It's work just find...Thanks so much...  |
_________________ ·-»‡«=·-mêmÕ®ïå£_å¥ië28-·=»‡«=·-
We come to love not by finding a perfect person, but by learning to see an imperfect person perfectly.
|
|
|
|
 |
|