Run Disk Utility wi Sudo enabled

Asked by budtuba

I am a fairly new user of Ubuntu and need some help.

When I run Disk Utility having installed several old IDE drives, I would like to mount some of them using the GUI command, but I get an error message is detailed:

Error mounting: mount exited with exit code 1: helper failed with:
mount: only root can mount /dev/sdb2 on /media/autosave

This utility is very useful because of the GUI display and sidetracks my short term memory for commands and device addressing when using Terminal.

How can I establish root or sudo before running Disk Utility?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu gnome-disk-utility Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Run it using gksudo, you can edit the launcher so that it is prefixed with the command.

E.g:

gksudo diskutility

Obviosly change 'diskutility' for whatever the command actually is. You will find the launchers in /usr/share/applications

Just edit the file using:

gksudo gedit

Then gksudo will pop up when you click the icon in Dash and run as root.

Can you help with this problem?

Provide an answer of your own, or ask budtuba for more information if necessary.

To post a message you must log in.