LinuxQuestions.org
Review your favorite Linux distribution.
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 08-09-2005, 01:38 AM   #1
J_7D5
LQ Newbie
 
Registered: Aug 2005
Distribution: Gentoo Base System version 1.6.14
Posts: 13

Rep: Reputation: 0
Talking NTFS Mounting problems in KNOPPIX


Yep. I'm having mounting problems with NTFS. I installed Knoppix to a seperate HDD since I liked it so much. Anyways, here's what I get when I try to mount.

root@0[knoppix]# mount -t ntfs /dev/hda /mnt/hda
mount: wrong fs type, bad option, bad superblock on /dev/hda,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

Now, when I was running the Live CD version(and the same disc I used to install Knoppix, mind you) It mounted without a problem. Which rules out tha possibility of it being a kernel problem.

Any suggestions?
 
Old 08-09-2005, 01:51 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
In your mount line, you should have /dev/hdax, where x is the partition number. If there's only one partition on the disk, it should be /dev/hda1. I think that's what the problem is.
 
Old 08-09-2005, 01:55 AM   #3
J_7D5
LQ Newbie
 
Registered: Aug 2005
Distribution: Gentoo Base System version 1.6.14
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Nylex
In your mount line, you should have /dev/hdax, where x is the partition number. If there's only one partition on the disk, it should be /dev/hda1. I think that's what the problem is.
I already tried that... But here's what I get anyway. I wouldn't be getting a valid error message if I was doing it wrong like this...

root@0[knoppix]# mount -t ntfs /dev/hda1 /mnt/hda
mount: /dev/hda1 is not a valid block device
root@0[knoppix]# mount -t ntfs /dev/hda1 /mnt/hda1
mount: mount point /mnt/hda1 does not exist
root@0[knoppix]# mount -t ntfs /dev/hda /mnt/hda1
mount: mount point /mnt/hda1 does not exist
 
Old 08-09-2005, 02:16 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
SATA ???
 
Old 08-09-2005, 08:22 AM   #5
J_7D5
LQ Newbie
 
Registered: Aug 2005
Distribution: Gentoo Base System version 1.6.14
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by syg00
SATA ???
No. Just EIDE. Standard hard drive specs.
 
Old 08-09-2005, 08:57 AM   #6
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
can you show me ls -l /dev/hda*?

and ls -ld /mnt??

and the output of fdisk -l

also what is the output of dmesg|tail? just the bit about the mounting atempt please....
 
Old 08-09-2005, 09:16 AM   #7
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
are you trying to guess a partition number? Are you sure your NTFS partition is on /dev/hda1 ? Where is your NTFS drive, physically? Like "master first cable, partition 1"? Tell us, please.
 
Old 08-09-2005, 04:41 PM   #8
J_7D5
LQ Newbie
 
Registered: Aug 2005
Distribution: Gentoo Base System version 1.6.14
Posts: 13

Original Poster
Rep: Reputation: 0
root@1[~]$ ls -l /dev/hda
brw-rw---- 1 root disk 3, 0 Oct 24 2001 /dev/hda
root@1[~]$ ls -ld /mnt
drwxr-xr-x 9 root root 264 Aug 9 01:24 /mnt
root@1[~]$ fdisk -l
root@1[~]$ dmesg|tail
Losing some ticks... checking if CPU frequency changed.
Losing some ticks... checking if CPU frequency changed.
Losing some ticks... checking if CPU frequency changed.
Losing some ticks... checking if CPU frequency changed
Losing some ticks... checking if CPU frequency changed.
Losing some ticks... checking if CPU frequency changed.
Losing some ticks... checking if CPU frequency changed.
Losing some ticks... checking if CPU frequency changed.
Losing some ticks... checking if CPU frequency changed.
Losing some ticks... checking if CPU frequency changed.

It's Primary Master. First partition... Also no other partitions will load on that disk. It's a Windont XP NTFS partition.

Last edited by J_7D5; 08-09-2005 at 04:43 PM.
 
Old 08-12-2005, 07:03 AM   #9
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
ok you didn't post /dev/hda* see the star!

your fstab is definately wrong. and what does cfdisk look like??
 
Old 08-14-2005, 05:53 PM   #10
J_7D5
LQ Newbie
 
Registered: Aug 2005
Distribution: Gentoo Base System version 1.6.14
Posts: 13

Original Poster
Rep: Reputation: 0
root@0[/]# ls -s /dev/hda*
0 /dev/hda 0 /dev/hda13 0 /dev/hda18 0 /dev/hda22 0 /dev/hda5
0 /dev/hda1 0 /dev/hda14 0 /dev/hda19 0 /dev/hda23 0 /dev/hda6
0 /dev/hda10 0 /dev/hda15 0 /dev/hda2 0 /dev/hda24 0 /dev/hda7
0 /dev/hda11 0 /dev/hda16 0 /dev/hda20 0 /dev/hda3 0 /dev/hda8
0 /dev/hda12 0 /dev/hda17 0 /dev/hda21 0 /dev/hda4 0 /dev/hda9
root@0[/]#
__________________________________________________________

cfdisk 2.12p

Disk Drive: /dev/hda
Size: 40000020480 bytes, 40.0 GB
Heads: 255 Sectors per Track: 63 Cylinders: 4863

Name Flags Part Type FS Type [Label] Size (MB)
-----------------------------------------------------------------------------
hda1 Primary NTFS 39991.32
Pri/Log Free Space 8.23
----------------------------------------------------------------------------------
I went ahead and reformatted it...

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

Device Boot Start End Blocks Id System
/dev/hda1 1 4862 39053983+ 7 HPFS/NTFS


And it seems to have worked... I can now mount. Thanks.

Last edited by J_7D5; 08-14-2005 at 05:57 PM.
 
Old 08-22-2005, 11:27 PM   #11
ginger.fish0
LQ Newbie
 
Registered: Aug 2005
Distribution: Fedora 7
Posts: 23

Rep: Reputation: 15
the error you are getting is because you have not created a folder for you to mount the ntfs partition to

you need to type mkdir /mnt/hda1
 
Old 08-24-2005, 12:43 PM   #12
J_7D5
LQ Newbie
 
Registered: Aug 2005
Distribution: Gentoo Base System version 1.6.14
Posts: 13

Original Poster
Rep: Reputation: 0
ror

ror I tried that, but that didn't work. I think the disk was formatted in such a way that the NTFS drive didn't recognize it. But I reformatted the NTFS partition, and luckily I didn't lose any information, and it worked. The disk is working, so no need to worry. Thanks anyways. ^^
 
  


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
problems mounting ntfs partition wisdom Linux - Software 3 11-11-2005 04:48 AM
NTFS mounting problems Gighen Linux - Newbie 2 01-05-2005 10:31 AM
NTFS mounting problems thorax Linux - General 0 06-09-2004 08:57 AM
NTFS mounting problems! cnwillow Linux - Newbie 1 03-06-2004 09:18 AM
Once agian: Problems with mounting ntfs Wonderer Slackware 13 10-30-2003 07:48 AM

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

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