The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > Filesystems, Disks and Memory
Google UNIX.COM


Filesystems, Disks and Memory Questions involving NAS, SAN, RAID, Robotic Libraries, backups, etc go here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Mounting Hdd tatacoffee Shell Programming and Scripting 2 02-15-2008 09:45 AM
mounting USB akhil1460 UNIX for Advanced & Expert Users 1 08-05-2006 09:09 AM
Mounting help. iconn UNIX for Dummies Questions & Answers 1 06-03-2005 12:34 PM
mounting cds? matt2kjones UNIX for Dummies Questions & Answers 3 01-13-2004 12:27 PM
mounting a dir punk000 UNIX for Dummies Questions & Answers 1 07-10-2003 02:07 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-03-2003
Registered User
 

Join Date: Jul 2003
Posts: 8
Stumble this Post!
Mounting...?

Hi everyone, this is the first time I have ever properly used Linux - I run Red Hat Linux 8. I have two hardrives, my main 80gig, and my "extra" 15gig, I would like to be able to gain access to my 15gig and view the files. I know to view files on a floppy disk or a cd you need to mount the drives; I am *assuming* you do this with the hard drives also. If so; could someone please kinda advice me on how to mount this drive properly so I can gain access to it? Thanks alot for everyones time .

Edit: Incase it makes any difference, the hardrive is NTFS formated.

I tried to mount as such:

$ mount -t ext3 /dev/hdb /mnt/hdd2


But I get an output error of:

mount: wrong fs type, bad option, bad superblock on /dev/hdb, or too many mounted file systems


Thanks once again
__________________
[b]mo0ness[/b] - [i]the killer moo[/i]

Last edited by mo0ness; 07-03-2003 at 01:32 AM.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 07-03-2003
Tux Tux is offline
Registered User
 

Join Date: May 2003
Location: UK, Up North
Posts: 113
Stumble this Post!
You would need to do:
$ mount -t ntfs /dev/hdb /mnt/hdd2

The '-t' flag indicates to mount what filesystem the partition is. You were telling it ext3fs which is the linux native filesystem.

This assumes that you have support for NTFS compiled in, which by the way you probably don't. In this case you will have to follow this link and download and install the correct RPM.
Then you will be able to mount as I showed you above.

**BEWARE** Linux NTFS support is considered to most as read ONLY. Writing may corrupt your data.
To make sure you do not write to the partition accidentely you can mount it as so:

$ mount -t ntfs -o ro /dev/hdb /mnt/hdd2

The option 'ro' indicates to mount it as read-only.
The command 'man mount' will tell you all the other thrilling things you can do with mount, also look at man fstab.

ps. If you are not sure which is the correct locatation for the device/partition you are trying to mount, the command 'fdisk -l' (as root) will list all your drives/partitions.

Have fun, welcome to the brotherhood
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 04:34 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0