To view hard disk information, enter the following in the terminal:
sudo fdisk -l
Enter your root password and then your hard disk information will be displayed, in the terminal.
Here is an example of the Output.
Device Boot Start End Blocks Id System
/dev/hda1 * 1 4664 37463548+ 83 Linux
/dev/hda2 4665 4865 1614532+ 5 Extended
/dev/hda5 4665 4865 1614501 82 Linux swap / Solaris |