Friday, July 26, 2013

Tagged under: , , ,

How to mount partitions in Ubuntu

Before using a device in Linux, you must mount it first. This tutorial show you how to mount partitions.

Get root permission
sudo su

Create a folder to mount on
mkdir <somewhere>

Get list of partitions
fdisk -l
Look at Blocks column (disk capacity) to guess the Device (partition name)

Mount partition (Ex: /dev/sda5) on the folder
mount /dev/sda5 <somewhere>

Unmount:
unmount /dev/sda5

For automatically mounting after boot, check this for more:
http://linuxexpresso.wordpress.com/2010/03/14/mount-partitions-in-terminal-fstab/

0 comments:

Post a Comment