PDA

View Full Version : [SOLVED] Gparted disallowed!



Hopalong
November 26th, 2009, 10:37 PM
Gparted in 9.10. I have an operational 9.10 going well so far. However it was installed from a download (copied to a CD) and got written into the whole of the largest remaining partition of the hard drive. (My standard system 8.10 is still there.) I would like to try and tidy up these huge partitions with Gparted, which I have installed from the repository. (The hard disk is 320 GB.) However starting Gparted give a note that "The underlying authorisation mechanism (sudo) does not allow you to run this program. Contact the system administrator." That's me! So what do I have to do to allow myself to use my own system?

mhgsys
November 26th, 2009, 10:50 PM
have you tried opening a terminal and typing


gksudo gparted

?

pastalavista
November 26th, 2009, 11:04 PM
You can't make changes to a mounted partition. Right-click the drive and unmount it before you can change anything. No way will you be able to unmount the / directory while it is running. Best bet is to use Gparted from the live CD.

mhgsys
November 26th, 2009, 11:12 PM
@ pastalavista
well,. Please correct me if i'm wrong>

but hopalong could also resize / erase whatever partition which isn't his os that time right?

meaning; he could also use gparted in 8.10 f.e to resize his 9.10 and visa versa using sudo unmount or gkduso gparted to unmount the non-booted partition.




edit; lol,. .. the usernames in this topic so far.

pastalavista
November 26th, 2009, 11:16 PM
have you tried opening a terminal and typing


gksudo gparted

?


well,. Please correct me if i'm wrong>

but hopalong could also resize / erase whatever the partition which isn't his os that time right?

meaning; he could also use gparted in 8.10 f.e to resize his 9.10 and visa versa using sudo unmount or gkduso gparted to unmount.

yes, but if he doesn't have any free space, he'll have to shrink one to expand the other... resizing both of them

mhgsys
November 26th, 2009, 11:18 PM
Ah, did not think of that.

I stand corrected, using live disk would indeed be the best

Hopalong
November 27th, 2009, 09:15 PM
For the record gksudo gparted gets the same message. I'm still trying. (My mother used to say "you're always very trying!")

coffeecat
November 27th, 2009, 09:36 PM
It sounds as though you've lost administrative privileges in 9.10 - there's something wrong with your sudoers file. What happens when you try to open another app for which you need root privileges? Synaptic?

Anyway, as others have said you'll be better of using the live CD - you won't have authorisation problems with that - but you'll still be left with an issue in 9.10.

Hopalong
December 2nd, 2009, 06:24 PM
The same thing. My user name is "not in the sudoers file". Since I am the only user of this machine (and it doesn't stay connected to the net unattended), how do I get all the rights I am entitled to, and whatever others there are?

Whoa! I've just played with Users and Groups and got myself elevated. I can now 'sudo gparted' successfully! Thanks for your patience and advice.

Hopalong
December 2nd, 2009, 06:26 PM
The same thing. My user name is "not in the sudoers file". Since I am the only user of this machine (and it doesn't stay connected to the net unattended), how do I get all the rights I am entitled to, and whatever others there are?:confused:

darkod
December 2nd, 2009, 06:34 PM
Post #5
http://ubuntuforums.org/showthread.php?t=668421

coffeecat
December 2nd, 2009, 06:52 PM
Fix broken sudo:

http://www.psychocats.net/ubuntu/fixsudo