Click to See Complete Forum and Search --> : Attached hard disk not showing in /dev


sminons
10-25-2003, 11:13 AM
I attached an old hard disk with data onto my computer. This hard disk is visible in /proc/ide , but a link is not created in /dev , so I am not able to mount the attached hard disk to my filesystem. Is a link automatically created in /dev on attaching a secondary hard disk?, if not, how to create it. Is there any other way to mount this hard disk in this scenario?

serz
10-25-2003, 01:09 PM
What does dmesg | grep hd show?

sminons
10-25-2003, 01:29 PM
dmesg | grep hd shows,

Kernel command line: BOOT_IMAGE=linux ro root=301 devfs=mount hdb=ide-scsi acpi=off
ide_setup: hdb=ide-scsi
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:pio, hdd:pio
hda: ST340012A, ATA DISK drive
hdb: SAMSUNG SV2042H, ATA DISK drive
hda: host protected area => 1
hda: 78165360 sectors (40021 MB) w/1024KiB Cache, CHS=4865/255/63, UDMA(33)

(SAMSUNG SV2042H is the second hdd I attached )

bwkaz
10-25-2003, 07:05 PM
Originally posted by sminons
Kernel command line: BOOT_IMAGE=linux ro root=301 devfs=mount hdb=ide-scsi acpi=off
ide_setup: hdb=ide-scsi At one point, hdb was apparently a CD-RW drive? It's set up right now to use SCSI emulation.

If you edit your bootloader config, remove the "hdb=ide-scsi" bit from the active kernel, then reboot, that should help.

sminons
10-25-2003, 09:58 PM
Yes!, I removed my CD writer to connect the second hard disk. I edited the bootloader config ( I edited lilo.conf ) to remove the "hdb=ide-scsi". Still it hasn't worked. Did I edit the right config file?.

mdwatts
10-26-2003, 08:02 AM
Originally posted by sminons
I edited the bootloader config ( I edited lilo.conf ) to remove the "hdb=ide-scsi". Still it hasn't worked. Did I edit the right config file?.

Did you run

/sbin/lilo

as root after editing /etc/lilo.conf?

Try that, reboot and then

dmesg | grep hd

again.

sminons
10-26-2003, 09:05 AM
Thanks for the reply. Running /sbin/lilo did it :)

Satanic Atheist
10-26-2003, 11:53 AM
I've had a similar sort of problem in the past, but with K3b...

I have two 30Gb HDDs attached to my machine (both IDE) and three CD-ROM drives (one IDE DVDROM, one IDE CDRW drive and one SCSI CD-ROM).

Now, when I fire up K3b, I get a message saying that because not all the drives are using SCSI emulation, I won't be able to read from some of my drives (and it's right, I can't read from the DVD-ROM). Of course, I can read from the SCSI drive and have more than enough room to create images, but I'd still like to get it working. If I enable hdc=ide-scsi in /etc/lilo.conf, it stops the drive working (as above) which I thought it might do.

Any way to resolve this? This doesn't happen in Knoppix, and I can easily copy from the DVD-ROM to the CDRW drive (Tekram DC3x5U drivers aren't available in Knoppix). So it must be possible somehow...

James

bwkaz
10-26-2003, 06:21 PM
Which distro doesn't it work in?

Are you using K3b to read from the DVD drive in Knoppix too? Maybe it's a limitation of K3b?