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.
heeh well lets just say your going to have to give more of an explanation/question as to what your referring too....is it another harddrive with a linux partition.? is it a FAT drive? is it an NTFS drive? is it a drive other than what i specified?
Be VERY VERY careful. You can read NTFS but do NOT write to it unless you know for sure it is safe with your distro. You can really hose your NTFS if it is not supported.
My two cents worth, create a fat32 partition and use that to transfer files. Both Linux and XP can read and write to fat32. That is safe.
I t would be nice if you'd tell us what Linux distribution you are using. Not all kernels supports NTFS. The stock kernels that come with RedHat 9, for example, do not support NTFS. You have to build a custom kernel. I can't speak for others, as I'm not familiar with them. Per dalek's post, using fat32 is a better (and safer) way to go as both OSes can read AND write to it safely.
You don't give any details, so for the sake of example, I will assume you have a single partition (making it partition 1) on your second harddrive, which is configured as a slave drive on your first ide channel (making it hdb). So, you are trying to mount /dev/hdb1. You need to create a mountpoint (by making a direcotry) to mount the disk on to. Traditionally, mountpoints for foreign filesystems are put under /mnt. So here is what you need to do as root:
mkdir /mnt/ntfs
mount -t ntfs /dev/hdb1 /mnt/ntfs -o ro
This will mount the NTFS partition read-only. You should see the contents of the drive by doing "ls /mnt/ntfs". If this works and you are happy with it, you can add an entry into /etc/fstab so the partition is mounted at boot time:
/dev/hdb1 /mnt/ntfs ntfs ro,auto 0 0
If you go the fat32 route, use "vfat" instead of "ntfs" for the filesystem type. You can call the mountpoint anything you want (like "/mnt/windows" or "/mnt/fat" or "/mnt/bill-blows" or whatever). You can also omit the "ro" option, as you can mount vfat/fat32 partitions read-write.
Sorry, I just noticed your profile indicates you are using RH 9, I wasn't paying attention. But, per my previous posrt, you can't mount an NTFS partition with RH 9 unless you build a custom kernel. And I get the imrpession you're not ready to give that a try.
ok thanks thats very helpful but unfortunatley you are right the kernel version i am running does not support ntfs. i believe i am running the latest kernel release?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.