LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-31-2004, 03:28 PM   #1
LTF
LQ Newbie
 
Registered: Aug 2004
Posts: 4

Rep: Reputation: 0
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?
 
Old 08-31-2004, 03:31 PM   #2
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
use

vfat

and for the version

uname -r
 
Old 08-31-2004, 03:32 PM   #3
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,249

Rep: Reputation: 101Reputation: 101
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.
 
Old 08-31-2004, 03:32 PM   #4
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,249

Rep: Reputation: 101Reputation: 101
Oh yes..vfat not VFAT
 
Old 08-31-2004, 03:44 PM   #5
LTF
LQ Newbie
 
Registered: Aug 2004
Posts: 4

Original Poster
Rep: Reputation: 0
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?
 
Old 08-31-2004, 03:49 PM   #6
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,249

Rep: Reputation: 101Reputation: 101
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mounting hard disk with other OS nelo Linux - Hardware 1 10-12-2005 07:59 PM
mounting hard disk Olle Linux - Newbie 8 01-22-2005 11:31 AM
Mounting a hard disk??? dsschanze Linux - Hardware 4 09-25-2004 10:46 PM
Hard Disk mounting !! ShaanAli Solaris / OpenSolaris 14 08-07-2004 02:04 AM
Mounting another hard disk Bluebottle Linux - General 3 02-08-2003 05:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration