LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   why can't i find my 2nd hard drive which is a slave (https://www.linuxquestions.org/questions/linux-hardware-18/why-can%27t-i-find-my-2nd-hard-drive-which-is-a-slave-204486/)

Reaper69 07-13-2004 09:37 AM

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?

shishimo 07-13-2004 09:49 AM

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.

fluppi 07-13-2004 09:51 AM

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 ?

Reaper69 07-13-2004 10:21 AM

its formated ntfs and i do see those strings shishimo look

hda hdb hdc


what else should i do to make it accessible.

shishimo 07-13-2004 11:33 AM

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?

semajyarg 07-13-2004 03:46 PM

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

Reaper69 07-13-2004 03:47 PM

[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

Reaper69 07-13-2004 05:33 PM

what should i do?

Reaper69 07-13-2004 06:54 PM

does anyone know please i realy need help

fluppi 07-14-2004 03:07 AM

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 !

Reaper69 07-14-2004 03:15 AM

[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

fluppi 07-14-2004 05:13 AM

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...

Reaper69 07-14-2004 12:14 PM

[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 ?

fluppi 07-15-2004 04:14 AM

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).

ajmatson 07-15-2004 12:25 PM

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


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