LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 05-21-2003, 06:00 PM   #1
herogar
LQ Newbie
 
Registered: May 2003
Location: Indiana
Distribution: RedHat 8
Posts: 5

Rep: Reputation: 0
Question new Hard drive


I'm sorry, but I can't think how to look this up in a man. If I add a hard drive to my Red Hat 8 system, how do I get it to recognize it? I thought it would show up in Disk Management and all I would have to do is mount it. It isn't there. I can't find it with fdisk either, but my BIOS is detecting it. Is there another tool I need to use? How do I do this?
 
Old 05-21-2003, 06:10 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
You will need to:
1) Partition it
2) Put a file system on it (format it)
3) Add an entry to /etc/fstab
 
Old 05-21-2003, 06:13 PM   #3
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,187

Rep: Reputation: 53
fdisk /dev/hdb or /dev/hdc or /dev/hdd ?
 
Old 05-21-2003, 06:14 PM   #4
herogar
LQ Newbie
 
Registered: May 2003
Location: Indiana
Distribution: RedHat 8
Posts: 5

Original Poster
Rep: Reputation: 0
Sorry - that makes sense, but how in the heck do you partition and format in this OS? I found fdisk, but it seems to want you to refer to a certain drive and I'm thinking the second drive should be hdb, but it just says it can't open it?
 
Old 05-21-2003, 06:24 PM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
To get a list of disks and partitions try:
fdisk -l

Some people find sfdisk easier:
sfdisk -l
 
Old 05-21-2003, 06:25 PM   #6
herogar
LQ Newbie
 
Registered: May 2003
Location: Indiana
Distribution: RedHat 8
Posts: 5

Original Poster
Rep: Reputation: 0
So.. if there isn't any hdb or anything but hda, I have another problem?

(BTW, Thanks)
 
Old 05-21-2003, 06:29 PM   #7
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Possibly - is that what you get?

My suggestion would be to look at the harware setup:
What drives are on what channels?
Are the drives set to "slave" or "master" and "master with slave present"?
 
Old 05-21-2003, 06:39 PM   #8
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,187

Rep: Reputation: 53
hda-primary master
hdb-primary slave
hdc-secondary master
hdd-secondary slave

it's where the drive is hooked up, not how many you have.

for example, for a while i had a single drive hooked up to
a highpoint raid card. it was hde, and the only hard drive
in the machine. i had the cdrom and burner as hda and hdc

Last edited by whansard; 05-21-2003 at 06:42 PM.
 
Old 05-21-2003, 06:47 PM   #9
herogar
LQ Newbie
 
Registered: May 2003
Location: Indiana
Distribution: RedHat 8
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks, everyone for your help. It is secondary master and shows up in the Bios, but if I type fdisk /dev/hdc it just says it cannot open that device. If I do a -l it only lists partitions on hda. Must go now, but thanks again for the effort.
 
Old 05-21-2003, 07:01 PM   #10
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,187

Rep: Reputation: 53
you may have had a cdburner at that location before and
your linux is set to ignore that drive for ide setup.
it would be hdc=ide-scsi in lilo or grub that would be hosing it.
 
Old 05-22-2003, 05:30 PM   #11
herogar
LQ Newbie
 
Registered: May 2003
Location: Indiana
Distribution: RedHat 8
Posts: 5

Original Poster
Rep: Reputation: 0
Lightbulb cool

Thanks a lot for all your help everyone! Yes it was the CD drive thing.
 
Old 05-22-2003, 07:28 PM   #12
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,187

Rep: Reputation: 53
your feedback is appreciated.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Installing grub to external USB hard drive for later use as internal hard drive dhave Linux From Scratch 2 12-10-2005 09:48 AM
Reiser file system / Hard Disk/ Hard Drive Problems Oxyacetylene Linux - Software 4 10-10-2005 03:24 PM
2 hard drive in system mirror 1st hard drive sburns76247 Linux - General 2 12-21-2004 02:47 AM
Grub to access new hard drive and old multi os hard drive ? gedi1 Linux - Hardware 0 06-03-2004 01:01 PM
STUCK--Trying to copy old Hard Drive to new Hard Drive. Please Help tsw Linux - Newbie 8 05-26-2004 03:47 AM

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

All times are GMT -5. The time now is 07:54 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration