Recognizing a hard drive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux