LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 06-20-2004, 02:44 PM   #1
mipia
Member
 
Registered: May 2003
Location: lake michigan
Distribution: Debian, Mint, Slackware
Posts: 457

Rep: Reputation: 35
/home seperate partition from previous install, make it new /home in new install


I was messing around with debian a few days ago and came back to slack (again). During the install I decided to make /home a seperate partition.
For the time being I have it mounting to a /files dir and was wondering about making it /home/<user> for my existing account. I have the same username and all, just wondering if I can delete the existing /home/ dir and rename the old one (/files) to home and somehow get it setup for my user account. Is it just a matter of renaming? Or are there other things that I have to do as well, besides permissions.
Thanks in advance
 
Old 06-20-2004, 03:06 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,978
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
Nope, that should be straight forward ... just check
that the numerical UID's are the same (or chown
the thing as well).



Cheers,
Tink
 
Old 06-20-2004, 03:16 PM   #3
mipia
Member
 
Registered: May 2003
Location: lake michigan
Distribution: Debian, Mint, Slackware
Posts: 457

Original Poster
Rep: Reputation: 35
right on, I figured it was just a matter or renaming and such. Thanks
 
Old 06-21-2004, 07:30 PM   #4
mipia
Member
 
Registered: May 2003
Location: lake michigan
Distribution: Debian, Mint, Slackware
Posts: 457

Original Poster
Rep: Reputation: 35
alright, well its not quite going as I planned. i cant delete /home (says something is using it blah blah).
and I cant rename /files to /home. I dunno, does it really matter if I do this? Its pretty much goint to be storage space anyways.
But if you have a simple short explination of how to go about this, it would be helpfull. So far i have the user as the owner (chown) of /files but thats about as far as I have gotten without any problems.
What I thought I was supposed to do was:
1) make a dir inside of /files called <username>
2) copy all my goodies over from exitsting home/ dir to /files/username
3) get rid of /home/ (rm -rf ?)
4) rename /files/ to /home/

from there I havent figured out what I will need to do, guess I'll find out after I get over this hurdle...



thanks,
mike

Last edited by mipia; 06-21-2004 at 07:34 PM.
 
Old 06-21-2004, 10:52 PM   #5
Crashbox
Member
 
Registered: Jun 2004
Location: USA
Distribution: Slackware
Posts: 136

Rep: Reputation: 21
ok, so if i am reading this right you have a /files directory with all your stuff in it and you have a /home/<username> directory that is empty. why don't you just create a directory like /home/<username>/<mystuff> and then edit your fstab file to mount /files to /home/<username>/<mystuff> at boot. then youhave all your stuff where you want it and it is easily accesible.

i thought that that was part of the beauty of the linux file structure. if you need/want more room you can just graft a new partition onto the existing tree.

anyway, this is how i'd do it.


-crash
 
Old 06-21-2004, 10:57 PM   #6
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
Why just not copy the /files contents to /home ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Seeing /home (hda6) from a previous install of Fedora Core 3 caleb1011 Linux - Newbie 1 05-26-2005 10:11 PM
Install Mandrake 10 w/o touching /home partition Micro420 Mandriva 6 08-19-2004 10:46 PM
Seperate /home directory to new partition iotc247 Debian 1 05-31-2004 10:50 AM
Seperate /home partition craigl Linux - Newbie 2 05-10-2004 11:15 PM
putting /home on a seperate partition ludwig W Linux - General 2 05-06-2003 02:37 AM


All times are GMT -5. The time now is 03:51 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration