LinuxQuestions.org
Visit the LQ Articles and Editorials section
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
 
LinkBack Search this Thread
Old 07-13-2004, 09:37 AM   #1
Reaper69
LQ Newbie
 
Registered: Jul 2004
Posts: 17

Rep: Reputation: 0
Question why can't i find my 2nd hard drive which is a slave


hey i just recently went to lunix an di got
fedora 2 and i have 2 hard drives one is for just hacing liek music and program ssource i have and i am trying to find my hd in linux but i can't could anyone help me please?
 
Old 07-13-2004, 09:49 AM   #2
shishimo
Member
 
Registered: Jun 2003
Distribution: Fedora Core 3, so tasty
Posts: 62

Rep: Reputation: 15
ok, first, check to see if your drives are all showing up linux. go to a console and type

Code:
cd /proc/ide
you should see two text strings. one will say hda and the other will say hdb, hdc, or less likely, hdd. if you have two entries like this, then great. that means that linux at least sees the hardware. if this works, great, and then we can edit some files and make the hard drive accessible. the proc dir is a handy tool for hardware monitoring, and its not really data anywhere on your hard drive in the same way that your mp3s and other stuff is.

if you dont see those entries, there might be a hardware issue or something a bit more complicated with your system. should still be fixable tho.
 
Old 07-13-2004, 09:51 AM   #3
fluppi
Member
 
Registered: Oct 2003
Location: Switzerland (Europe)
Distribution: OpenSuSE, RedHat, Knoppix, IRIX + MacOSX
Posts: 198

Rep: Reputation: 30
Is it P-ATA(IDE), S-ATA or SCSI ?
Is it formated in NTFS, ext3, ms-dos, ... ?
What says "df -h" , or as root "fdisk -l /dev/hdb" if it is a IDE ?
 
Old 07-13-2004, 10:21 AM   #4
Reaper69
LQ Newbie
 
Registered: Jul 2004
Posts: 17

Original Poster
Rep: Reputation: 0
its formated ntfs and i do see those strings shishimo look

hda hdb hdc


what else should i do to make it accessible.
 
Old 07-13-2004, 11:33 AM   #5
shishimo
Member
 
Registered: Jun 2003
Distribution: Fedora Core 3, so tasty
Posts: 62

Rep: Reputation: 15
ok, good. now go run the following commands:
Code:
cd /etc/
more fstab
now post the contents of the second command. this is the file where the system checks where it should put each drive in the filesystem. we can check this file and see where the system thinks things are, or if it decided to put them anywhere in the first place.

also, do you have a cd drive installed as well? i see three hd's there and we can eliminate hda, since that is the one you boot off of. is the 2nd hd connected to the same ide channel as the first one, or is the cd connected to that channel?
 
Old 07-13-2004, 03:46 PM   #6
semajyarg
LQ Newbie
 
Registered: Mar 2004
Posts: 1

Rep: Reputation: 0
I show
Disk /dev/sda: 82.3 GB, 82348278272 bytes
255 heads, 63 sectors/track, 10011 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 10011 80413326 c Win95 FAT32 (LBA)
when I evecute fdisk -l;
the drive does not show when in /etc/fstab nor in the user mount tool. Do I have to put an entry in /etc/fstab to get it to show in the mount tool
 
Old 07-13-2004, 03:47 PM   #7
Reaper69
LQ Newbie
 
Registered: Jul 2004
Posts: 17

Original Poster
Rep: Reputation: 0
[reaper@sbc reaper]$ cd /etc/
[reaper@sbc etc]$ more fstab
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/hda3 swap swap defaults 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0
[reaper@sbc etc]$




thats all and yes i have 4 ide connection sin tottal cd rom burning drive 2 hds and tahst all
 
Old 07-13-2004, 05:33 PM   #8
Reaper69
LQ Newbie
 
Registered: Jul 2004
Posts: 17

Original Poster
Rep: Reputation: 0
what should i do?
 
Old 07-13-2004, 06:54 PM   #9
Reaper69
LQ Newbie
 
Registered: Jul 2004
Posts: 17

Original Poster
Rep: Reputation: 0
does anyone know please i realy need help
 
Old 07-14-2004, 03:07 AM   #10
fluppi
Member
 
Registered: Oct 2003
Location: Switzerland (Europe)
Distribution: OpenSuSE, RedHat, Knoppix, IRIX + MacOSX
Posts: 198

Rep: Reputation: 30
It's still to few infos, but at least we know it's IDE/P-ATA with ext3 and ntfs somewere.

