LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-17-2003, 06:02 PM   #1
spooge
Member
 
Registered: Nov 2001
Location: n chicago, IL. USA
Distribution: Slackware
Posts: 307

Rep: Reputation: 31
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

Last edited by spooge; 02-17-2003 at 06:43 PM.
 
Old 02-17-2003, 07:02 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
/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
 
Old 02-17-2003, 07:26 PM   #3
spooge
Member
 
Registered: Nov 2001
Location: n chicago, IL. USA
Distribution: Slackware
Posts: 307

Original Poster
Rep: Reputation: 31
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
 
Old 02-17-2003, 07:29 PM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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
 
Old 02-17-2003, 07:53 PM   #5
spooge
Member
 
Registered: Nov 2001
Location: n chicago, IL. USA
Distribution: Slackware
Posts: 307

Original Poster
Rep: Reputation: 31
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: hdeio, hdfio
Feb 17 19:38:00 nemo kernel: ide3: BM-DMA at 0xe808-0xe80f, BIOS settings: hdgio, hdhio
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
 
Old 02-18-2003, 12:50 AM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
But fdisk /dev/hdb returns an error? What's the error it returns?

Cool
 
Old 02-18-2003, 11:50 AM   #7
spooge
Member
 
Registered: Nov 2001
Location: n chicago, IL. USA
Distribution: Slackware
Posts: 307

Original Poster
Rep: Reputation: 31
hdb
"Unable to seek on /dev/hdb


if i do a

fdisk /dev/hdb1

or

fdisk /dev/hdb5

i get the fdisk menu

Last edited by spooge; 02-18-2003 at 11:55 AM.
 
Old 02-18-2003, 11:56 AM   #8
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Quote:
Abit Kd7Raid
Would that drive be in a raid array?
 
Old 02-18-2003, 06:06 PM   #9
spooge
Member
 
Registered: Nov 2001
Location: n chicago, IL. USA
Distribution: Slackware
Posts: 307

Original Poster
Rep: Reputation: 31
No it's not fancy, it's setup as slave, on ide1
 
Old 02-18-2003, 06:25 PM   #10
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

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

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.
 
Old 02-18-2003, 07:08 PM   #11
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Fancy, is RanishPM designed for linux? If so, how would one compile it?

Cool
 
Old 02-18-2003, 07:58 PM   #12
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
It works from a bootable Windows floppy and I think the new release works from the hard drive from a dos window.
 
Old 02-22-2003, 06:11 PM   #13
spooge
Member
 
Registered: Nov 2001
Location: n chicago, IL. USA
Distribution: Slackware
Posts: 307

Original Poster
Rep: Reputation: 31
thanks fancy,

drive is all partition'd !

part is a sweet prog !
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems mounting 2nd hd (hdb1) p3_141597i Linux - Hardware 1 10-02-2004 10:36 AM
Kernel Panic vs hdb1 problems juda Linux - Software 1 09-08-2004 02:23 AM
Slackware 10 doesn't see hdb1 in cfdisk emer_son Slackware - Installation 6 07-25-2004 08:04 PM
maping hdb1 to my server ziggis-soft Linux - Newbie 5 04-01-2004 11:36 AM
Access HDB1 for users Rivitir Slackware 4 11-20-2003 07:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration