Advertisement

hdb missing

Started by June 08, 2003 01:03 AM
2 comments, last by Shannon Barber 21 years, 5 months ago
fdisk -l
quote: Disk /dev/hdd: 180.0 GB, 180045766656 bytes 255 heads, 63 sectors/track, 21889 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hdd1 1 21889 175823361 65 Novell Netware 386 Disk /dev/hda: 41.1 GB, 41110142976 bytes 255 heads, 63 sectors/track, 4998 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1 13 104391 83 Linux /dev/hda2 14 4868 38997787+ 83 Linux /dev/hda3 4869 4998 1044225 82 Linux swap
hdc is the cdrom, and hdb is just missing fdisk /dev/hdb
quote: Unable to open /dev/hdb
Huh... well for S&G I tried mount /dev/hdb1 /mnt/nw6boot no errors! cd /dev/nw6boot ls
quote: autoexec.000 config.000 fdisk.com ibmdos.com NWSERVER.bak autoexec.bat config.sys format.com nwinst.tmp command.com edit.com ibmbio.com nwserver
And it wasn''t kidding, it''s really there. cd /dev ls hd?
quote: hda hdd hdf hdh hdj hdl hdn hdp hdr hdt hdc hde hdg hdi hdk hdm hdo hdq hds
huh, no hdb dmesg | grep ide
quote: BIOS-provided physical RAM map: ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx ide0: BM-DMA at 0xa800-0xa807, BIOS settings: hda:DMA, hdb:DMA ide1: BM-DMA at 0xa808-0xa80f, BIOS settings: hdc:DMA, hdd:DMA ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15 hda: attached ide-disk driver. hdb: attached ide-disk driver. hdd: attached ide-disk driver. ide-floppy driver 0.99.newide ide-floppy driver 0.99.newide EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,2), internal journal EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,1), internal journal ide-floppy driver 0.99.newide hdc: attached ide-cdrom driver.
But it finds it while booting? Can anyone shed some light on how this could possibly happen? And better yet, how do I fix it?
- The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara
If it''s just the /dev/hdb device that''s missing (I didn''t read too carefully ), you can recreate it with mknod: mknod hdb b 3 64. Then make sure to give it the correct permissions.

Advertisement
Some distros ship with a script in /dev thats something like MAKEDEV

./MAKEDEV hdb

and it creates it with the right maj/min numbers and permissions (default ones, anyway. don''t know about "right" permissions)
Thanks guys
- The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara

This topic is closed to new replies.

Advertisement