Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem finding a new hard disk
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
brownstick
n00b
n00b


Joined: 25 Feb 2003
Posts: 5

PostPosted: Sat Nov 19, 2005 6:17 pm    Post subject: Problem finding a new hard disk Reply with quote

I've added a new hard disk to my machine. On boot it is detected...

Code:

# dmesg | grep hdd
    ide1: BM-DMA at 0xb008-0xb00f, BIOS settings: hdc:DMA, hdd:DMA
hdd: Maxtor 6Y080L0, ATA DISK drive


There is also an entry in the /proc filesystem ...
Code:

# cat /proc/ide/hdd/model
Maxtor 6Y080L0


But it does not exist in the /dev filesystem and so I can't fdisk it...
Code:

# fdisk /dev/hdd

Unable to open /dev/hdd
# ls -l /dev/hdd
ls: /dev/hdd: No such file or directory
#


I'm using a 2.6 kernel. I'm also using udev but I don't know much about it. Has anyone got any idea? :?

Thanks in advance,
Liam
Back to top
View user's profile Send private message
cybermonkey
Apprentice
Apprentice


Joined: 11 Aug 2003
Posts: 194

PostPosted: Sat Nov 19, 2005 9:37 pm    Post subject: Reply with quote

Have you tried booting off the gentoo boot cd and tried to access it via fdisk with that?
Back to top
View user's profile Send private message
syg00
l33t
l33t


Joined: 23 Aug 2004
Posts: 907
Location: Brisbane, AUS

PostPosted: Sat Nov 19, 2005 10:39 pm    Post subject: Reply with quote

Code:
fdisk -l
Back to top
View user's profile Send private message
dwblas
Guru
Guru


Joined: 14 Jul 2003
Posts: 525
Location: Southern California (No jokes please)

PostPosted: Sun Nov 20, 2005 1:29 am    Post subject: Reply with quote

Yes, you mount /dev/hdb1, etc. I don't think linux will recognize it until you partition and format it.
Back to top
View user's profile Send private message
brownstick
n00b
n00b


Joined: 25 Feb 2003
Posts: 5

PostPosted: Sun Nov 20, 2005 10:57 am    Post subject: Reply with quote

Thanks for the suggestions. I've booted using the Gentoo boot cd and hey presto there /dev/hdd was. So, I fdisk'ed it whilst I was there. I've now booted back into my system and there is still no sign of it in the /dev filesystem.

As before, there is an entry in the /proc filesystem.

Also, fdisk -l can't see it either,

Code:

# fdisk -l

Disk /dev/hda: 60.0 GB, 60022480896 bytes
16 heads, 63 sectors/track, 116301 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1          50       25168+  83  Linux
/dev/hda2              51      116301    58590504   8e  Linux LVM
#
Back to top
View user's profile Send private message
brownstick
n00b
n00b


Joined: 25 Feb 2003
Posts: 5

PostPosted: Sun Nov 20, 2005 11:19 am    Post subject: Reply with quote

Err , I've worked out what the problem was :oops:

One of the kernel parameters I was booting with, was "hdd=ide-cd"
Unsurprisingly this seems to have caused some confusion since hdd is now a hard disk, where as it used to be a cdrom.

Thanks to everyone for their help.
Liam
Back to top
View user's profile Send private message
Cintra
Advocate
Advocate


Joined: 03 Apr 2004
Posts: 2111
Location: Norway

PostPosted: Sun Nov 20, 2005 11:29 am    Post subject: Reply with quote

Good one to remember, thanks ;-)
Mvh
_________________
"I am not bound to please thee with my answers" W.S.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum