1

I booted Ubuntu 12.10 32bit from pendive.

I would like to re-partition my hard drive using gparted, but it requires root privilege* that I could not provide, because there is no password set.

(*) Root privileges are required for running gparted.

What can I do?

4
  • Is this a Live environment?
    – Thomas Ward
    Nov 13, 2012 at 14:43
  • @LordofTime I don't know, but I think no.
    – user65130
    Nov 13, 2012 at 15:03
  • @LordofTime Live session user - this one can I chose if I install something in Ubuntu Software Center
    – user65130
    Nov 13, 2012 at 15:28
  • Are you using the ubuntu@ubuntu user, or are you on some other user?
    – Thomas Ward
    Nov 15, 2012 at 13:39

5 Answers 5

1

How are you running gparted? You can run it by opening a terminal and typing

sudo gparted

this will run it as root/superuser without having to set a root password.

2
  • I get this:admin@ubuntu:~$ sudo gparted [sudo] password for admin:
    – user65130
    Nov 13, 2012 at 15:29
  • admin@ubuntu's not the ubuntu@ubuntu user. the ubuntu@ubuntu user will have sudo. how're you getting to admin@ubuntu?
    – Thomas Ward
    Nov 15, 2012 at 13:37
0

If you have booted from and are using a Live CD or USB there should be no password.

I would suggest the following :

Try using Disc Utility instead of Gparted.

If that fails then you should download the Ubuntu.iso again or perhaps Gparted Live, check the md5sum and create a new bootable CD / USB using Unetbootin maybe, then boot it and try again.

0

What are you trying to do exactly?

You can partition your HDD with the Ubuntu installer in any way that would be in the framework of a new Ubuntu installation e.g. the "something else" option when you're asked whether you want to replace existing OS or install alongside etc.

If you simply want to partition your harddrive for other purposes, Gparted Live might be a better option as it is more flexible.

2
  • 1
    he's in the live environment.
    – Thomas Ward
    Nov 15, 2012 at 13:40
  • Sure and that's why I asked what he wants to do. Is he in the live environment in preparation for a hard install or does he wish to remain live and simply administer his HDD? I made suggestions for both scenarios. Nov 16, 2012 at 7:28
0

If this is a Live environment, then sudo will still work, the ubuntu user on the LiveUSB can use sudo.

The command for gparted (which is already included in the Live environment) is: sudo gparted in terminal, or alt+f2, then gksudo gparted.

-2

you should create a root password if it is a fresh install or have not been created yet. in a terminal -> sudo passwd root -> follow the instructions, define your new password then you can use that. Hope it helps.

1
  • Again, there is no reason to set a root password.
    – psusi
    Nov 15, 2012 at 19:25

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .