LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-07-2003, 09:55 PM   #1
DeleriA
LQ Newbie
 
Registered: Mar 2003
Location: Toronto, ON
Distribution: Redhat 8.0
Posts: 5

Rep: Reputation: 0
Why can I mount one NTFS partition but not the other?


Hi All.

I just installed Redhat 8.0 today and this forum has been great so far.
I've come across the first problem that I can't seem to find an anwser to.

I installed the NTFS rpm from sourceforge. (kernel-ntfs-2.4.18-14.i686.rpm) and can mount one of my NTFS partitions but not the other.

I have three hdd's in my pc. The primary master is a 40GB NTFS drive. I have windows XP installed here. The primary slave is an 8 GB NTFS drive and the secondary slave is 4GB with the default Redhat 8 partitions.

fdisk -l gives me this:

Disk /dev/hdc: 255 heads, 63 sectors, 1027 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hdc1 * 1 1026 8241313+ 42 SFS
/dev/hdc2 1027 1027 8032+ 42 SFS

Disk /dev/hdd: 9 heads, 63 sectors, 14896 cylinders
Units = cylinders of 567 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hdd1 * 1 361 102312 83 Linux
/dev/hdd2 362 12585 3465504 83 Linux
/dev/hdd3 12586 14896 655168+ 82 Linux swap

Disk /dev/hda: 255 heads, 63 sectors, 4865 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 4864 39070048+ 7 HPFS/NTFS


So once I installed the NTFS support I created 2 dir's under /mnt. Windows and Media. I typed: "mount -t ntfs /dev/hdc1 /mnt/media -r" This worked fine and mounted my 8gb drive.

Next I typed: "mount -t ntfs /dev/hda1 /mnt/windows -r".
I get: "mount: wrong fs type, bad option, bad superblock on /dev/hda1, or too many mounted file systems"

Does anyone have any clues as to why it worked for one drive and not the other? Only thing I can think of is hda1 is the XP system partition and the other is just storage. But this shouldn't matter should it?

Thanks in advance for everyones help.

-DeleriA
 
Old 03-07-2003, 10:49 PM   #2
loke137
Member
 
Registered: Feb 2003
Location: Brasil
Distribution: Debian Etch
Posts: 147

Rep: Reputation: 15
It shouldnt matter, but also it has to be reminded NTFS support is only experimental, and is not evern supported directly by a linux kernel. So this might be a bug to report
 
Old 03-07-2003, 10:53 PM   #3
DeleriA
LQ Newbie
 
Registered: Mar 2003
Location: Toronto, ON
Distribution: Redhat 8.0
Posts: 5

Original Poster
Rep: Reputation: 0
hmm.. that's no fun.

I hope it's just something stupid that I'm doing.

But if it is a bug report - at least linux development doesn't take forever like M$.

Any other takers?
 
Old 03-08-2003, 07:33 PM   #4
DeleriA
LQ Newbie
 
Registered: Mar 2003
Location: Toronto, ON
Distribution: Redhat 8.0
Posts: 5

Original Poster
Rep: Reputation: 0
TTT
 
Old 03-09-2003, 04:13 PM   #5
RWild
Member
 
Registered: Nov 2002
Location: Cary, NC
Distribution: Red Hat
Posts: 76

Rep: Reputation: 15
I noticed that you're not using the full mount command suggested on the sourceforge:

mount /dev/hda1 /mnt/windows -t ntfs -r -o umask=0222

I think umask has something to do with file permissions. Maybe that is the problem with the WinXP boot disk with the system files and directories. I have mounted a Win2K boot drive with the full command during a "rescue" mission but have never had occassion to try to mount two nfts drives simultaneously.
 
Old 03-09-2003, 06:08 PM   #6
DeleriA
LQ Newbie
 
Registered: Mar 2003
Location: Toronto, ON
Distribution: Redhat 8.0
Posts: 5

Original Poster
Rep: Reputation: 0
Fixed It.

Thanks everyone for all your help but it turns out it was a problem with the NTFS drive itself.

When I installed Redhat I put Grub on the MBR instead of the linux drive. I used my XP cd and booted to the recovery console, when I tried a "dir" on my c: drive - it said it was corrupted. I ran fixboot and rewrote the MBR for the XP bootloader. I was then able to "dir' the drive.

Then I booted from the RedHat 8.0 CD, ran "linux rescue" and then "/sbin/lilo" to install lilo on hdd1.

I went back into XP, ran bootpart to modify my boot.ini and rebooted into linux with no problems.

Once I was back in Linux - I figured I'd give the NTFS thing another shot. Worked first time - with the command I was using B4. So I added the partition to my fstab - and now I can listen to MP3's.

Woohoo.

Thanks again for the help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
mount ntfs partition alaios Linux - General 2 09-09-2005 11:35 AM
How can I mount a NTFS partition? LegendBreath Fedora 1 06-05-2005 12:02 PM
How do you mount an NTFS partition? karaite SUSE / openSUSE 5 11-01-2004 01:18 PM
cannot mount partition (says it's NTFS but it's not!) d33pdream Linux - General 5 02-22-2003 10:46 PM
Mount an NTFS Partition? oostevo Linux - General 3 11-23-2001 07:17 AM


All times are GMT -5. The time now is 05:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration