Installing a new hard drive

Karl Hegbloom hegbloom at pdx.edu
Sat Dec 18 15:24:14 UTC 2004


On Sat, 2004-12-18 at 15:14 +0000, Eamonn Sullivan wrote:
> This should be simple, but in all my years of using Linux I've never
> done it. Now that I've mastered rsync for backing up the PCs in my
> house, I decided to add a new SATA 160GB drive to the Ubuntu system to
> store my backups. I've done that, and the drive is visible in the
> device manager, but how do I format it (ext3) and attach it to the
> file system? Was thinking of putting it in /home/backup or /backup.
> Can someone give me a quick pointer to the right commands? 'apropos
> disk' and 'apropos format' return a somewhat overwhelming number of
> entries...

man cfdisk
man fdisk   (prefer cfdisk for its interface)
man mkfs

You must partition and then make file systems on the drive, then add it
to the fstab for mounting.

man fstab
man mount






More information about the ubuntu-users mailing list