Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed gparted to use for partitioning my hard drive so ubuntu is my only os but when I tried to run gparted, it told me that i have to be root but i am root as far as i know how do i know for sure i haven't even signed on as guest because i am still setting stuff up most other apps ask for confirmation i type in my password and on i go but gparted doesn't have that prompt how do i become root

share|improve this question
Your subject line has nothing to do with your question. – psusi Dec 31 '12 at 1:38

Press Alt+F2 and type gksudo gparted then it will ask for your password and then it should run as root .

share|improve this answer

If you run gparted in the terminal, you will receive this error message:

Root privileges are required for running gparted.

I'm guessing that is what you are doing, though it is not quite clear from your question.

Either run gparted-pkexec or use the Gparted icon from the Dash, which runs the same command.

share|improve this answer

In newer versions of Ubuntu, the command is:


There's a bug that can happen in newer versions of Ubuntu where the gparted packages seem installed, but aren't. To fix that, you need to remove gparted and reinstall.

share|improve this answer

You should use pkexec gparted. The desktop and/or launcher shortcuts already do this.

share|improve this answer
The shortcuts actually use gparted-pkexec, which is a shell script that then calls pkexec gparted. – muru Oct 15 '14 at 17:13
I know but it falls into "implementation detail". – Erkin Alp Güney Oct 21 '14 at 19:46

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.