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
Asked
Active
Viewed 4.6k times
2
-
2Your subject line has nothing to do with your question. – psusi Dec 31 '12 at 01:38
4 Answers
4
Press Alt+F2 and type gksudo gparted
then it will ask for your password and then it should run as root .

WindowsEscapist
- 1,483
- 2
- 17
- 42
4
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.

chaskes
- 15,246
3
In newer versions of Ubuntu, the command is:
gparted-pkexec
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.
1
You should use pkexec gparted
. The desktop and/or launcher shortcuts already do this.

Erkin Alp Güney
- 488
- 4
- 15
-
2The shortcuts actually use
gparted-pkexec
, which is a shell script that then callspkexec gparted
. – muru Oct 15 '14 at 17:13 -