Recognizing a hard drive

Doug wearable at shawcable.com
Mon Jul 14 08:47:51 EDT 2003


Run dmesg to show the boot messages, and look for the
hard drive letter assigned, for example hda, hdb, hdc.
It will usually show the vendor name (toshiba, ibm, etc)
so you can tell which drive is which. It also usually
shows number of cylinders, tracks, and heads.

fdisk or cfdisk can be used to partition the drive.
sfdisk can also be run from scripts to do this.

 > Use mkfs2ext, I think it is, again as root, to build
 > the file systems.

mke2fs /dev/hda3

(change the drive letter and partiton number)

You can change the file system to ext3 after
by using the tune2fs command.

   -- Doug





More information about the Speakup mailing list