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 ...

Get Practical Linux now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.