Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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
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.
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.
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.
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. ^^
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.