Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-14-2003, 11:50 AM   #1
LQ Newbie
Registered: Jun 2001
Location: Frankfort, IL
Distribution: Suse 7.1
Posts: 9

Rep: Reputation: 0
2 Hard Drive Question

I am running RH9 and have two hard drives. I want to put personal files and a common music directory on the 2nd drive (/home directory?) for our network users to access. How do I do this?
Old 09-14-2003, 12:27 PM   #2
LQ Guru
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Assuming you already have it partitioned and formatted. First su or login as root then mount it somewhere and copy the contents of your /home directory(without the /home path) into it, preserving permissions/ownership etc(cp -a)
Rename your current /home directory to something else in case something goes wrong, then mkdir a new /home. Next add/modify the /home mount point in your /etc/fstab
so if your second harddrive is /dev/hdb you should have something like
/dev/hdb1 /home ext3 defaults 1 1
then either do a reboot or umount the second drive, and remount it to /home. If everything's fine then you can delete the old /home if you want to save space.

hope this helps.

Last edited by Demonbane; 09-14-2003 at 12:35 PM.
Old 09-15-2003, 08:06 PM   #3
LQ Newbie
Registered: Jun 2001
Location: Frankfort, IL
Distribution: Suse 7.1
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks! It took me awhile as I had not yet partioned or formatted the drive, but I finally got it done.


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
Hard Drive Question Ghost of War Linux - Hardware 2 10-21-2003 02:35 PM
hard drive question Joey.Dale Linux - Hardware 1 09-01-2003 12:42 PM
hard drive question wr3ck3d Linux - Hardware 2 03-14-2003 03:54 PM
hard drive question kylo8787 Linux - General 2 03-01-2002 04:51 AM
Hard drive question msmith7735 Linux - General 6 12-03-2001 08:06 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:32 AM.

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