Thursday, August 14, 2008

Mounting partitions with the script

Acquiring the script

The script must be downloaded before it can be used. Type the following lines.

cd
wget http://media.ubuntu-nl.org/scripts/diskmounter

The file diskmounter will now be in the current user's home directory.

Using the script

The script is non-interactive, and usage is simple. Type the following line.

sudo bash diskmounter

This will execute the script with administrative rights.

The script will generate some output, regardless of whether it succeeds or not. Read the output as it will indicate errors and things you should read.

Cleaning up

The script is no longer needed, so type the following line to get rid of it.

rm diskmounter

All partitions on the system should now be accessible.

To verify access, open Gnome's file browser and direct it to /media/, which can be found by clicking 'File System' under 'Places', and then double-clicking 'media'. Double-click any partition to be examined. If it contains files, the modifications were successful. If no files are found, read the next section.

If the script worked for you, don't stop reading yet! Some tips exist at the end of this article in the Hints, Tips, and Technical Information section to help make your Ubuntu experience even more enjoyable.

No comments: