Download your favorite Linux distribution at LQ ISO.
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 10-06-2006, 10:36 PM   #1
LQ Newbie
Registered: Jan 2006
Location: UNIVERSE
Distribution: Ubuntu Dapper
Posts: 19

Rep: Reputation: 0
Angry Mounting..

I'm a fairly new linux user, learning a lot as of right now. I'm trying to get my two 250GB sata drives mounted. The drives are recognized as /dev/sdd5 and /dev/sdb1. Ubuntu dapper under gnome is my current O.S. The drives are formatted in ext3 and i get this fdisk -l output:

Disk /dev/sde: 2017 MB, 2017460224 bytes
16 heads, 32 sectors/track, 7696 cylinders
Units = cylinders of 512 * 512 = 262144 bytes

Device Boot Start End Blocks Id System
/dev/sde1 * 1 7696 1970160 6 FAT16 ($$MY FLASH DRIVE$$)

Disk /dev/sdg: 300.0 GB, 300069052416 bytes
255 heads, 63 sectors/track, 36481 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdg1 * 1 36481 293033601 7 HPFS/NTFS ($$MY 300GB usb hard drive$$)
Now I just want to know how I can go about getting access to the two ext3 250GB sata drives, I would need to have these mounted on startup also. Any solutions?
Old 10-06-2006, 11:02 PM   #2
Registered: Jun 2006
Location: Sydney
Distribution: Gentoo + Debian
Posts: 132

Rep: Reputation: 15
Adding something like.
/dev/sdd5               /dir1              ext3        noatime,notail  0 1
/dev/sdb1               /dir2               ext3        noatime,notail  0 1
to your /etc/fstab. Then...
mkdir /dir{1,2}
mount /dev/sdd5 /dir1
mount /dev/sdb1 /dir2
Of course you can change the names of the directories from dir1 and dir2.
Old 10-06-2006, 11:05 PM   #3
Registered: Jan 2004
Location: /dev/random
Distribution: Gentoo amd64, CrunchBang amd64
Posts: 350

Rep: Reputation: 32
add these lines to your /etc/fstab:
/dev/sde1     /mount/point0     ext3     defaults     0 0
/dev/sdg1     /mount/point1     ext3     defaults     0 0
What this does:
specifies the device, mount point, filesystem, options (defaults in every distro I used is a good choice, or just use whatever /'s options are), the fifth field is used by the dump command, just leave it zero, and the sixth field is the fsck scan priority if you systems crash... unless you keep valuable data on these drives, its safe to leave it at zero (don't automatically check).

For more in-depth information consult "man /etc/fstab"
Old 10-07-2006, 12:03 AM   #4
LQ Newbie
Registered: Jan 2006
Location: UNIVERSE
Distribution: Ubuntu Dapper
Posts: 19

Original Poster
Rep: Reputation: 0
Wow both of you guys, hepburnenthorpe for giving me the answer, and verdeboy2k for making me understand why. Very helpful.

EDIT: But when I do this, it is only allowing 13.8 GB to each of the folders I created. Obviously it is creating the folder in the actual filesystem I am running off of. How can I have it as just a separate device, or as a mapped folder under media which would probably be best?

Last edited by sp0k34; 10-07-2006 at 12:41 AM.


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
mounting digital camera, mounting in general? lugoteehalt Linux - Hardware 6 08-29-2006 01:52 PM
Mounting an ISO image from a CD different than mounting from HD? NoTiG Linux - Software 4 08-03-2005 05:40 PM
Gnome 2.6 Right click mounting and the mounting system Acetylcholine Linux - Hardware 0 07-25-2004 08:34 AM
Mounting HDD vs. Mounting Filesystem snailophone Linux - Hardware 4 08-12-2003 12:00 PM
Mounting mounting extended partition and its Logical drives desbyleo Linux - Newbie 10 02-18-2002 04:13 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:40 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration