Results 1 to 10 of 15
Hi I am very new to linux,
I have just installed Oracle Enterprise Linux. (which i believe is build on redhat).
This copy of linux is installed on one hard ...
- 08-05-2010 #1Just Joined!
- Join Date
- Aug 2010
- Posts
- 16
Mount SSD
Hi I am very new to linux,
I have just installed Oracle Enterprise Linux. (which i believe is build on redhat).
This copy of linux is installed on one hard drive, in the system there is another hard drive and also an SSD.
How can I mount the SSD and other hard drive so that I can read and write to them?
Unlike Windows, they dont simply appear under 'my computer'
Any help would be appriciated
- 08-05-2010 #2forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,099
Hello and welcome to the forums!
You'll need to add entries for them in the /etc/fstab file. Note that you'll need root permissions to edit that file. You can check this wiki page for some help with configuring the fstab file. It was written for Arch but most of it should apply to other distributions as well:
Fstab - ArchWiki
If you have any NTFS filesystems on the extra drives, you will need to install ntfs-3g if it isn't installed already.
You might want to also use the "discard" option in the entry for the SSD if it supports TRIM. More on that here:
Solid State Drives - ArchWikioz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 08-05-2010 #3Just Joined!
- Join Date
- Aug 2010
- Posts
- 16
cheers, the only drive i need to get recognised is the solid state, ...
its used with a different ubuntu installation (its actually used foran ingres database file) ... the drive is formatted as ext4 or ext3 ... this should be a problem should it?
- 08-05-2010 #4forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,099
oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 08-05-2010 #5Just Joined!
- Join Date
- Aug 2010
- Posts
- 16
hi I have looked at the link you sent, but it doesnt really mention how to mount / get linux to actually recognise the drive .... im useless with linux commands (never used linux before)
but ...
when im logged in as root, and i use the command "blkid" .. the ssd is shown as ..
/dev/sdc1 TYPE="ntfs"
/dev/sdc2 LABEL = "SSD" UUID= "a2ace52e....." TYPE = "ext4"
Can someone help me please ... what commands do I need to run to get this drive mounted?
- 08-05-2010 #6Just Joined!
- Join Date
- Aug 2010
- Posts
- 16
I have created a directory using the following command ..
sudo mkdir /media/ssd
but now how do I mount the actual drive here?
- 08-05-2010 #7
For fstab you would add an entry like
But if that is the goal, you'd add an entry like
You could replace /dev/sdc2 with the UUID as wellCode:/dev/sdc2 /media/ssd ext4 defaults 0 2
Of course using the full UUID.Code:UUID=a2ace52e....
While I used your example mount point of /media/ssd, I wouldn't actually put it there. The /media directory is used when the system automounts drives. The /mnt directory is probably a better place for your custom mount points.
Once you have the fstab entry, do
If you're not looking to always have the drive mounted, you can just use the mount commandCode:su -c 'mount -a'
Replacing /mnt/ssd with whatever mount point you do decide on.Code:su - mount /dev/sdc2 /mnt/ssd
- 08-05-2010 #8Just Joined!
- Join Date
- Aug 2010
- Posts
- 16
I think the first command on your post didnt show...
when im logged in as root and i use the following command:
su - mount /dev/sdc2 /mnt/ssd
I get the response:
su: user mount does not exist.....
Any ideas?
- I want to perminantly mount the drive for all users of the system, so that they have read and write permissions to the drive...
What command would I use for this?
- 08-06-2010 #9forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,099
It's not wise to actually log in as root user, but if you already have root permissions, you don't need to add the su -.
Note, too, that su - is one command, and mount /dev/sdc2 /mnt/ssd is a separate command that should be entered on a new line.
More on using the command line with Linux here:
LinuxCommand.org: Learn the Linux command line.oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 08-06-2010 #10Just Joined!
- Join Date
- Aug 2010
- Posts
- 16
Thanks ..
Im struggelling with the following though...
what command would I use to perminantly mount the drive for all users of the system, so that they have read and write permissions to the drive...
Anyone?


Reply With Quote
