LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-27-2005, 03:26 AM   #1
puishor
Member
 
Registered: Jun 2005
Location: Bucharest
Distribution: Debian,Knoppix,Slackware
Posts: 91

Rep: Reputation: 15
my friend's ntfs hdd


HI!

I just added a friends hdd to my system, its a data hdd with ntfs file system on it.
I don't know how to find out to what /dev/hdaX it corresponds.
Bios detects it OK.
If I
Code:
df -ha
I get:
Code:
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda7             1.9G  1.6G  192M  90% /
none                     0     0     0   -  /proc
none                     0     0     0   -  /sys
none                     0     0     0   -  /dev
none                     0     0     0   -  /dev/pts
/dev/hda6              99M   14M   81M  15% /boot
/dev/hda8             4.6G  4.0G  410M  91% /usr
/dev/hda9              22G   14G  6.7G  68% /opt
none                  109M     0  109M   0% /dev/shm
none                     0     0     0   -  /proc/bus/usb
all those hda disks are mine.It don't show me the newly added hdd.
So, question i guess is :
how could i find out what is the corresponding file ( /dev/hdaX ) to my friend's hdd , in order to mount it successfully ?
 
Old 08-27-2005, 03:39 AM   #2
jrtayloriv
Member
 
Registered: Jun 2004
Location: Inland NW, US
Distribution: Ubuntu
Posts: 366
Blog Entries: 1

Rep: Reputation: 44
/dev/hda and /dev/hdb are the master and slave, respectively, on the primary IDE controller. /dev/hdc and /dev/hdd are the master and slave, respectively on the secondary IDE controller.

hope this helps,
jrtayloriv
 
Old 08-27-2005, 03:52 AM   #3
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 51
puishor you need to manually add the partitions you want to /etc/fstab. The hda/hdb/hdc/hdd depends on the where the drive is on IDE as jrtayloriv says; and the number afterwards is the partition number on the drive.

If you have no clue then you can boot from Knoppix and it will detect all the partitions it sees.
 
Old 08-27-2005, 04:38 AM   #4
jrtayloriv
Member
 
Registered: Jun 2004
Location: Inland NW, US
Distribution: Ubuntu
Posts: 366
Blog Entries: 1

Rep: Reputation: 44
Rute Linux Tutorial - 19.7: Automatic FS Mounts w/ fstab

If you don't know where to get started with fstab the above link might be helpful as well as typing in man fstab at the command prompt.

Hope this helps,
jrtayloriv
 
Old 08-27-2005, 08:35 AM   #5
puishor
Member
 
Registered: Jun 2005
Location: Bucharest
Distribution: Debian,Knoppix,Slackware
Posts: 91

Original Poster
Rep: Reputation: 15
[SOLVED]

I've just tried:
Code:
fdisk /dev/hda
then ( if OK ) press letter "p" , to print existing partitions on that drive.
The same with next drive
Code:
fdisk /dev/hdb
etc.
Till I found out that the disk ( with the only one partition ) I need is /dev/hdc1

The /etc/fstab is helpless because i just pluged my friend's hdd only once to copy some data

Thank a lot for help guys anyway
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Reformatting a hdd as NTFS Dark_Oppressor Linux - Software 1 10-16-2005 05:27 PM
problems writing to NTFS-hdd Jeff_Eklund Mandriva 4 05-06-2005 03:40 PM
debian and ntfs external hdd wael_nasreddine Debian 22 03-16-2005 07:22 PM
Dual HDD Interface Problem, Linux on SATA, NTFS Part on IDE HDD LILO Not Loading Blade44 Linux - Hardware 2 02-01-2005 06:56 PM
How do I mount a HDD with a NTFS filesystem? orange400 Linux - General 15 03-04-2003 10:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:25 PM.

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