Mounting...?


 
Thread Tools Search this Thread
Special Forums Hardware Filesystems, Disks and Memory Mounting...?
# 1  
Old 07-03-2003
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 Smilie.

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 Smilie

Last edited by mo0ness; 07-03-2003 at 05:32 AM..
# 2  
Old 07-03-2003
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 Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. HP-UX

Mounting LUN on HP 11.31

Hello, I want monting a LUN on a RX2660 I have created a LUN of 100Go with HP StorageWorks EVA and associated to my server. For the moment I see it with the command below but after i can't used it # ioscan -fnkC disk Class I H/W Path Driver S/W State H/W Type Description ... (10 Replies)
Discussion started by: letters
10 Replies

2. Shell Programming and Scripting

Mounting

I have a big confusion in mounting........so please tell me whats the exact meaning of it nd do other os have this concept or not? (8 Replies)
Discussion started by: Mac91
8 Replies

3. Filesystems, Disks and Memory

mounting

I generally use mount many times to mount an iso image or as a bind between directories or mounting a squash file system. Y does one require root permission to do a mount --bind between two of his own directories or just mount an iso/squash image in directory he owns? Also I wish mount had an... (0 Replies)
Discussion started by: bbala
0 Replies

4. UNIX for Dummies Questions & Answers

Need help with mounting my USB

My previous post seems to be erased and I didn't get any help. I'm logged as root now but no mounting command seems to work, I've tried: Mount -t vfat /dev/sdc1 /mnt/USB Changing "sdc1" for hda1-7, and sdc1-7, and still nothing. Sometimes i get: "special device not found" and others "device... (4 Replies)
Discussion started by: Dax01
4 Replies

5. UNIX for Dummies Questions & Answers

Mounting fs ext3

I'm trying to find a correct command that will mount a filesystem ext3 the device /dev/sda1 to mount point /mnt/usb but not allow any programs to run from it. I want to be honest as I've read the forum rules... This is a homework question BUT, i'm generally interested in the correct process and... (3 Replies)
Discussion started by: CasperQuiet
3 Replies

6. BSD

Mounting

Hi I mounted disk which have two partition C: , D: ( i am not sure if both partition have same file system) with this commad: mount -t msdosfs /dev/ad2s1 /mnt/windows but this is mounted only first partition with fat file system. ( in windows XP C: ) How can i mount another partition... (2 Replies)
Discussion started by: sniper007
2 Replies

7. UNIX for Dummies Questions & Answers

Mounting help.

Hello, I am trying to mount a second scsi hard drive on a SCO box. (5.0.5.) And I can't figure out what the device file for it is so I can mount it. Can anyone help me? thanks. (1 Reply)
Discussion started by: iconn
1 Replies

8. UNIX for Dummies Questions & Answers

Mounting cdrom on DG/UX

Hi, I'm looking to mount a cd on an old AViiON system we have. No one here really has any expertise with this platform so any help will be appreciated. I * think* the device is sd(apsc(pci(1),B,0,7),5,0), however I'm not sure at all. Thanks! (0 Replies)
Discussion started by: madesjardins
0 Replies

9. Solaris

Mounting root

Hello, How do I mount root on networked machines in Solaris 2.5 and 7? I did it before but I lost the clue. Was it something in vfstab? root=? I want to give some machines or users rootaccess on other machines on the lan. Do I specify users or machines at the root is option? Thanks in... (1 Reply)
Discussion started by: Albert
1 Replies
Login or Register to Ask a Question