* Create a mount point for the drive
Code:
sudo mkdir /mnt/sdb1
* open the file /etc/fstab for editing with root permissions
Code:
gksudo gedit /etc/fstab
(or: sudo nano /etc/fstab if you want to edit using nano)
* Add a line for your sdb1. First field is the drive, references by its UUID, second field = mount point, third field is file system, fourth field is options, fifth field is no more used (leave it 0) 6th field specifies checking or not (make it 2 - in second order after the system drives)
Code:
UUID="0953fd04-ca7a-4ec7-bfca-0fd0ace628bb" /mnt/sdb1 ext2 defaults 0 2
Save the file and exit
* perform the mount. There should not be any output from the following command. Otherwise, there is an error.
If no error, the drive is mounted and can be found in /mnt/sdb1.
* By default, only root can write to /mnt/sdb1 (the root partition of the drive. If you want to change that, you can use nautilus with root permissions: "gksudo nautilus". With right-click, properties, you can change permissions of the /mnt/sdb1 if needed. Existing directories will keep their permissions.
ext2, ext3 and ext4 are different versions of the ext filing system of linux. ext4 is the most recent version, which has become the default for the latest Ubuntu.
Bookmarks