O'Reilly logo

Practical Linux by Bill Ball, John Ray, Michael Turner, M. Drew Streib

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding a Hard Drive

Linux comes with several programs that you'll need when adding a hard drive. For configuring, formatting, and mounting storage devices for Linux you can use the fdisk, mke2fs, and mount commands.

Install your drive properly

Before configuring a drive for Linux, follow your computer manufacturer's instructions for properly installing the hardware. Make sure that all cables are correctly connected and that any switch configurations are made to match the drive to your existing system. If you've installed a SCSI drive, make sure that all cables are firmly attached and that the SCSI chain is properly terminated.

Identifying Hard Drives and Devices

The entries in your /dev directory will depend on the type of hard drive you have ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required