Linux "Unable to read /dev/hdb", my 2nd IDE disk!

Linux "Unable to read /dev/hdb", my 2nd IDE disk!

Post by ASCII of Ameri » Wed, 16 Nov 1994 10:41:11



Hi, I just bought a Western Digital 1G disk, and had it installed as
my second IDE drive.  Unfortunately, though I can format and access
the disk from DOS, I can not do so from Linux.  
When I run "fdisk /dev/hdb", linux complains that
it is "Unable to read /dev/hdb".

I have tried recompiling my kernel, to no avail.
I have tried formatting the drive from DOS, but Linux still can't see
it.

What do I have to do to get Linux to recognize my second drive?

Please help,
Dave

 
 
 

Linux "Unable to read /dev/hdb", my 2nd IDE disk!

Post by Doug Pickerin » Wed, 16 Nov 1994 16:35:21


Dave,

Have you used MAKEDEV yet?

cd /dev
MAKEDEV hdb

(This is from memory)

Doug Pickering

 
 
 

Linux "Unable to read /dev/hdb", my 2nd IDE disk!

Post by Mark Lo » Wed, 16 Nov 1994 23:36:52


<Hi, I just bought a Western Digital 1G disk, and had it installed as
<my second IDE drive.  Unfortunately, though I can format and access
<the disk from DOS, I can not do so from Linux.  
<When I run "fdisk /dev/hdb", linux complains that
<it is "Unable to read /dev/hdb".

Hi.  I take care of the harddisk driver(s) for linux.
I also have a WD31000 (1Gig) in my system which works perfectly,
as either the first, second, or third drive in the system.

What is your first drive?  (output of  hdparm -i /dev/hda)

-ml
--

 
 
 

Linux "Unable to read /dev/hdb", my 2nd IDE disk!

Post by ASCII of Ameri » Thu, 17 Nov 1994 07:42:30


ML>   What is your first drive?  (output of  hdparm -i /dev/hda)

I just found my invoice, and it says

HARD DISK 540MB IDE 12MS
(MAXTOR 7540AV)

Is this OK?

Dave

 
 
 

Linux "Unable to read /dev/hdb", my 2nd IDE disk!

Post by ASCII of Ameri » Thu, 17 Nov 1994 07:30:52


ML> <When I run "fdisk /dev/hdb", linux complains that
ML> <it is "Unable to read /dev/hdb".

ML>What is your first drive?  (output of  hdparm -i /dev/hda)

I could not find the "hdparm" command.  I even did a "find / -name hdparm -print",
to no avail.

My first drive is a 540 MB unknown-to-me installed at Pixel USA where I bought my P90.

Dave

 
 
 

1. Why "fdisk /dev/hdb1" works but not "fdisk /dev/hdb"!?

Hi,
        I am trying to make linux partitions on an empty second 170MB
Hard drive.  The drive has been low-level formatted, with
no partitions, and dos fdisk reports everything correct.  I
boot from slackware diskettes, and boot msg says:

check partitions:
hda:  /dev/hda1
hdb: bad partition table

Of course, "fdisk /dev/hdb" does not work, nor "fdisk /dev/hdb1".
(err msg: Unable to read /dev/hdxx).  Suprisingly, fdisk /dev/hda
also gives the same message.

Now, I go back to dos, create and dos format a 16MB partition on
the second hard drive.  Boot under slackware, and boot msg says:

check partitions:
hda: /dev/hda1
hdb: /dev/hdb1

Now, "fdisk /dev/hdb" still gives "unable to read /dev/hdb" msg,
but "fdisk /dev/hdb1" allows me into fdisk.  Unfortunately, it
gives total garbage when I print out contents of partition table
within fdisk (/dev/hdb11 through /dev/hdb12 are all defined with
physical/logical boundry errors).  But as "fdisk /dev/hdb1"
should not work, as /dev/hdb1 is a partition and not a device,
I am not suprised.  But why does fdisk try to operate on a
partition, but not let me operate on the device /dev/hdb????

Help! At wit's end... Any suggestions appreciated, as I am
getting nowhere.  I just want to create linux partitions
on my second hard drive (and I have no problems creating dos
partitions on that drive, so the drive seems to be recognized
find...).

thanks in advance,
Brad Miller

2. loading modules

3. Linux - "Unable to read /dev/hda" Help, please.

4. Solaris 10 advantages and drawbacks

5. GETSERVBYNAME()????????????????????"""""""""""""

6. Corrupt ext2 Filesystem

7. E250 internal disks: "Sun" disk vs "generic" Seagate disk

8. PCI NIC 3c900B not working with Rhat6.1

9. syslogd: "/" in "/dev//dev/tty"

10. Linux unable to see /dev/hdb (2nd HD)-HELP

11. """"""""My SoundBlast 16 pnp isn't up yet""""""""""""

12. fdisk /dev/sdi; "Unable to open /dev/sdi"

13. Recovery from "mkfs -c /dev/hdb"