Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Adding a partition and mounting another drive
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Johnyp
Guru
Guru


Joined: 23 Mar 2005
Posts: 301

PostPosted: Fri May 06, 2005 1:59 am    Post subject: Adding a partition and mounting another drive Reply with quote

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
View user's profile Send private message
greasy_grasshopper
Apprentice
Apprentice


Joined: 07 Apr 2005
Posts: 171

PostPosted: Fri May 06, 2005 2:24 am    Post subject: Reply with quote

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
View user's profile Send private message
gesiel
Apprentice
Apprentice


Joined: 13 Feb 2005
Posts: 197
Location: Brasil - Rio de Janeiro

PostPosted: Sat May 07, 2005 10:04 pm    Post subject: Reply with quote

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:
Code:
mkdir /mydir

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum