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.
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.
I have windows XP in one hard drive and Suse Linux on another hard drive. I want to know howto I access the file on the windows hard drive on Suse Linux. I would like it to be automatically mount after reboot.
It's pretty easy to add a Windows drive to your /etc/fstab file. A line like this would do the trick:
/dev/hdXX /windows/mountpoint ntfs ro 1 0
You do need to replace /dev/hdXX with the actual device of your Windows partition and replace /windows/mountpoint with the actualy path you want Windows to be mounted to. Note that this will give you read-only access to the Windows partition. Writing to a NTFS drive is like playing with dynamite. Sooner or later it is going to go seriously wrong. If Linux needs to be able to write to the files, you're much better off setting up a FAT32 partition and sharing between Linux and Windows.
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
If your windoze partitions are fat32, you can mount read and write them. If they are ntfs file system, you can mount and read only the files.
To mount the windoze drive, you need to edit the /etc/fstab file, and add an entry for each drive to mount. You need to make a mount point, use the mkdir command to do this. Once these things are done, on each boot the system should mount the file systems. Hare is a sample of my entries for fat32 file system.