LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 02-24-2006, 06:41 AM   #1
vkmgeek
Member
 
Registered: Feb 2006
Location: Ahmedabad
Distribution: rhel5
Posts: 185
Blog Entries: 2

Rep: Reputation: 31
which file in /dev is my windows drive


hi
I m using dual OS in my system.
I want to mount windows directory in linux.
I know mount command is there.
But i don't know which file should be given as input?
I mean how would I know /dev/hda1 or (/dev/and which file) indicates C drive?
 
Old 02-24-2006, 06:52 AM   #2
TB2
LQ Newbie
 
Registered: Aug 2004
Posts: 6

Rep: Reputation: 0
depending on what harddisk you installed your Windows:
Is it an IDE harddisk on IDE 1 Master it could be "/dev/hda1"
Is it an IDE harddisk on IDE 1 Slave it could be "dev/hdb1"
Is it a SATA harddisk it could be "/dev/sda1" or "/dev/sdb1"

Just try, and you will see what works, and what doesn't...
 
Old 02-24-2006, 06:53 AM   #3
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
login as root (with environment)
Code:
su -
run:
Code:
fdisk -l
that'll list your partitions, from there you can work out which it is by filesystem type and size.

If you get errors try
Code:
fdisk -l /dev/hda
or /dev/hdb etc.

that's for IDE, for SATA replace hd with sd
 
  


Reply


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
USB drive... /dev/sda1 doesn't show unless I try mounting /dev/sda as vfat finite Linux - Hardware 8 03-10-2009 12:52 AM
moving bootable drive from /dev/hde to /dev/hda chromedog Red Hat 1 02-08-2006 04:31 AM
Cannot Delete files on Linux file share drive with Windows tendonut Linux - Networking 4 01-23-2006 11:43 AM
I cannot access EITHER CD drive! And there's no /dev/hdc or /dev/hdd or /dev/cdrom! Dmalic Linux - Hardware 13 11-18-2005 07:11 PM
where did my SATA drive go? not /dev/hde or /dev/sda edman007 Linux - Hardware 1 01-16-2005 10:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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