- Connect the target drive to your computer (let's assume it's recognized as /dev/sdb1)
- Reformat it using the ext3 file system (Linux default) by either...
- sudo mkfs.ext3 /dev/sdb1 (lots of options with this tool... read the manpage )
- Using gparted (install with sudo aptitude install gparted), a GUI-based tool
- Create a mount point sudo mkdir /external
- Mount the drive sudo mount /dev/sdb1 /external
- Use the drive!
- (optional) If you want the drive to be recognized in a certain way upon boot, edit the /etc/fstab file to your liking (Ubuntu 7.04 recognizes it anways)
- (optional) To unmount the drive sudo umount /dev/sdb1
- sudo fdisk -l List partition tables for all devices (mounted or not)
- df -h Human-readable output of system disk space and usage
hd* = IDE drive
sd* = SATA drive
Information used from these sources