LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   hdb1 hdb1 (https://www.linuxquestions.org/questions/linux-hardware-18/hdb1-hdb1-45888/)

spooge 02-17-2003 06:02 PM

hdb1 hdb
 
added 2nd hd( slave) and fdisking it.........

here's what i'm getting

fdisk /dev/hdb nothing.

fdisk /dev/hdb1 i get the fdisk menu, and i can partiition the drive
after partioning, fdisk -l shows partitions as hdb1p1 hdb1p2 etc....

whats the difrence between the 2 ?

thanks

MasterC 02-17-2003 07:02 PM

/devhdb is a drive hdb1 is a partition on that drive. If you are further sub-deviding a partition then it will assign it as p1 and so on.

Is your second hd on the primary channel still? If so, try fdisk -l first to see if it's getting recognized. If not, check your BIOS to see if it's getting recognized, then come back into Linux and run fdisk -l again. If it's there now, you should be able to use fdisk /dev/hdb to edit/create partitions on the new drive.

Cool

spooge 02-17-2003 07:26 PM

thanks master

primary channel ?

it's jumper is set to slave, and on ide1, with master drive hda
bios shows it as primary slave

fdisk -l shows hda info..

hdb
"Unable to seek on /dev/hdb

if i do fdisk -1 /dev/hdb1

i get drive info

MasterC 02-17-2003 07:29 PM

Check your /var/log/messages and dmesg for info on what's wrong with recognizing this disk. If you've got questions, post it up or at least the relevant sections.

Cool

spooge 02-17-2003 07:53 PM

Master

here's a portion of my log, of what i though was relevant....

now i've removed all partitions on hdb1, before this post.

Feb 17 19:38:00 nemo kernel: HPT37X: using 33MHz PCI clock
Feb 17 19:38:00 nemo kernel: ide2: BM-DMA at 0xe800-0xe807, BIOS settings: hde:pio, hdf:pio
Feb 17 19:38:00 nemo kernel: ide3: BM-DMA at 0xe808-0xe80f, BIOS settings: hdg:pio, hdh:pio
Feb 17 19:38:00 nemo kernel: hda: IC35L060AVV207-0, ATA DISK drive
Feb 17 19:38:00 nemo kernel: hdb: IC35L040AVVA07-0, ATA DISK drive
Feb 17 19:38:00 nemo kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Feb 17 19:38:00 nemo kernel: hda: 120103200 sectors (61493 MB) w/1821KiB Cache, CHS=7476/255/63, UDMA(100)
Feb 17 19:38:00 nemo kernel: hdb: 80418240 sectors (41174 MB) w/1863KiB Cache, CHS=5005/255/63, UDMA(100)
Feb 17 19:38:00 nemo rc: Starting pcmcia: succeeded
Feb 17 19:38:00 nemo kernel: ide-floppy driver 0.99.newide
Feb 17 19:38:00 nemo kernel: Partition check:
Feb 17 19:38:00 nemo kernel: hda: hda1 hda2 hda3 hda4 < hda5 >
Feb 17 19:38:00 nemo kernel: hdb: hdb1 hdb2 < hdb5 >

after pasting the above,
i did a fdisk /dev/hdb1 2 3 4.... and then 5, and it starts.

so if i use hdb1 or hdb5 fdisk runs/see's drive

MasterC 02-18-2003 12:50 AM

But fdisk /dev/hdb returns an error? What's the error it returns?

Cool

spooge 02-18-2003 11:50 AM

hdb
"Unable to seek on /dev/hdb


if i do a

fdisk /dev/hdb1

or

fdisk /dev/hdb5

i get the fdisk menu

fancypiper 02-18-2003 11:56 AM

Quote:

Abit Kd7Raid
Would that drive be in a raid array?

spooge 02-18-2003 06:06 PM

No it's not fancy, it's setup as slave, on ide1

fancypiper 02-18-2003 06:25 PM

:confused: I have never known fdisk not to see the whole drive with fdisk /dev/hdb -l. :confused:

Try downloading Ranish Partition Manager and see if you can partition with that.

If that fails, see if you can find the IBM utility to low level format the drive.

MasterC 02-18-2003 07:08 PM

Fancy, is RanishPM designed for linux? If so, how would one compile it?

Cool

fancypiper 02-18-2003 07:58 PM

It works from a bootable Windows floppy and I think the new release works from the hard drive from a dos window.

spooge 02-22-2003 06:11 PM

thanks fancy,

drive is all partition'd !

part is a sweet prog !


All times are GMT -5. The time now is 03:32 AM.