Linux: How To Mount A Drive Or Device

How to mount a basic device or drive:

mount [device] [destination path]

For example:

mount /dev/sdb1 /mnt/disk2

Edit your /etc/fstab to make it automount at boot:

/etc/fstab:
[device] [destination path] auto default 0 0

For example:

/dev/sdb1 /mnt/disk2 ext3 defaults 0 0

This entry was posted in Linux. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>