LinuxQuestions.org
Visit Jeremy's Blog.
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-29-2003, 10:32 PM   #1
drumlinuxuser
LQ Newbie
 
Registered: Oct 2003
Posts: 15

Rep: Reputation: 0
Angry mount two NTFS drives in Redhat 9. One mounts, the other won't ??


hey guys. you all have helped out so much. Hopefully someone can help me here. I'm running Redhat 9 with the latest kernel updates and I'm trying to mount my 2 NTFS drives. Now I'v edited fstab for both. It looks like this:

LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda2 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/hdb1 /mnt/win ntfs auto,ro,umask=002 0 0
/dev/hdc2 /mnt/second ntfs auto,ro,umask=022 0 0

----------------------------------------------------------------------------------------------------------------

sfdisk -l looks like this:

Disk /dev/hdc: 1027 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End #cyls #blocks Id System
/dev/hdc1 0 - 0 0 0 Empty
/dev/hdc2 0+ 1026 1027- 8249346 7 HPFS/NTFS
/dev/hdc3 0 - 0 0 0 Empty
/dev/hdc4 0 - 0 0 0 Empty

Disk /dev/hda: 4998 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End #cyls #blocks Id System
/dev/hda1 * 0+ 12 13- 104391 83 Linux
/dev/hda2 13 207 195 1566337+ 82 Linux swap
/dev/hda3 208 4997 4790 38475675 83 Linux
/dev/hda4 0 - 0 0 0 Empty

Disk /dev/hdb: 1582 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End #cyls #blocks Id System
/dev/hdb1 * 0+ 1580 1581- 12699351 7 HPFS/NTFS
/dev/hdb2 0 - 0 0 0 Empty
/dev/hdb3 0 - 0 0 0 Empty
/dev/hdb4 0 - 0 0 0 Empty

---------------------------------------------------------------------------------------------------------------
Now the problem that I'm having is this. When the pc boots, the HDB1 drive mounts just fine. I can use it and it's great, but the hdc2 will not mount. this is the error when that drive tryies to mount:

[root@linux root]# mount -t ntfs /dev/hdc2 /mnt/second
mount: wrong fs type, bad option, bad superblock on /dev/hdc2,
or too many mounted file systems

------------------------------------------------------------------------------------------------------------------

I can not figure out how to mount this second drive . Is it because it is not on HDC1? If that is the case, how do I get it to HDC1? Any ideas would be GREATLY appreciated. Thanks a lot

Drumlinuxuser
 
Old 11-30-2003, 01:51 PM   #2
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 65
Sorry, I was wondering if you could indulge my paranoia a bit, I've never trusted the output of sfdisk. What's the "dmesg" scan look like on the drive partitions? It should look something like the indented part of this:

Code:
hdc: 160086528 sectors (81964 MB) w/2048KiB Cache, CHS=9964/255/63, UDMA(33)
hde: attached ide-disk driver.
hde: host protected area => 1
hde: 160086528 sectors (81964 MB) w/2048KiB Cache, CHS=158816/16/63, UDMA(100)
hdg: attached ide-disk driver.
hdg: host protected area => 1
hdg: 160086528 sectors (81964 MB) w/2048KiB Cache, CHS=9964/255/63, UDMA(100)
hda: attached ide-cdrom driver.
hda: ATAPI 40X CD-ROM drive, 128kB Cache, UDMA(33)
 hdc: hdc1 hdc2
 hde: hde1 hde2
 hdg: hdg1 hdg2
md: considering hdg2 ...
md:  adding hdg2 ...
md:  adding hde2 ...
Cheers,

Finegan
 
Old 11-30-2003, 09:58 PM   #3
drumlinuxuser
LQ Newbie
 
Registered: Oct 2003
Posts: 15

Original Poster
Rep: Reputation: 0
Finegan,

I hope this is what your looking for ...

hda: Maxtor 6E040L0, ATA DISK drive
hdb: WDC AC313000R, ATA DISK drive
blk: queue c03c5920, I/O limit 4095Mb (mask 0xffffffff)
blk: queue c03c5a64, I/O limit 4095Mb (mask 0xffffffff)
hdc: Maxtor 90845D4, ATA DISK drive
hdd: LITE-ON LTR-12101B, ATAPI CD/DVD-ROM drive
blk: queue c03c5d84, I/O limit 4095Mb (mask 0xffffffff)
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 80293248 sectors (41110 MB) w/2048KiB Cache, CHS=4998/255/63, UDMA(33)
hdb: attached ide-disk driver.
hdb: task_no_data_intr: status=0x51 { DriveReady SeekComplete Error }
hdb: task_no_data_intr: error=0x04 { DriveStatusError }
hdb: host protected area => 1
hdb: 25429824 sectors (13020 MB) w/512KiB Cache, CHS=1582/255/63, UDMA(33)
hdc: attached ide-disk driver.
hdc: host protected area => 1
hdc: 16514064 sectors (8455 MB) w/256KiB Cache, CHS=16383/16/63, UDMA(33)
ide-floppy driver 0.99.newide
Partition check:
hda: hda1 hda2 hda3
hdb: hdb1
hdc: [PTBL] [1027/255/63] hdc2
ide-floppy driver 0.99.newide
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
 
Old 11-30-2003, 11:50 PM   #4
siddiqu
Member
 
Registered: Mar 2001
Location: India
Posts: 332

Rep: Reputation: 30
Hi..

Please post ur fdisk -l /dev/hdc output.

May be the partition u are trying to mount may be an extended partition.

Regards

Siddiqu.T
 
Old 12-01-2003, 12:24 AM   #5
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,292

Rep: Reputation: 65
does the directory /mnt/second exist?
 
Old 12-01-2003, 08:32 PM   #6
drumlinuxuser
LQ Newbie
 
Registered: Oct 2003
Posts: 15

Original Poster
Rep: Reputation: 0
hey guys... I really appreciate all the help you guys give ...... I'm not sure what the deal is with the NTFS part of Linux. It seems that you can't mount 2 drives with NTFS partitions - Maybe?? I don't know ... I used Partition Magic and converted the drive to FAT32 and it now mounts fine... which is better anyways because you can read and write to a fat partition.... I'll mess with the second ntfs problem later I guess... I have on NTFS drive mounted fine... Thanks again ....

Drumlinuxuser
 
  


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
How To Mount NTFS Drives in Linux 9 KnowledgeSeeker Linux - Software 3 09-23-2004 04:37 PM
how to mount ntfs drives in the boot sequence karimd Slackware 6 08-16-2004 10:40 AM
How to permenantly mount NTFS drives in Linux? raid517 Linux - Hardware 1 10-23-2003 12:40 PM
Can't mount ntfs hard drives? justin9 Linux - Newbie 8 07-14-2003 11:02 PM
Compiled RH7.3 to read WinXP NTFS partition, mounts in Console, but can't mount fstab BlackDogg Linux - Newbie 20 08-05-2002 11:15 PM

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

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