Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SATA and IDE harddrive
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
jonakeys
n00b
n00b


Joined: 15 Jan 2005
Posts: 18
Location: Netherlands

PostPosted: Sat Jan 15, 2005 8:17 pm    Post subject: SATA and IDE harddrive Reply with quote

Hi!

I have 2 different harddrives in my computer; one is a SATA and is the disk where I've installed Windows XP and Gentoo Linux on different partitions. I dual boot with GRUB and it works perfect. The other disk is an IDE disk where I have all my music stored on.

In Windows I can see the SATA disk as well as the IDE disk, but in Gentoo I can only see my SATA as /dev/sda. When I do fdisk /dev/hda or fdisk /dev/hdb i get: Unable to open /dev/hda

I have no idea how I can get this work, I hope anyone can help me a little further so that I at least can see the drive.
_________________
Bill Gates (1983) - "Nobody will ever need more than 640 kB RAM."
Bill Gates (2001) - "Windows XP requires 64 MB RAM."
Nobody will ever need Windows XP - logical conclusion!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 55163
Location: 56N 3W

PostPosted: Sat Jan 15, 2005 8:20 pm    Post subject: Reply with quote

jonakeys,

When you made your linux kernel, did you include the bits and pieces to support your IDE hardware and IDE filesystem ?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
jonakeys
n00b
n00b


Joined: 15 Jan 2005
Posts: 18
Location: Netherlands

PostPosted: Sat Jan 15, 2005 10:58 pm    Post subject: Reply with quote

I've checked my kernel configuration and as far as i know is everything needed for IDE enabled.
_________________
Bill Gates (1983) - "Nobody will ever need more than 640 kB RAM."
Bill Gates (2001) - "Windows XP requires 64 MB RAM."
Nobody will ever need Windows XP - logical conclusion!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 55163
Location: 56N 3W

PostPosted: Sat Jan 15, 2005 11:19 pm    Post subject: Reply with quote

jonakeys,

Is your IDE drive /dev/hdc or /dev/hdd ?
Try
Code:
fdisk -l
thats -l for List, lower case L.
If nothing shows up post the IDE part of your kernel config and a piece of lspci showing your IDE chip set.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
jonakeys
n00b
n00b


Joined: 15 Jan 2005
Posts: 18
Location: Netherlands

PostPosted: Sun Jan 16, 2005 5:13 pm    Post subject: Reply with quote

When I enter fdisk -l, I get:

Code:
Disk /dev/sda: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        7649    61440561    7  HPFS/NTFS
/dev/sda2            7650        7654       40162+  83  Linux
/dev/sda3            7655        7717      506047+  82  Linux swap / Solaris
/dev/sda4            7718       14946    58066942+  83  Linux


From lspci I get:
Code:
0000:00:1f.1 IDE interface: Intel Corp. 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02)
0000:00:1f.2 IDE interface: Intel Corp. 82801EB (ICH5) SATA Controller (rev 02)


and from my kernel config:
Code:
#
# Please see Documentation/ide.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_IDE_SATA is not set
# CONFIG_BLK_DEV_HD_IDE is not set
# CONFIG_BLK_DEV_IDEDISK is not set
CONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set
# CONFIG_BLK_DEV_IDESCSI is not set
# CONFIG_IDE_TASK_IOCTL is not set


I think I see the problem already.... No IDE in the kernel...
_________________
Bill Gates (1983) - "Nobody will ever need more than 640 kB RAM."
Bill Gates (2001) - "Windows XP requires 64 MB RAM."
Nobody will ever need Windows XP - logical conclusion!
Back to top
View user's profile Send private message
jonakeys
n00b
n00b


Joined: 15 Jan 2005
Posts: 18
Location: Netherlands

PostPosted: Sun Jan 16, 2005 6:34 pm    Post subject: Reply with quote

I've enabled IDE-disk in the kernel and now I can see my hdb again!

Thanks for your help, I couldnt find it on my own :D
_________________
Bill Gates (1983) - "Nobody will ever need more than 640 kB RAM."
Bill Gates (2001) - "Windows XP requires 64 MB RAM."
Nobody will ever need Windows XP - logical conclusion!
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