ubuntu 自动挂载windows磁盘文件

来源:互联网 发布:苹果手机屏幕修复软件 编辑:程序博客网 时间:2024/06/05 00:53

How To Auto-mount Your NTFS Partition In Ubuntu

ntfs-logoIf you are dualbooting Windows and Ubuntu on your computer, you will know that you can easily read and write to your NTFS partition from your Ubuntu desktop. One thing though, your Ubuntu does not automount the NTFS partition by default. Everytime you need to access the NTFS partition, you have to first go to your Nautilus and click on the NTFS drive (and enter your password) to mount it before you can access it.

A good way to workaround this is to make your Ubuntu automount your NTFS partition upon booting up. While this can be easily fixed by changing the fstab file, it involves hitting the terminal and edit the root file, which maybe a big turn off for newbies and it could possibly crash your system if it is not handled properly.

To fix this issue the simpler way, we can install the application PySDM and access the storage device manager with a simple to use and user-friendly interface.

PySDM is a Storage Device Manager that allows full customization of hard disk mountpoints without manually access to fstab. It also allows the creation of udev rules for dynamic configuration of storage devices

Installation

The package pysdm is found in the Ubuntu repository. You can easily install it via the Synaptic Package Manager (System -> Administration -> Synaptic package Manager). Alternatively, for those who prefer the apt-get way, here’s the command:

sudo apt-get install pysdm

Better still, click this link to install pysdm in your Ubuntu system.

Usage

Once installed, go to System -> Administration -> Storage Device Manager.

You will find your all your partitions listed on the left pane of the window.

pysdm main window

The partitions are labelled in the sda1, sda2, sda3, etc format. To identify which entry is your NTFS partition, highlight each entry and check the Type field on the right pane. This will tell you the filesystem of that partition.

pysdm identify filesystem

Once you have located your NTFS partition, click on the Assistant button.

pysdm assistant

Check the box The File system is mounted at boot time.

Uncheck the box Mount file system in read only mode.

pysdm options

Click OK to close the Assistant window, follow by Apply to save the changes. Restart your computer, your NTFS partition should automount by itself upon booting up.