View previous topic :: View next topic |
Author |
Message |
brownstick n00b
Joined: 25 Feb 2003 Posts: 5
|
Posted: Sat Nov 19, 2005 6:17 pm Post subject: Problem finding a new hard disk |
|
|
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 |
|
|
cybermonkey Apprentice
Joined: 11 Aug 2003 Posts: 194
|
Posted: Sat Nov 19, 2005 9:37 pm Post subject: |
|
|
Have you tried booting off the gentoo boot cd and tried to access it via fdisk with that? |
|
Back to top |
|
|
syg00 l33t
Joined: 23 Aug 2004 Posts: 907 Location: Brisbane, AUS
|
Posted: Sat Nov 19, 2005 10:39 pm Post subject: |
|
|
|
|
Back to top |
|
|
dwblas Guru
Joined: 14 Jul 2003 Posts: 525 Location: Southern California (No jokes please)
|
Posted: Sun Nov 20, 2005 1:29 am Post subject: |
|
|
Yes, you mount /dev/hdb1, etc. I don't think linux will recognize it until you partition and format it. |
|
Back to top |
|
|
brownstick n00b
Joined: 25 Feb 2003 Posts: 5
|
Posted: Sun Nov 20, 2005 10:57 am Post subject: |
|
|
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 |
|
|
brownstick n00b
Joined: 25 Feb 2003 Posts: 5
|
Posted: Sun Nov 20, 2005 11:19 am Post subject: |
|
|
Err , I've worked out what the problem was
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 |
|
|
Cintra Advocate
Joined: 03 Apr 2004 Posts: 2111 Location: Norway
|
Posted: Sun Nov 20, 2005 11:29 am Post subject: |
|
|
Good one to remember, thanks
Mvh _________________ "I am not bound to please thee with my answers" W.S. |
|
Back to top |
|
|
|