LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-30-2003, 03:08 PM   #1
Comatose51
Member
 
Registered: Jan 2003
Location: New Haven, CT
Distribution: RedHat 8.0
Posts: 54

Rep: Reputation: 15
Unhappy New Hard Drive so now what???


I just installed a new WD 80 GB

Now what???

I tried:
"fdisk hdc" but it tells me that it can't find it.

Also, for future reference, where's a good place to start on learning how to handle hardware in Linux? In Windows, I'm really good with hardware, drivers, etc. but am completely lost in Linux and was basically the biggest barrier to the migration over.

Running RH 8.0.
 
Old 04-30-2003, 03:20 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
For future reference check either the Hardware section of this forum, or you can also check out the www.tldp.org for more info. It's touch and go depending on what hardware. Some has major support such as scsi drives and raid setups, others is completely non-existent, my scanner for example

Anyway, for HD's...

First, figure out where you plugged it in. Assuming it's Secondary Master, hdc should be correct.

fdisk -l /dev/hdc or fdisk /dev/hdc should pull up SOMETHING...

FYI, cfdisk can sometimes be a bit easier to work with.

Check your BIOS, make sure it's getting recognized there first, then if it is, move onto your dmesg:
#dmesg

If it's in both places, then move onto the fdisk/cfdisk program and start slicing. Add a filesystem:
mke2fs -j /dev/hdc<partition number>

Or whichever filesystem you choose (that's for ext3).

HTH

Cool
 
Old 04-30-2003, 03:36 PM   #3
makai_wi
Member
 
Registered: Nov 2002
Location: Thiensville, WI, USA
Distribution: RedHat Linux 9
Posts: 85

Rep: Reputation: 15
Meh, ignore me...

Last edited by makai_wi; 04-30-2003 at 03:38 PM.
 
Old 04-30-2003, 03:41 PM   #4
Comatose51
Member
 
Registered: Jan 2003
Location: New Haven, CT
Distribution: RedHat 8.0
Posts: 54

Original Poster
Rep: Reputation: 15
Cool! That helped a lot!

I managed to fdisk and then partition it. Now, how do I give it a label so I can access it?
 
Old 04-30-2003, 03:47 PM   #5
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
You don't really need a label.

I would mount it by creating the mount point and then mount it.

mkdir /mnt/newdrive
mount /dev/hd<XX> /mnt/newdrive

You could also add it to fstab.

See the LNAG or Rute guides on disk management.
 
Old 04-30-2003, 06:51 PM   #6
Comatose51
Member
 
Registered: Jan 2003
Location: New Haven, CT
Distribution: RedHat 8.0
Posts: 54

Original Poster
Rep: Reputation: 15
OK here's my progress so far:
1. fdisk /dev/hdc1

Created partition

2. /mke2fs -j /dev/hdc1

Formatted

3. /e2label /dev/hdc1 /storage

Created labbel

4. emacs /etc/fstab

Added new entry to fstab

But now when I type mount /storage it tells me that it can't find mount point /storage

Update: I got it, neverminded. Forgot to mkdir /storage


Thanks for the help and the link

Last edited by Comatose51; 04-30-2003 at 06:57 PM.
 
Old 04-30-2003, 08:18 PM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
You're Welcome

Cool
 
Old 04-30-2003, 09:17 PM   #8
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Here are more! I forgot my Redhat links.

# Redhat links
RedHat Linux Manuals
Maximum RPM
rpmfind
Easier software management: apt4rpm - Red Carpet
RedHat 8.0 Tips & Tricks

# Redhat 8.0 configuration commands
Configure soundcard:
redhat-config-soundcard
Configure X server:
redhat-config-xfree86
Configure network:
redhat-config-network
 
  


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


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