SUSE / openSUSEThis Forum is for the discussion of Suse 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.
cant mount my 2 ntfs partition.
here are a few outputs to show you the picture:
linux-hsob:~ # mount -a
mount: special device /dev/hda1 does not exist
mount: special device /dev/hda5 does not exist
---------------------------------------------------------------
linux-hsob:~ # fdisk -l
Disk /dev/hda: 82.3 GB, 82348277760 bytes
255 heads, 63 sectors/track, 10011 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 5805 46628631 7 HPFS/NTFS
/dev/hda2 5806 10011 33784695 f W95 Ext'd (LBA)
/dev/hda5 5806 10011 33784663+ 7 HPFS/NTFS
Disk /dev/hdb: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 1 97 779121 82 Linux swap / Solaris
/dev/hdb2 98 2009 15358140 83 Linux
/dev/hdb3 2010 4865 22940820 83 Linux
--------------------------------------------------------------
linux-hsob:~ # cat /proc/partitions
major minor #blocks name
I don't know why the device files for hda1, hda2 and hda5 are not being generated; it's probably some kind of timing issue since /dev/hda is being generated. You can try creating them manually with the mknod command. As root run:
# mknod -m 666 /dev/hda1 b 3 1
# mknod -m 666 /dev/hda2 b 3 2
# mknod -m 666 /dev/hda5 b 3 5
Then try mounting hda1 or hda5. If it works, you will have to run the mknod commands after every reboot. To avoid that problem, you can edit one of your init scripts to run the necessary mknod commands automatically on every boot. You would normally do that by editing /etc/rc.d/rc.local but not all distros have an rc.local.
Besides the possible problem noticed by kilgoretrout it could also happen that you aren't loading the proper NTFS support/module, check the loaded modules with lsmod, though kilgoretrout's solution should work AFAIK
Did you check to see if the ntfs module is loaded? Also, fedora/RH does not have ntfs support built into their kernels by default. RH refuses to include ntfs support because of potential patent issues with MS. There's an rpm package you can get to give you ntfs support, however. That error message is what you usually get if you try to mount an unsupported file system.
what is th correct module to load Raska, and how do I change if needed?
lsmod gives a bunch of lines, one of them is:
ntfs 190356 0
oh.. I am using SUSE's 10.1 linux
i did the 3 mknod like u said:
# mknod -m 666 /dev/hda1 b 3 1.... (same for hda2 and hda5 with 2 and 5 in the minor)
then I did:
# mount -t ntfs /dev/hda1 /windows/C
and got:
mount: /dev/hda1 is not a valid block device
I'm really stumped. Can you pick up hda1 and hda5 with a livecd like knoppix or kanotix? Also, check your bios setup and make sure the drive that corresponds to hda is being properly reported as primary master. If your motherboard has raid, make sure it's disabled as you don't seem to be using it.
the BIOS is ok, and, if u look on the fdisk -l output that I posted in the beginning of the thread u will see that all hda device are there... I will see if I can change the file system on hda to fat32, don't know of a software that can do that, but I will try... I'll keep u all posted
thanks for the help,
let's keep trying, if u have any ideas keep'em comming.
Livecds are frequently used in troubleshooting and rescue as you can access an installed linux distro's filesystem through a livecd. If you can detect and mount the partitions in a livecd, that may indicate some quirk in the suse kernel as the problem.
However, I suspect that your problem is either hardware related, thus the request to check your bios setup, or some problem in linux with the hda partition table or ntfs filesystem integrity. In that case you would probably have trouble from the livcds as well.
/dev# mount /dev/sda2 -t ntfs /media/WIN_XP ____(C: drive)
/dev# mount /dev/sda5 -t ntfs /media/APPs _______(D: drive)
===========================
This is not proper coding, but it works for me! I have not made /etc/fstab entries as I do not think this is the ultimate solution. Comments are welcomed.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.