Formatting second internal hard drive

Henk Koster H.A.J.Koster at xs4all.nl
Wed Apr 12 21:22:24 UTC 2006


On Wed, 12 Apr 2006 21:53:40 +0100, john levin wrote:

> Hi,
> 
> I have a desktop with two large (200 gb) internal scsi hard drives. When 
> I installed Ubuntu Dapper, there didn't seem to be a way of formatting 
> both the drives, so that the home directory would span both of them. 
> Consequently, I used one drive (with LVM) for the filesystem, and left 
> the other free.
> Now how can I use the second drive? The Disks Manager doesn't seem to 
> offer a way to mount it, nor does gParted, and it's not done automatically.
> 
> TIA
> 
> John

Assuming that this 2nd SCSI disk is /dev/sdb:

1. sudo fdisk /dev/sdb and make a partition on it, e.g. /dev/sdb1
2. sudo mkfs -t ext3 /dev/sdb1 to put a file system on it
3. give it as mount point in /etc/fstab a sub-directory of /home, e.g.
   /home/MyDVDs

Done.

(Check man {fdisk,mkfs,fstab} for details.)

Have fun!





More information about the ubuntu-users mailing list