LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 03-19-2004, 03:52 PM   #1
milesstandish
Member
 
Registered: Sep 2002
Posts: 70

Rep: Reputation: 15
identify hard drive space


this one should be pretty easy. i just installed a new hard drive on rh9 and want to make sure i can use it. i know the original works, but how do i see the new one? and... i could also stand to know how to partition it since the OS is already installed on the other. thank you for your support.
 
Old 03-19-2004, 04:23 PM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
how is the drive connected..i.e. primary slave, secondary master..etc. i ask because it will make a difference w/the drive letter. you should be able to

cfdisk /dev/hdx (where x is the drive letter of the new drive)

for reference the letters should follow

primary master = hda
primary slave = hdb
secondary master = hdc
secondary slave = hdd

once you format the drive w/a file system, you'll need to create a mount point

cd /mnt
mkdir hdx (where x is the drive letter of the new drive)

so now you should have a /mnt/hdx directory.

also make an entry in fstab to mount the drive at boot.
good luck.
 
Old 03-19-2004, 05:16 PM   #3
milesstandish
Member
 
Registered: Sep 2002
Posts: 70

Original Poster
Rep: Reputation: 15
i put the pin in to be the slave, the first drive has no pin at all. so i'm hoping it will show as the primary slave
 
Old 03-19-2004, 05:22 PM   #4
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
that should make it /dev/hdb, reference my earlier post.
good luck.
 
Old 03-19-2004, 05:33 PM   #5
milesstandish
Member
 
Registered: Sep 2002
Posts: 70

Original Poster
Rep: Reputation: 15
cfdisk /dev/hdb gives me "command not found"
fdisk /dev/hdb gives me "Unable to open /dev/hdb"
i was able to make directory for hdb in /mtn, and it shows the cdrom and now hdb, but how do i know its actually the new hard drive?
 
Old 03-19-2004, 05:58 PM   #6
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
is the drive recognized in your bios? it may be the jumper settings, it may be that you first have to get the drive recognized in bios.
 
Old 03-19-2004, 06:12 PM   #7
Pwnz3r
Member
 
Registered: Jan 2004
Location: Lancaster, OH
Distribution: Gentoo
Posts: 393

Rep: Reputation: 30
Yeah, and after that is the partitioning and mounting. Just check the list of devices that your BIOS [ushould[/u] give you at startup, or enter the BIOS setup to view them if it doesn't show anything.
 
  


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
40 Gb hard drive--How much space for XP? oomfoofoo Linux - Laptop and Netbook 6 08-10-2005 01:59 PM
out of Hard drive space it-s Linux - General 4 06-28-2005 03:03 PM
Available hard drive space totalrockage Linux - Newbie 3 04-08-2005 06:53 PM
Hard Drive space doralsoral Linux - Software 1 11-08-2003 04:19 PM
Hard Drive Space Odd_Bloke Linux - Newbie 4 09-13-2003 08:44 AM

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

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