LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   i cannot mount a ntfs partition (https://www.linuxquestions.org/questions/debian-26/i-cannot-mount-a-ntfs-partition-186585/)

novel15 05-27-2004 01:16 PM

i cannot mount a ntfs partition
 
Hi

I am a new user of linux debian .I have some problemes und i hope that someone can
help me to resolve this probleme.

well I am trying to mount a NTFS partition but i can't.I became always the following Error.


root # mount -t ntfs /dev/hda1 /mnt/XP

mount: wrong fs type, bad option, bad superblock on /dev/hda1,
or too many mounted file systems

root:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda6 none swap sw 0 0
/dev/hda2 / ext3 defaults,errors=remount-ro 0 1
/dev/hdc /media/cdrom iso9660 ro,user,noauto 0 0
/dev/hdc /cdrom iso9660 ro,user,noauto 0 0
/dev/hda1 /mnt/XP ntfs ro,users,owner,umask=000 0 0


root # fdisk -l

Disk /dev/hda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 1530 12289693+ 7 HPFS/NTFS
/dev/hda2 1531 4018 19984860 83 Linux
/dev/hda3 4019 4863 6787462+ f W95 Ext'd (LBA)
/dev/hda5 4081 4863 6289416 e W95 FAT16 (LBA)
/dev/hda6 4019 4080 497952 82 Linux swap

Partition table entries are not in disk order
root# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda2 19G 1.3G 17G 8% /
tmpfs 248M 0 248M 0% /dev/shm


root# lsmod |grep ntfs
ntfs 79436 0


I don' t know what to do maybe someone can help me ?

Thank you for your interesting .

Zoombie 05-27-2004 03:19 PM

Seems like it should work. Maybe the permissions for /dev/hda1 are messed up.

utanja 05-27-2004 03:30 PM

hello and welcome to the forum...;)
this is my fstab file for debian sid....

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda1 /mnt/hda1 ntfs user,exec,ro 0 0
/dev/hda5 /mnt/hda5 vfat user,exec 0 2
/dev/hda6 /mnt/hda6 vfat user,exec 0 2
/dev/hda9 none swap sw 0 0
/dev/hda7 /boot ext3 defaults 0 2
/dev/hda8 / ext3 defaults,errors=remount-ro 0 1
/dev/hdc /media/cdrom iso9660 ro,user,noauto 0 0
/dev/hdc /media/cdrom0 iso9660 ro,user,noauto 0 0
/dev/hdd /media/cdrom1 iso9660 ro,user,noauto 0 0
/dev/fd0 /media/floppy auto rw,user,noauto 0 0
/dev/hdc /cdrom iso9660 ro,user,noauto 0 0


on my system hda2 is the extended partition for the balance ot the drive so nothing is mounted on it.....

novel15 05-27-2004 05:23 PM

Thank you for your interessting

i think the problem ist not due to the permission messing ,because "mount" has already worked as i crearted for the first time the mount point /mnt/XP.
but now he don't work and I become still the seam ERROR.

utanja 05-27-2004 05:53 PM

Re: i cannot mount a ntfs partition
 
Quote:

Originally posted by novel15
[B]Hi

I am a new user of linux debian .I have some problemes und i hope that someone can
help me to resolve this probleme.

well I am trying to mount a NTFS partition but i can't.I became always the following Error.


root # mount -t ntfs /dev/hda1 /mnt/XP

mount: wrong fs type, bad option, bad superblock on /dev/hda1,
or too many mounted file systems

root:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda6 none swap sw 0 0
/dev/hda2 / ext3 defaults,errors=remount-ro 0 1
/dev/hdc /media/cdrom iso9660 ro,user,noauto 0 0
/dev/hdc /cdrom iso9660 ro,user,noauto 0 0
/dev/hda1 /mnt/XP ntfs ro,users ,owner,umask=000 0 0
also ...is owner necessary.....since owner would also be a user...?

should the part i outline in red by user and not users..?:confused:

novel15 05-27-2004 06:39 PM

Thank you tanya

But i have changed users with user but the ERROR is still exist

utanja 05-27-2004 11:42 PM

Quote:

Originally posted by novel15
Thank you tanya

But i have changed users with user but the ERROR is still exist

change your hda1 line to this...

try this:
# cd /mnt/
mkdir hda1
cd /etc
cp fstab /fstab.bak

now change your hda1 line to

/dev/hda1 /mnt/hda1 ntfs user,exec,ro 0 0
and reboot...

see what happens....we can always change back

oh btw....my name is not tanya.....
it is utanja.....(tonya is also ok.) but not tanya;) ;) ;)

novel15 05-28-2004 03:50 PM

I am sorry Tonya

It s good idee ,but sadly it does 't work.

thanks

utanja 05-28-2004 04:21 PM

Quote:

Originally posted by novel15
I am sorry Tonya

It s good idee ,but sadly it does 't work.

thanks

as i said earlier...

the PC basically can only support one expanded partition.... the rest must be extended partitions located on the expanded partition.....sort of virtual drives....

i believe this is your problem,.......

i access NTFS and VFAT as well as ext3 and ext2 partitions....on debian

tescovee 05-20-2007 01:58 AM

a day late and a dollar short



sudo mount -t ntfs -o umask=0 /dev/hdc1 /media/windows

Junior Hacker 05-21-2007 11:38 PM

I had ntfs-3g installed on my Etch when it was the testing distribution, below is a copy of the /etc/fstab line I used that I found in some tutorial, the nls=utf8 is one I've seen in all fstab lines created by installers of the distributions I've installed that set up the ntfs partition. Do not put the "3g" after "ntfs" if you do not have ntfs-3g installed which gives everybody read/write access to ntfs:
Code:

/dev/sda3      /mnt/data      ntfs-3g umask=0,nls=utf8        0      0
Also, because it reported a bad super block, it may be necessary to re-boot Windows twice to have Windows clear any filesystem errors it is broadcasting.
EDIT: Also, did you create the directory XP with command:
Code:

mkdir /mnt/XP
You did mention you did, and the errors do not mention it is missing.

skimeer 07-14-2007 03:06 AM

hi, i'm having some doubts for mount commnd
what is mean by bad superblock error in mount command?
we can't mount cdr/w without having media in it?

Hoping positive response?

Junior Hacker 07-14-2007 10:31 AM

In the other person's case, sometimes you do the wrong thing when trying to access ntfs partition from Linux, then the Windows ntfs file system has something in the journal that is meant to tell the operating system (Windows), that the file system may be corrupt and should be checked before it can be mounted. So booting up Windows is necessary to have it check the integrity of the file system.
Quote:

we can't mount cdr/w without having media in it?
This is perfectly normal, a CD is like another storage device similar to a hard drive, if it's not there, it can't be accessed/mounted.

jschiwal 07-14-2007 11:09 AM

You might try adding the options: "errors=continue,errors=recover"

Also, check the filesystem itself for errors. That same error message could mean a bad filesystem, or bad mount options.

skimeer 07-15-2007 05:29 AM

reply
 
Quote:

Originally Posted by jschiwal
You might try adding the options: "errors=continue,errors=recover"

Also, check the filesystem itself for errors. That same error message could mean a bad filesystem, or bad mount options.

Thanks for the reply but it can't work Does it need some extra package to mount Ntfs in rhel5

thank's again


All times are GMT -5. The time now is 01:19 AM.