Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I find my new hard drive? 1

Status
Not open for further replies.

greenpee

Programmer
Aug 3, 2004
39
US
I put my second hard drive in my linux box. How could I check the size of it and how can I find the disk name? Thanks.
 
It depend on the controller it is connected.
If it is a second drive on the first controller, it is hdb, if the first on the second hdc, if the second on the second hdd.
Code:
fdisk /dev/hdb
would let you view it's size.
Are partitions on the disk?
If not, here you may create them.
Is it formatted?
After partitioning, you format it.
Code:
mkfs.reiserfs
or mkfs.SOMEFS ...
creates the filesystem (format).

Then you need a mount-point, and mount the partitions:
Code:
mount /dev/hdb1 /opt -t reiserfs 
mount /dev/hdb2 /foo/bar -t ext3
If it works, you store the settings in /etc/fstab.

seeking a job as java-programmer in Berlin:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top