Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
Become root.
Create two directories, preferably under /mnt.
Type mount /dev/hda1 where the first directory is
Type mount /dev/hdb1 where the second directory is
It should be noted that you will only have read access, since NTFS is not well supported under Linux. You can force it to have read/write access, but it trashes data (like your MBR in my case).
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
Didn't say which distro but more than likely ntfs support is not in the kernel. You need to recompile the kernel and add ntfs support. Lots of post here about recompiling kernels.
To check goto /lib/modules/<current running kernel>/kernel/fs/ntfs
Or type the command ' locate ntfs.ko '
Word of warning, Reading ntfs is fine but writing to ntfs from linux can destroy the partition. So it is best to mount as readonly (ro) and not Read Write (rw). If you need to swap data it is best to write it to a fat32 partition since both windows and linux can read and write to both with no issue.
Originally posted by ZeroIdea well i tried as was guided ...but the following error keeps coming up:
[root@localhost ~]# mount -t ntfs /dev/hd1 /mnt/windows
mount: unknown filesystem type 'ntfs'
Isn't "/dev/hd1" a typo?
You may try this:
Code:
for HDX in hda1 hda5 hdb1 ; do
mkdir /mnt/$HDX
echo "/dev/$HDX /mnt/$HDX ntfs auto,user,ro,dmask=0022,fmask=0133,nls=iso8859-1 0 0" >> /etc/fstab
done
If you are unconfortable with the for thing, just replace $HDX with each hdxx and do the mkdir and echo parts. Then run "mount -a". Be careful as you type, specially with ">>" vs ">"
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.