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

  • 2
    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 .


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.


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.


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

  • 2
    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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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