LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-12-2006, 10:28 AM   #1
rc_ashish
LQ Newbie
 
Registered: Jan 2006
Posts: 1

Rep: Reputation: 0
Thumbs up mount the windows drives


Hi,

I have installed Linux9 and windows XP. Now I want to mount the windows drives on linux so i can see the windows drives on linux.

So anyone can tell me how i mount the windows on linux.


Thanx in Advance

Ashish
 
Old 01-12-2006, 10:39 AM   #2
Aurin
LQ Newbie
 
Registered: Dec 2005
Distribution: Slackware
Posts: 16

Rep: Reputation: 0
A simple 'man mount' should give you all the information you need. Last time I checked though, NTFS support was pretty flakey, beware.
 
Old 01-12-2006, 10:50 AM   #3
Dorax
LQ Newbie
 
Registered: Oct 2005
Location: Belgium
Distribution: OpenSuse
Posts: 23

Rep: Reputation: 1
/etc/fstab

If you don't want to mount it each time, you are best to alter a line in your /etc/fstab

Mine looks something like this:

bash-3.00# cat /etc/fstab
/dev/hdb1 swap swap defaults 0 0
/dev/hdb2 / ext3 defaults 1 1
/dev/hda1 /mnt/dorax ntfs defaults,umask=002,user 1 0#/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro,user 0 0
/dev/hdc /mnt/cdrom iso9660 noauto,user 0 0
/dev/hdd /mnt/cdrom2 iso9660 noauto,users 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,uses 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
/dev/sda1 /mnt/memstick auto noauto,user,exec 0 0 #HOTPLUG B3Fu.SMyZ+shmuHA


In this case /dev/hda1 is an ntfs partition. My 'old' hd is mounted each time at startup.

Hope that helps you
 
Old 01-12-2006, 10:55 AM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
If you'd like them to be mounted when you boot the machine, then you need to edit /etc/fstab as follows:
Code:
/dev/sda1        /WinXP           ntfs        ro               1   0  <-- for NTFS drives, read-only 
/dev/sda2        /Shared          vfat        users,umask=1000,rw,auto   1   0  <-- for FAT drives, read/write 
NB: You don't add what is in bold above.

You will have to replace the devices in my entry (/dev/sda1 for example) with your devices; and you will have to replace the mount points in my entry (/WinXP for example) with your mount points. You will also need to make these mount points, by issuing as root "mkdir /WinXP" for example, though you can name the mount point whatever you desire.

There is no Linux distribution called "Linux 9" so we don't really know what system you're running. Some of them have GUI (graphical user interface) tools to do this job, others such as Slackware don't. All Linux distros allow you to do work via CLI (command line interface).
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Does FC3 mount Windows Drives the_imax Fedora 6 03-08-2005 05:10 PM
How To Mount The Windows Drives In Linux at Startup KnowledgeSeeker Linux - Software 2 09-24-2004 06:13 PM
Give user permission to mount/use cdrom drives or usb drives zwyrbla Linux - Newbie 2 08-23-2004 04:30 PM
how to mount windows drives on redhat joepesci Linux - Newbie 9 07-19-2004 08:58 PM
How to mount windows drives (NTFS formatted) to linux? djadhav Linux - Software 5 03-28-2004 11:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:31 AM.

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