LinuxQuestions.org
Visit Jeremy's Blog.
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 07-06-2005, 06:11 AM   #1
dupree
LQ Newbie
 
Registered: Jul 2005
Posts: 7

Rep: Reputation: 0
Hard Disk Detection error


Hi, I am having trouble detecting my 2GB Fujitsu harddrive in Red Hat Linux 9.Kernel version is 2.4.20-8. When I run dmesg | grep hda I get :
Code:
[root@localhost root]# dmesg | grep hda
Kernel command line: initrd=initrd.img hda=ide-scsi root=/dev/hdc2 BOOT_IMAGE=vmlinuz
ide_setup: hda=ide-scsi
    ide0: BM-DMA at 0x2040-0x2047, BIOS settings: hda:DMA, hdb:pio
hda: FUJITSU MPC3043AT, ATA DISK drive
The Hard Drive shows up in the bios and in Redhat's startup where it enumerates it as hda but when I try fdisk -l I get:
Code:
[root@localhost root]# fdisk -l
 
Disk /dev/hdc: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
 
   Device Boot    Start       End    Blocks   Id  System
/dev/hdc1   *         1        13    104391   83  Linux
/dev/hdc2            14      9697  77786730   83  Linux
/dev/hdc3          9698      9729    257040   82  Linux swap
That is just my 80 GB drive which has Redhat installed on it. I want to partition and format the 2GB drive but can't since fdisk nor Redhat says it exists. Any ideas? Thanks.
 
Old 07-06-2005, 06:30 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,736

Rep: Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921
Edit your /etc/grub.conf file and remove hda=ide-scsi then reboot.
 
Old 07-06-2005, 06:40 AM   #3
dupree
LQ Newbie
 
Registered: Jul 2005
Posts: 7

Original Poster
Rep: Reputation: 0
I tried that but to no avail. Here is my new grub.conf file :
Code:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/hdc2
#          initrd /initrd-version.img
#boot=/dev/hdc
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)
	root (hd0,0)
	kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
	initrd /initrd-2.4.20-8.img
Thanks for the idea. What else could it be?
 
Old 07-06-2005, 07:35 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,736

Rep: Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921
Does dmesg | grep hda still show hda=ide-scsi?
 
Old 07-06-2005, 07:38 AM   #5
dupree
LQ Newbie
 
Registered: Jul 2005
Posts: 7

Original Poster
Rep: Reputation: 0
Code:
[root@localhost root]# dmesg | grep hda
Kernel command line: initrd=initrd.img hda=ide-scsi root=/dev/hdc2 BOOT_IMAGE=vmlinuz
ide_setup: hda=ide-scsi
    ide0: BM-DMA at 0x2040-0x2047, BIOS settings: hda:DMA, hdb:pio
hda: FUJITSU MPC3043AT, ATA DISK drive
You have new mail in /var/spool/mail/root
Yes. What do you think is the prob?
 
Old 07-06-2005, 08:18 AM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,736

Rep: Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921
Did you reboot the PC? It might be that your system is not using /etc/grub.conf file.
The actual grub configuration is /boot/grub/menu.lst and Redhat links menu.lst to /etc/grub.conf. Check to make sure /boot/grub/menu.lst is the same.
 
Old 07-06-2005, 08:32 AM   #7
dupree
LQ Newbie
 
Registered: Jul 2005
Posts: 7

Original Poster
Rep: Reputation: 0
Yeah I did restart. I checked and /boot/grub/menu.ls is the same as /etc/grub.conf.
Any ideas? Thanks
 
Old 07-06-2005, 08:16 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,736

Rep: Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921
I do not know where else the command line kernel option can be coming from.
 
  


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
SCSI hard disk detection??? jjonstar Linux - Hardware 2 06-11-2005 02:23 AM
No hard disk found error kerrycorcoran SUSE / openSUSE 6 02-01-2005 11:05 AM
SCSI hard disk detection problem on Mandrake Linux 10.0 ludo980 Linux - Hardware 2 12-22-2004 03:36 AM
Proliant 2500 Disk Drive detection error oldraven Linux - Newbie 1 02-26-2004 03:51 PM
hard disk detection Xing Linux - Hardware 4 09-03-2003 09:44 AM

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

All times are GMT -5. The time now is 12:49 AM.

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