[GLLUG] Re: Installing an additional HDD on Linux

Michael michael at watters.ws
Thu Oct 21 11:30:12 EDT 2004


Frank Louis Tuma writes: 

> I am running a Debian Sarge linux server and have a 120 Gb HDD that I 
> would like to install. I come from the windows realm where you just plug 
> the drive in, windows recognizes the new HDD and create a drive for it. 
> How would I go about configuring Debian to recognize the HDD and make it 
> part of my filesystem?

First you'll have to figure out which device the drive is recognized as.  
Run dmesg and look for the device name. 

Then all you need is to partition and create a file system on it. 

fdisk /dev/hdb 

mkfs -t ext3 /dev/hdb1 

Once you have the file system created you can mount the drive wherever you 
want. 




More information about the linux-user mailing list