LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-13-2007, 12:51 AM   #1
choconlongxu
LQ Newbie
 
Registered: Apr 2007
Posts: 3

Rep: Reputation: 0
How can to see the windows driver from linux in a the same pc?


Hi all,
I have just learned Linux.
I installed centos (linux)in a same the pc which i installed windows that partition is ntfs and other partition is fat32. How can to see 2 drives of windows from linux. can i mount command? How to mount it?
Pls, help me.
p.s :My engish is too bad, try to read, pls
Thanks
------------------------
cho con long xu
 
Old 04-13-2007, 01:13 AM   #2
rocket357
Member
 
Registered: Mar 2007
Location: 127.0.0.1
Distribution: OpenBSD-CURRENT
Posts: 485
Blog Entries: 187

Rep: Reputation: 74
From the mount man page (open a terminal/konsole and run "man mount"...press up and down arrows to read more, and hit q to return to the terminal/konsole):

Code:
The standard form of the mount command is:
mount -t type device directory
If your Windows directories are at /dev/hda2 and /dev/hda5 (examples only...you'll have to figure out which ones they actually are...more on that in a second), then you'd make two directories:

mkdir /mnt/Windows

mkdir /mnt/WindowsShared

Then run (assuming ntfs is your Windows base partition and the fat32 one is a Share partition):

mount -t ntfs /dev/hda2 /mnt/Windows # this might require a kernel module...

mount -t vfat /dev/hda5 /mnt/WindowsShare

Once you do that, you can do "cd /mnt/Windows" and browse through your Windows partition, or "cd /mnt/WindowsShare" and browse through the Windows fat32 partition. I generally prefer to NOT set up user access to my Windows partitions (I routinely work on my computer late at night when I've not had enough sleep, and I've been known to do silly stuff that I really wish I hadn't done), but if you want to access those drives as a user, then check the permissions on those two folders in /mnt. You can also add lines to /etc/fstab to have this done automatically at boot up...check man /etc/fstab for directions.

As for figuring out which partition is which, a bit of naming is in order...Linux refers to IDE drives (the ones with flat ribbon cables, typically) as /dev/hd*#, where * is usually a letter between 'a' and 'd', and # is the partition number on the drive. Since CD/DVD drives use the same bus, you'll have to be careful to select the right one...Your IDE primary master is going to be /dev/hda, Primary Slave /dev/hdb, Secondary Master /dev/hdc, and Secondary Slave /dev/hdd. (Typically...I haven't run into a situation where this didn't hold true, but I could be mistaken). SATA drives use /dev/sd*#, (and so do usb keys). Windows has a "habit" of installing on /dev/hda2 and creating everything else (if you partition your Windows drives) as extended partitions, starting with /dev/hda5.

That should get you started...if you still need help, please follow up and ask again.
 
Old 04-13-2007, 09:09 AM   #3
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,602

Rep: Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084
Moved: This thread is more suitable in Linux - Newbie and has been moved accordingly to help your thread/question get the exposure it deserves.

--jeremy
 
  


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
Linux Sound Card Driver Inferior to Windows Driver? dudeman41465 Linux - Hardware 2 10-04-2006 09:01 AM
lexmark x1185 printer driver from windows to linux Cii Linux - Hardware 2 02-13-2005 09:55 AM
New ATI driver for Linux and Windows Junior41180 Linux - General 15 01-22-2005 08:52 AM
HOW to create a Linux driver disk in Windows DOS? dcolors Linux - Software 3 09-18-2003 01:35 PM
linux driver for windows multimedia keyboard dwagnersix Linux - Hardware 1 07-06-2003 07:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:42 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