Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This 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.


  Search this Thread
Old 05-13-2006, 08:51 AM   #1
Registered: Oct 2002
Location: USA
Distribution: Fedora and Ubuntu
Posts: 137

Rep: Reputation: 15
I want to access windows hard drive on linux

Hello everyone!
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.

thank you
Old 05-13-2006, 09:15 AM   #2
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 418Reputation: 418Reputation: 418Reputation: 418Reputation: 418
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.
Old 05-13-2006, 09:22 AM   #3
LQ Veteran
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2, current, slackware-arm-currnet
Posts: 5,408

Rep: Reputation: 614Reputation: 614Reputation: 614Reputation: 614Reputation: 614Reputation: 614
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.

/dev/hda1 /mnt/win_c vfat umask=0,iocharset=iso8859-15,codepage=850 0 0
/dev/hda5 /mnt/win_d vfat umask=0,iocharset=iso8859-15,codepage=850 0 0
Note the field vfat. This is the file system type. You need to set that for what ever file system you are trying to mount.

As you add a line, no need to boot. Just use a mount command from the command line. If you have things set up correctly, the file system will be mounted, and you can use acces the files immediatley.

Post back if you need more guidance.
Old 05-13-2006, 02:27 PM   #4
Registered: Nov 2005
Distribution: xubuntu, grml
Posts: 451

Rep: Reputation: 37
It's probably already mounted :?
Type mount to see what's mounted.
Old 05-14-2006, 01:42 AM   #5
Registered: Aug 2004
Posts: 210

Rep: Reputation: 31
Hi to all,

Try to use Captive..a great s/w for reading/writing to NTFS partitions..the support for NTFS in Linux kernel is pretty limited..the writes o NTFS are not that gud..

Captive, however, requires at least a 2.6.14 kernel.

For vfat partitions, you can just modify fstab as stated above and mount your windows partition.

Warm regards,
Old 05-14-2006, 11:30 AM   #6
Registered: Apr 2006
Distribution: SLAX,Damn S.L,Suse,Mandrake,Rd HAT62,72,73,90, Mandriva2k6, FEdora, SUNmicrosys.
Posts: 269

Rep: Reputation: 30

My pardon;
How about this :

Seems wonderfull.
Old 05-14-2006, 12:03 PM   #7
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Originally Posted by Bobymc
My pardon;
How about this :

Seems wonderfull.
That's for accessing Linux partitions under Windows and the OP wanted the opposite..
Old 05-15-2006, 06:10 AM   #8
Registered: Apr 2006
Distribution: SLAX,Damn S.L,Suse,Mandrake,Rd HAT62,72,73,90, Mandriva2k6, FEdora, SUNmicrosys.
Posts: 269

Rep: Reputation: 30
Just offering accesories.

I imagine seeing in single drive is easy.
I also want to see linux partition recently but from window LAN.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux can't access my second hard drive Old Bill Linux - Software 1 03-16-2006 08:03 AM
hoe to access second hard drive in linux srnerkar1 Linux - Hardware 1 12-08-2005 05:24 AM
access linux hard drive from windows pcandpc Linux - Newbie 12 05-14-2005 04:41 PM
How do i access my windows Hard drive FireInTheDark Linux - Newbie 11 08-29-2004 03:48 PM
How do i access Windows (NTFS) hard drive with mandrake 9.1 WoodShaver Linux - Software 1 05-20-2004 08:03 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:10 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration