LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-12-2004, 10:41 AM   #1
muah
Member
 
Registered: Aug 2003
Location: Europe
Distribution: Slackware (current)
Posts: 228

Rep: Reputation: 33
Problem with 2nd HDD


Hi,

i want to add an additional hard drive to my file server but i have a few problems I d like u to help me with

I installed the new hard drive into the computer (as secondary master) without problems, BIOS can see it, Red Hat 9.0 can see it during its boot as well.

But the problem is that when i want to use fdisk to remove existing partitions and create new i get following error:

Quote:
[root@Server /]# fdisk /dev/hdc

Unable to open /dev/hdc

1) Any ideas what the problem could be?

There are only two IDE devices in the PC, this one and hdd with RedHat (Primary Master)

2) Is there any command which could be used for displaying HDDs and their partitions Linux can see?

Thx in advance

Muah
 
Old 01-12-2004, 10:45 AM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
type : fdisk -l and show us what ya got there ...

Quote:
...... this one and hdd with RedHat (Primary Master)
are you sure about this ...

naming is as follows :
hda = primary master
hdb = primary slave
hdc = secondary master
hdd = secondary slave
 
Old 01-12-2004, 10:50 AM   #3
muah
Member
 
Registered: Aug 2003
Location: Europe
Distribution: Slackware (current)
Posts: 228

Original Poster
Rep: Reputation: 33
Thx

I m sure about the fact that hdd with linux is primary master and 2nd hdd i want to add is connected as secondary master, no other ide devices.

Quote:
[root@Server /]# fdisk -l

Disk /dev/hda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 14561 116856810 83 Linux
/dev/hda3 14562 14593 257040 82 Linux swap
I dont see the 2nd HDD here...

Last edited by muah; 01-12-2004 at 10:51 AM.
 
Old 01-12-2004, 11:00 AM   #4
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
'dmesg|more', look for errors involving hdc. I saw a hd that was detected by bios, but not by an os. It was installed improperly.
 
Old 01-12-2004, 11:10 AM   #5
muah
Member
 
Registered: Aug 2003
Location: Europe
Distribution: Slackware (current)
Posts: 228

Original Poster
Rep: Reputation: 33
Quote:
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 00:07.1
VP_IDE: chipset revision 16
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt82c686a (rev 22) IDE UDMA66 controller on pci00:07.1
ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hdaMA, hdbio
ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdcMA, hddio
hda: WDC WD1200JB-00FUA0, ATA DISK drive
blk: queue c03be900, I/O limit 4095Mb (mask 0xffffffff)
hdc: WDC WD800JB-00CRA1, ATA DISK drive
blk: queue c03bed60, I/O limit 4095Mb (mask 0xffffffff)
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: host protected area => 1
hda: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=14593/255/63, UDMA(33)
ide-floppy driver 0.99.newide
Partition check:
hda: hda1 hda2 hda3


.....

lot of other stuff

....


ide-floppy driver 0.99.newide
hdc: driver not present
ide-floppy driver 0.99.newide
hdc: driver not present
ide-floppy driver 0.99.newide
hdc: driver not present
ide-floppy driver 0.99.newide
hdc: driver not present
 
Old 01-12-2004, 12:20 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,751

Rep: Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929
Just throwing out some ideas.
Make sure the master/slave jumper is configured correctly.

Was there every a CDROM as hdc? Make sure there isn't a hdc=ide-scsi line the the grub or lilo config file.
 
Old 01-12-2004, 12:46 PM   #7
muah
Member
 
Registered: Aug 2003
Location: Europe
Distribution: Slackware (current)
Posts: 228

Original Poster
Rep: Reputation: 33
Yes, there was CD-ROM connected as secondary master when I installed the system a few months ago, then i removed it bc it wasnt necessary to have it there.


Content of my grub.conf:
---

default=0
timeout=2
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=/ hdc=ide-scsi
initrd /initrd-2.4.20-8.img


---

Do u think that this could cause the problem?
 
Old 01-12-2004, 01:00 PM   #8
muah
Member
 
Registered: Aug 2003
Location: Europe
Distribution: Slackware (current)
Posts: 228

Original Poster
Rep: Reputation: 33
Oh yeah, it helped.
Thanks a lot to all of u.

Best Regards
Muah
 
  


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
Problem with a 2nd hdd Dark_Sniper* Linux - Hardware 10 05-19-2005 08:21 PM
How to format & mount 2nd hdd after FedCor1 has been installed on 1st hdd? clay394 Fedora 1 05-18-2004 01:50 PM
2nd hdd for linux 54az Linux - Newbie 7 02-06-2004 05:12 PM
Viewing 2nd HDD Ian_bUK Linux - Newbie 1 10-30-2002 11:29 AM
2nd HDD TBBA Linux - Newbie 5 05-03-2002 01:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:00 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