View previous topic :: View next topic |
Author |
Message |
Johnyp Guru
Joined: 23 Mar 2005 Posts: 301
|
Posted: Fri May 06, 2005 1:59 am Post subject: Adding a partition and mounting another drive |
|
|
Hey all
I have a gentoo box with 2 disks in it. One of the disks has a formated partition that has not been mounted yet.
Second drive also contains a formated parition (both Reiserfs). How can i get them both to come up and be usable?
I don't quite understand the whole - mounting (i guess that's what it's called) concept and what's involved in it.
thanks all! _________________ Gentoo Unanswered Questions- Give it a try! |
|
Back to top |
|
|
greasy_grasshopper Apprentice
Joined: 07 Apr 2005 Posts: 171
|
Posted: Fri May 06, 2005 2:24 am Post subject: |
|
|
There are a lot of tutorials on the Internet about mounting partitions in Linux. You can search them using a search engine easily. Here's one from a simple search: http://rtfm.dyndns.info/tips/2003/06/01/16.shtml
The whole idea is that we want to associate a partition on your hard drive with a branch of your filesystem. The filesystem is seperate from your partition table. |
|
Back to top |
|
|
gesiel Apprentice
Joined: 13 Feb 2005 Posts: 197 Location: Brasil - Rio de Janeiro
|
Posted: Sat May 07, 2005 10:04 pm Post subject: |
|
|
I use 4 partitions an same disk. For questions of security I put /home on separate partition. My scheme in /etc/fstab is:
Code: | /dev/hda1 /boot
/dev/hda2 /swap
/dev/hda3 /
/dev/hda4 /home |
I moved all files in /home (/dev/hda3) to /home (/dev/hda4).
works ok!
Ok, I know: your case is different. Make this:
put more one line in your fstab:
Code: | /dev/hdb1 /mydir reiserfs noatime 0 1 |
note: /dev/hdb1 is your secound hard drive.
enjoy |
|
Back to top |
|
|
|