LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mounting hard disk (https://www.linuxquestions.org/questions/linux-newbie-8/mounting-hard-disk-224915/)

LTF 08-31-2004 03:28 PM

mounting hard disk
 
I have a problem, when I try to mount my windows drives(debian-sarge):
Code:

mount -t VFAT /dev/hda0 /mnt/winc
It gives a"fs not supported by kernel" error. What do I need to do to fix it?
also, how can I chekc my kernel version?

Skyline 08-31-2004 03:31 PM

use

vfat

and for the version

uname -r

m_yates 08-31-2004 03:32 PM

Code:

uname -r
will give your kernel version.

Maybe you have vfat support as a module? Try
Code:

modprobe vfat
and then see if your hard drive can be mounted.

m_yates 08-31-2004 03:32 PM

Oh yes..vfat not VFAT

LTF 08-31-2004 03:44 PM

Okay, thanks everyone, I managed to get it working, BUT I seem to have another problem, when after I mount it, the only way I can access the mounted dir(/mnt/winc) for example, I get an "access denied" error, and the only way to access it is via the console with root. What do I need to modify for that not to happen?

m_yates 08-31-2004 03:49 PM

You need to modify /etc/fstab Add a line for it in the fstab file:

/dev/hda1 /mnt/winc vfat auto,users,owner,exec,umask=000 0 0

You can then mount it as a regular user with the command:
Code:

mount /mnt/winc


All times are GMT -5. The time now is 06:25 AM.