LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-30-2002, 09:42 AM   #1
ab84h
LQ Newbie
 
Registered: Nov 2002
Posts: 4

Rep: Reputation: 0
error when mounting ntfs drives


Hi all,
I'm a newbie here and I need help to mount the windows partition.
I'm currently using Mandrake 9.0. The first time it boots up, it tried to mount the /dev/hda1 and /dev/hdb1 but both received a fail message.
It says: bad fs type, bad option, or too many mounted fs.

What's wrong with that?
FYI, before installing Mandrake, I used Red Hat 8 and installed the NTFS support. It worked for a while and after I updated the kernel, it began to show the error message. =(

Please help....

Here is my /etc/fstab:

/dev/hdd1 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hdd6 /home ext3 defaults 1 2
none /mnt/cdrom supermount dev=/dev/scd0,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=auto,--,iocharset=iso8859-1,sync,codepage=850,umask=0 0 0
/dev/hda1 /mnt/windows ntfs iocharset=iso8859-1,uid=flatcap,umask=0227,ro,gid=winuser,umask=0 0 0
/dev/hdb1 /mnt/windows2 ntfs iocharset=iso8859-1,uid=flatcap,ro,umask=0227,umask=0,gid=winuser 0 0
none /mnt/zip supermount dev=/dev/sda4,fs=auto,--,iocharset=iso8859-1,codepage=850,umask=0 0 0
none /proc proc defaults 0 0
/dev/hdd5 swap swap defaults 0 0

Thanks in advance,
ab84h
 
Old 11-30-2002, 11:09 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
It might already be mounted. Check /mnt/windows and /mnt/windows2 and see.

Also, post here what typing "mount" into a terminal returns.

Cool
 
Old 11-30-2002, 11:45 AM   #3
ab84h
LQ Newbie
 
Registered: Nov 2002
Posts: 4

Original Poster
Rep: Reputation: 0
nope...nothing in both of the directory...
here is the result when i type mount:

/dev/hdd1 on / type ext3 (rw)
none on /proc type proc (rw)
none on /proc/bus/usb type usbdevfs (rw)
none on /dev type devfs (rw)
none on /dev/pts type devpts (rw,mode=0620)
/dev/hdd6 on /home type ext3 (rw)
none on /mnt/cdrom type supermount (ro,dev=/dev/scd0,fs=auto,--,iocharset=iso8859-1,codepage=850,umask=0)
none on /mnt/floppy type supermount (rw,sync,dev=/dev/fd0,fs=auto,--,iocharset=iso8859-1,codepage=850,umask=0)
none on /mnt/zip type supermount (rw,dev=/dev/sda4,fs=auto,--,iocharset=iso8859-1,codepage=850,umask=0)

thanks
 
Old 11-30-2002, 12:24 PM   #4
ab84h
LQ Newbie
 
Registered: Nov 2002
Posts: 4

Original Poster
Rep: Reputation: 0
I log in as root right now and using KwikDisk to try mounting the windows partition and I got this error:

Called: mount -tntfs /dev/hda1 /mnt/windows -o iocharset=iso8859-1,uid=flatcap,umask=0227,ro,gid=winuser,umask=0
mount: wrong fs type, bad option, bad superblock on /dev/hda1,
or too many mounted file systems

Any idea why this could happen?
 
Old 12-01-2002, 01:15 AM   #5
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
I'd take out those options, try this:

mount -t ntfs /dev/hda1 /mnt/windows

And that's it. Do that in a term and as root.

Cool
 
Old 12-01-2002, 03:05 AM   #6
ab84h
LQ Newbie
 
Registered: Nov 2002
Posts: 4

Original Poster
Rep: Reputation: 0
It works....thank you so much. I can hear my mp3 through X now
Just one more question...is there anyway to call it automatically without typing that command everytime I log in?
The option in the fstab should mount it automatically but it fails. Any idea what's wrong with it?

Thanks again
 
Old 12-01-2002, 01:47 PM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
I don't know what option "winuser" is, and here's my entry although it's for fat32:
/dev/hda1 /mnt/windows vfat codepage=850,iocharset=iso8859-1 0 0

So I am not sure if maybe that winuser is what's going wrong, or maybe you need more umask options, try placing 2 more numbers after umask, so it looks like this:/dev/hda1 /mnt/windows ntfs iocharset=iso8859-1,uid=flatcap,umask=0227,ro,gid=winuser,umask=022 0 0

First things first though, always backup files like this before "Tweaking" them. So in a term:
cp /etc/fstab /etc/fstab.old

That way if something gets jacked up and you can't boot, all you have to do is go into rescue mode and move /etc/fstab.old back to /etc/fstab with:
mv /etc/fstab.old /etc/fstab

Cool
 
  


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 NTFS drives in SuSE Dunkalis Linux - General 3 08-03-2005 05:16 PM
Error mounting a ntfs partition jocast Linux - Software 5 07-21-2005 03:45 AM
Mounting NTFS drives on Fedora nowaydown1 Linux - Newbie 3 04-27-2004 05:25 PM
During mounting WinXP fs - fs type ntfs not supported by kernel error (RedHat 9) 3xcalibur Linux - General 4 06-04-2003 05:57 AM
SuSe 8 makes NTFS mount point, but doesn't create directories, error when mounting... BlackDogg Linux - Distributions 5 08-01-2002 05:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:11 AM.

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