LinuxQuestions.org
Visit Jeremy's Blog.
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 09-03-2003, 06:47 AM   #1
chrisrose21044
LQ Newbie
 
Registered: Sep 2003
Location: Maryland
Posts: 19

Rep: Reputation: 0
Unhappy WD Hard Drive, Kudzu, Disk Druid


Hi,

I have a relatively stable RH 7.3. Attempting to install a new Western Digital hard drive. I believe I have the hardware set up correctly. I believe the disk is unformatted and unpartitioned. I would like to set it up so that linux swap is on this disk, and another partition that just holds data.

When I boot linux, it does not see the new hardware. When I run kudzu (no arguments) from the prompt, it also sees no new hardware. Should I assume there is a problem with the hardware? Do I need to partition the drive first in order for kudzu to see it? If so, how would I do that? I can't seem to find disk druid from the prompt (and I'm too much of a newbie to want to use fdisk, even if I could see the disk).

Any help or pointers would be GREATLY appreciated.

Sincerely,
Chris
 
Old 09-03-2003, 07:00 AM   #2
chrisrose21044
LQ Newbie
 
Registered: Sep 2003
Location: Maryland
Posts: 19

Original Poster
Rep: Reputation: 0
As a followup, I see a listing in /etc/sysconfig/hwconf that looks like this;
-
class: HD
bus: IDE
detached: 0
device: hdd
driver: ignore
desc: "WDC WD400BB-00CAA1"
physical: 77545/16/63
logical: 77545/16/63
-
This is clearly the drive in question, I don't know how this entry got here and kudzu apparently never gave the the option to configure this device with Disk Druid. Is there now some way to force disk druid to repartition this device?

THANKSTHANKSTHANKS,
chris
 
Old 09-03-2003, 07:03 AM   #3
chrisrose21044
LQ Newbie
 
Registered: Sep 2003
Location: Maryland
Posts: 19

Original Poster
Rep: Reputation: 0
And as a sidebar question, how do I interpret the numbers in /etc/sysconfig/hwconf? I see physical: 77545/16/63
logical: 77545/16/63 for this drive, but for the two other
(much larger) HDs on the system, I see physical: 232581/16/63
logical: 14593/255/63. Should that worry me?
 
Old 09-03-2003, 07:12 AM   #4
aqoliveira
Member
 
Registered: Dec 2001
Location: Portugal
Distribution: /Red Hat/Fedora/Solaris
Posts: 622

Rep: Reputation: 30
Hi

Have u tried using the cmd fdisk to partition the drive once that has been done you must run mkfs to install a file system type. then use mkswap cmd to creat your swap. Once this has been done mount you r hard disk.

Hope this works for u
cheers
 
Old 09-03-2003, 08:20 AM   #5
BenPope
LQ Newbie
 
Registered: Sep 2003
Location: England
Distribution: Gentoo 1.4
Posts: 11

Rep: Reputation: 0
Right... looks like it's plugged into secondary slave.

Try fdisk /dev/hdd

apparently cfdisk is easier to use, but seriously fdisk is a peice of cake

p will print the partition table

you need to add two primary partitions, hit enter when asked for starting block and +xM when asked for the second block, where is your size in Megabytes. For the second primary partition you can just hit enter twice - it will then fill the disk. I suggest you make the first partition your swap and your second partition your general space.

Once you have the sizes correct, you need to set the types. swap is type 82, and I suggest reiserfs for the other partition, unless you don;t have that installed or have no idea what I'm talking about, in which case I suggest ext2, which is type 83.

No need ofr any active partitions as you will not be using this drive to boot from (I presume)

You then need to write the partition (you can print it first to check it) and reboot.

You can then create filesystems with mkfs.

Once you've done that, it's down to editing fstab to get them set up. mount -a will then mount them.

enjoy...

Ben
 
  


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
Reiser file system / Hard Disk/ Hard Drive Problems Oxyacetylene Linux - Software 4 10-10-2005 02:24 PM
Disk druid not detecting my iomega 80GB external USB drive as a target for install jagadeeshbp Linux - Hardware 3 09-13-2004 06:25 AM
disk druid fail to detect usb hard drive zlizli Linux - Laptop and Netbook 1 02-09-2004 02:14 PM
Disk Druid ? herambshembekar Linux - General 2 03-01-2002 09:17 PM
I don't know how to use disk druid. Nathaniel Ong Linux - Software 1 02-10-2001 03:40 AM

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

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