-   Linux - Newbie (
-   -   WD Hard Drive, Kudzu, Disk Druid (

chrisrose21044 09-03-2003 06:47 AM

WD Hard Drive, Kudzu, Disk Druid

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.


chrisrose21044 09-03-2003 07:00 AM

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?


chrisrose21044 09-03-2003 07:03 AM

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?

aqoliveira 09-03-2003 07:12 AM


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

BenPope 09-03-2003 08:20 AM

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.



All times are GMT -5. The time now is 07:52 PM.