Please, get root and type and post the output of:
fdisk -l /dev/hda
fdisk -l /dev/hdb
fdisk -l /dev/hdc
fdisk -l /dev/hdd

But be warned: You can read NTFS, but DO NOT try to write on it (or you risk a file corruption) !

BTW, don't push!
If nobody answers it's maybe a too dumb question, they need time to try it at home or just nobody knows it !
 
Old 07-14-2004, 03:15 AM   #11
Reaper69
LQ Newbie
 
Registered: Jul 2004
Posts: 17

Original Poster
Rep: Reputation: 0
[root@localhost root]# fdisk -l /dev/hda

Disk /dev/hda: 30.7 GB, 30750031872 bytes
16 heads, 63 sectors/track, 59582 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 203 102280+ 83 Linux
/dev/hda2 204 57502 28878696 83 Linux
/dev/hda3 57503 59582 1048320 82 Linux swap
[root@localhost root]# fdisk -l /dev/hdb

Disk /dev/hdb: 40.0 GB, 40000000000 bytes
255 heads, 63 sectors/track, 4863 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 4862 39053983+ 7 HPFS/NTFS
[root@localhost root]# fdisk -l /dev/hdc
[root@localhost root]# fdisk -l /dev/hdd


kk there and sorry for asking so much its cuz i got all my stuff on that 2nd hd and i can't get it to work and im so new to linux i just felt like i wanted to try som,ething new instead of windows lol so far seems nice but ya thansk for helping me
 
Old 07-14-2004, 05:13 AM   #12
fluppi
Member
 
Registered: Oct 2003
Location: Switzerland (Europe)
Distribution: OpenSuSE, RedHat, Knoppix, IRIX + MacOSX
Posts: 198

Rep: Reputation: 30
Good, there it is !
Now make as root a mountpoint like "mkdir /mnt/win"
and then mount it there "mount /dev/hdb1 /mnt/win -t ntfs"

But I'm not sure if your kernel can handle this, I mean if NTFS is supported...
 
Old 07-14-2004, 12:14 PM   #13
Reaper69
LQ Newbie
 
Registered: Jul 2004
Posts: 17

Original Poster
Rep: Reputation: 0
[root@localhost root]# mkdir /mnt/win
[root@localhost root]# mount /dev/hdb1 /mnt/win -t ntfs
mount: fs type ntfs not supported by kernel



does that mean its not if not then what else can i do is there anything i can use to accses it ?
 
Old 07-15-2004, 04:14 AM   #14
fluppi
Member
 
Registered: Oct 2003
Location: Switzerland (Europe)
Distribution: OpenSuSE, RedHat, Knoppix, IRIX + MacOSX
Posts: 198

Rep: Reputation: 30
Uhh, that is bad.
There is no Windows on the PC, so why do you keep NTFS ? (Don't forget to make a backup !)

Or you have to compile the missing Kernelmodule (difficult !)
(Or use another Distro)

I would drop NTFS, a Filesystem without able to write is useless for storage (under Linux).
 
Old 07-15-2004, 12:25 PM   #15
ajmatson
LQ Newbie
 
Registered: Jun 2004
Location: AZ
Distribution: MEPIS 2003.10.2
Posts: 14

Rep: Reputation: 0
Try this

Quote:
Originally posted by Reaper69
[root@localhost root]# mkdir /mnt/win
[root@localhost root]# mount /dev/hdb1 /mnt/win -t ntfs
mount: fs type ntfs not supported by kernel



does that mean its not if not then what else can i do is there anything i can use to accses it ?
Reaper try downloading MEPIS 2003.10.2 version. It will allow you to mount NTFS without code (automatically) and read from it. Like said before though DO NOT WRITE TO IT. if you want to write to it format it FAT32 (after backing it up).

In MEPIS click the icon mount drives and you will see it and be able to read it easly. Try it out
http://www.mepis.org
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slave Hard Drive dudeman41465 Linux - Hardware 12 06-28-2005 06:19 AM
2nd hard Drive grabro Linux - Hardware 1 02-05-2005 05:49 AM
3rd Hard drive as slave to CDRW?? rberry88 Linux - General 2 12-07-2003 12:00 PM
2nd hard drive jarrodatt Linux - Hardware 1 11-12-2002 02:31 AM
installing Linux on slave hard drive Creightin Linux - Software 2 03-12-2001 09:59 AM


All times are GMT -5. The time now is 01:56 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration