Web Hosting Talk







View Full Version : mounting drives in redhat


DigiCrime
08-20-2002, 03:39 AM
when I try to mount my main drive i get bad mount. linux is installed on my 30 gig drive, i want to mount my windows drive to grab some files off of it. when i go to mount i set it up like this

/dev/hda /win_c msdos defaults

/bin/mount -a

then i get a message that says bad mount or something i forgot now, basically saying that it doesnt exist. I got my partitions for linux setup on my 30 gig drive.... im a newb to linux so :::insert im with stupid sign:: Need some help :)

edb49
08-20-2002, 04:31 AM
dev/hda is a hard disk, you need to mount a partition which will be something like /dev/hda2

(or hdaX where X is 1-16)

DigiCrime
08-20-2002, 05:19 AM
k, i forgot about that part. now i get bad fs type. I take it linux cant read a NTFS partition?

RutRow
08-20-2002, 07:49 AM
I believe you can mount NTFS as read only in Linux, but your kernel has to be compiled for that option. Also, unless your partition is defined in your /etc/fstab, you should also have to specify the vfstype with the -t option in mount.

example:
mount -r -t ntfs /dev/hdaX /mnt/mountpoint

man mount will explain.