gparted not working

Questions about applications and software
Forum rules
Before you post please read how to get help
Sardior

gparted not working

Post by Sardior » Fri Jan 18, 2019 1:51 pm

Howdy, This has never happened to me before, but I cannot get gparted to work. When I boot from a usb drive installation disk it works fine. When I try to run the program when I've booted to my system disk I get the usual administrators password requester, then nothing...

using the command:

Code: Select all

inxi -Fxz
Result:

Code: Select all

System:    Host: Wings-of-Sardior Kernel: 4.15.0-43-generic x86_64
           bits: 64 gcc: 7.3.0
           Desktop: Cinnamon 3.8.9 (Gtk 3.22.30-1ubuntu1)
           Distro: Linux Mint 19 Tara
Machine:   Device: portable System: Dell product: Latitude E4300 serial: N/A
           Mobo: Dell model: 0D201R serial: N/A
           BIOS: Dell v: A26 date: 06/04/2013
Battery    BAT0: charge: 62.7 Wh 120.5% condition: 52.0/62.7 Wh (83%)
           model: Samsung SDI DELL J163809 status: Full
CPU:       Dual core Intel Core2 Duo P9400 (-MCP-) 
           arch: Penryn rev.10 cache: 6144 KB
           flags: (lm nx sse sse2 sse3 sse4_1 ssse3 vmx) bmips: 9576
           clock speeds: max: 2401 MHz 1: 2394 MHz 2: 2394 MHz
Graphics:  Card: Intel Mobile 4 Series Integrated Graphics Controller
           bus-ID: 00:02.0
           Display Server: x11 (X.Org 1.19.6 )
           drivers: modesetting (unloaded: fbdev,vesa)
           Resolution: 1280x800@59.99hz
           OpenGL: renderer: Mesa DRI Mobile Intel GM45 Express
           version: 2.1 Mesa 18.0.5 Direct Render: Yes
Audio:     Card Intel 82801I (ICH9 Family) HD Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture v: k4.15.0-43-generic
Network:   Card-1: Intel 82567LM Gigabit Network Connection
           driver: e1000e v: 3.2.6-k port: efe0 bus-ID: 00:19.0
           IF: enp0s25 state: down mac: <filter>
           Card-2: Broadcom Limited BCM4322 802.11a/b/g/n Wireless LAN Controller
           driver: wl bus-ID: 0c:00.0
           IF: wlp12s0 state: up mac: <filter>
Drives:    HDD Total Size: 656.2GB (33.6% used)
           ID-1: /dev/sda model: ST9320325AS size: 320.1GB
           ID-2: /dev/sdb model: ST3320620AS size: 320.1GB
           ID-3: USB /dev/sdc model: USB_Flash_Drive size: 16.0GB
Partition: ID-1: / size: 293G used: 182G (66%) fs: ext4 dev: /dev/sda1
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 83.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 200 Uptime: 42 min Memory: 2195.3/3897.7MB
           Init: systemd runlevel: 5 Gcc sys: 7.3.0
           Client: Shell (bash 4.4.191) inxi: 2.3.56 
I hope I'm in the right discussion area. I'm not a newbie (Newbie to Linux Mint, yes), but I seem to have forgotten far more than I now know. Please help me with the 'grep' command so I can get more useful information for you to help with this problem. I have tried removing and reinstalling gparted but nothing changed.

I have another hard drive with Linux Mint 19.1 xfe on it and it does the same thing. If it were a hardware problem I would expect that the installation media wouldn't work. Both installations (cinnamon and xfe) will not load gparted, yet the installation media will. Now I will go to the installation media and make the changes to the eSATA hard drive (format and repartition) for TimeShift to work.

For those who are asking about "what I'm using it for" it really is none of your business. However as I stated above, I need to format a drive for "Timeshift". Timeshift will not work with an MSDos, FAT32, or HFS drive, of which I have all three for different computers. Currently I have an eSATA drive adaptor which I can just plug in any SATA drive and do what I want with it. I don't need advice about whether or not I should use the program. It Is Necessary! That is all you need to know.

Very frustrating... still not working...
Last edited by Sardior on Sat Jan 26, 2019 3:30 pm, edited 2 times in total.

Laurent85
Level 16
Level 16
Posts: 6136
Joined: Tue May 26, 2015 10:11 am

Re: gparted not working

Post by Laurent85 » Fri Jan 18, 2019 4:39 pm

Do you get error messages when launching gparted from the command line ?
Image

Sardior

Re: gparted not working

Post by Sardior » Sat Jan 26, 2019 2:01 pm

This is what I get from the command line:

Code: Select all

sardior@Wings-of-Sardior:~$ gparted
Unit -.mount does not exist, proceeding anyway.
and then it hangs and nothing. Still sitting there hung as I type...
I forgot to mention, yes, I did get the administrator password requester and put that in as requested.

Addendum: After updating the XFE installation I now get the message:

Code: Select all

sardior@Wings-of-Sardior:~$ gparted
Too few arguments.
:?:

User avatar
philotux
Level 5
Level 5
Posts: 833
Joined: Sat Jul 21, 2018 11:14 am
Location: Utopia

Re: gparted not working

Post by philotux » Sat Jan 26, 2019 2:05 pm

Try:

Code: Select all

gparted-pkexec

User avatar
Pjotr
Level 21
Level 21
Posts: 13850
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: gparted not working

Post by Pjotr » Sat Jan 26, 2019 2:10 pm

Sardior wrote:
Fri Jan 18, 2019 1:51 pm
When I boot from a usb drive installation disk it works fine. When I try to run the program when I've booted to my system disk I get the usual administrators password requester, then nothing...
GParted should only be used within a live session. Don't install it to the hard disk. Much too powerful for that: you don't want GParted messing with the same hard disk as the one it's installed on.
Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

User avatar
philotux
Level 5
Level 5
Posts: 833
Joined: Sat Jul 21, 2018 11:14 am
Location: Utopia

Re: gparted not working

Post by philotux » Sat Jan 26, 2019 2:15 pm

Pjotr wrote:
Sat Jan 26, 2019 2:10 pm
you don't want GParted messing with the same hard disk as the one it's installed on
With Gparted Live you can mess with any disk, can't you? So What's the difference?

deepakdeshp
Level 16
Level 16
Posts: 6238
Joined: Sun Aug 09, 2015 10:00 am

Re: gparted not working

Post by deepakdeshp » Sat Jan 26, 2019 2:16 pm

Try re installation.

Code: Select all

.    sudo apt-get purge gparted
This is for removal
For install

Code: Select all

 sudo apt install gparted
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help, and keeps the forum clean.
Regards,
Deepak

I am using Mint 19.2 Cinnamon 64 bit with AMD A8/7410 processor . Memory 8GB

Sardior

Re: gparted not working

Post by Sardior » Sat Jan 26, 2019 3:02 pm

Done, did not work:

Code: Select all

Sardior:~$ sudo apt-get purge gparted
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  gparted*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 2,142 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 302582 files and directories currently installed.)
Removing gparted (0.30.0-3ubuntu2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23+linuxmint4) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...

Sardior:~$ sudo apt install gparted
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  gparted
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/466 kB of archives.
After this operation, 2,142 kB of additional disk space will be used.
Selecting previously unselected package gparted.
(Reading database ... 302480 files and directories currently installed.)
Preparing to unpack .../gparted_0.30.0-3ubuntu2_amd64.deb ...
Unpacking gparted (0.30.0-3ubuntu2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23+linuxmint4) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Setting up gparted (0.30.0-3ubuntu2) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Sardior:~$ gparted
Unit -.mount does not exist, proceeding anyway.
Sardior:~$ 
Nope, still not working...

User avatar
Pjotr
Level 21
Level 21
Posts: 13850
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: gparted not working

Post by Pjotr » Sat Jan 26, 2019 3:06 pm

philotux wrote:
Sat Jan 26, 2019 2:15 pm
Pjotr wrote:
Sat Jan 26, 2019 2:10 pm
you don't want GParted messing with the same hard disk as the one it's installed on
With Gparted Live you can mess with any disk, can't you? So What's the difference?
In real life (been there, done that) a GParted that's installed to the hard disk, regularly fails even when you wish to use it for other disks.

I repeat: I strongly advise to use this power tool, which has a huge potential for inflicting damage, only within the live session.
Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

Sardior

Re: gparted not working

Post by Sardior » Sat Jan 26, 2019 3:13 pm

philotux wrote:
Sat Jan 26, 2019 2:05 pm
Try:

Code: Select all

gparted-pkexec

Code: Select all

Sardior:~$ gparted-pkexec
gparted-pkexec: command not found
Sardior:~$ 

Code: Select all

Sardior:~$ sudo apt-get install gparted-pkexec
[sudo] password for sardior: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package gparted-pkexec

Sardior

Re: gparted not working

Post by Sardior » Sat Jan 26, 2019 3:16 pm

Pjotr wrote:
Sat Jan 26, 2019 3:06 pm
philotux wrote:
Sat Jan 26, 2019 2:15 pm
Pjotr wrote:
Sat Jan 26, 2019 2:10 pm
you don't want GParted messing with the same hard disk as the one it's installed on
With Gparted Live you can mess with any disk, can't you? So What's the difference?
In real life (been there, done that) a GParted that's installed to the hard disk, regularly fails even when you wish to use it for other disks.

I repeat: I strongly advise to use this power tool, which has a huge potential for inflicting damage, only within the live session.
I don't need this kind of advice. I have been formatting and changing drives for a VERY long time. I want the program to work. That's all. Please, any advice about whether or not to use a program is for a different discussion. Thank you.

User avatar
Pjotr
Level 21
Level 21
Posts: 13850
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: gparted not working

Post by Pjotr » Sat Jan 26, 2019 3:19 pm

Sardior wrote:
Sat Jan 26, 2019 3:16 pm
Pjotr wrote:
Sat Jan 26, 2019 3:06 pm
philotux wrote:
Sat Jan 26, 2019 2:15 pm


With Gparted Live you can mess with any disk, can't you? So What's the difference?
In real life (been there, done that) a GParted that's installed to the hard disk, regularly fails even when you wish to use it for other disks.

I repeat: I strongly advise to use this power tool, which has a huge potential for inflicting damage, only within the live session.
I don't need this kind of advice. I have been formatting and changing drives for a VERY long time. I want the program to work. That's all. Please, any advice about whether or not to use a program is for a different discussion. Thank you.
You may not want my advice. But that won't stop me from giving it. Because other people read this as well.

You don't own this thread; this forum is a public knowledge base.
Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

User avatar
philotux
Level 5
Level 5
Posts: 833
Joined: Sat Jul 21, 2018 11:14 am
Location: Utopia

Re: gparted not working

Post by philotux » Sat Jan 26, 2019 3:21 pm

Pjotr wrote:
Sat Jan 26, 2019 3:06 pm
In real life (been there, done that)...
I see. Even though my "been there , done that" doesn't confirm what you are stating, but I think you are right in sending a word of cautious on the use of Gparted. It can potentially create a mess if you don't know what you are doing whether it is being run from an installed and running system or Live.

The difference is that, at least, from a running system you can impossibly do any harm to the partitions the system is running from (simply because they cannot be unmounted). But from without you can do harm to any unmounted partitions on any disk which is connected to the system.

The moral of story: be careful with Gparted from both within and without :wink:

Sardior

Re: gparted not working

Post by Sardior » Sat Jan 26, 2019 3:41 pm

No one's helping me fix it, everyone wants to give me advice I don't want... Ok... I'll leave...

deepakdeshp
Level 16
Level 16
Posts: 6238
Joined: Sun Aug 09, 2015 10:00 am

Re: gparted not working

Post by deepakdeshp » Sat Jan 26, 2019 4:01 pm

Sometimes the bug strikes.
https://bugs.launchpad.net/ubuntu/+sour ... ug/1744372
May be somebody can explain more
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help, and keeps the forum clean.
Regards,
Deepak

I am using Mint 19.2 Cinnamon 64 bit with AMD A8/7410 processor . Memory 8GB

deepakdeshp
Level 16
Level 16
Posts: 6238
Joined: Sun Aug 09, 2015 10:00 am

Re: gparted not working

Post by deepakdeshp » Sat Jan 26, 2019 4:03 pm

Does it run when called from menu? I had an instance of another program which ran only fro menu and not terminal.
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help, and keeps the forum clean.
Regards,
Deepak

I am using Mint 19.2 Cinnamon 64 bit with AMD A8/7410 processor . Memory 8GB

User avatar
philotux
Level 5
Level 5
Posts: 833
Joined: Sat Jul 21, 2018 11:14 am
Location: Utopia

Re: gparted not working

Post by philotux » Sat Jan 26, 2019 4:07 pm

Sardior wrote:
Sat Jan 26, 2019 3:41 pm
No one's helping me fix it, everyone wants to give me advice I don't want... Ok... I'll leave...
I'm sorry! It wasn't my intention.

Sardior

Re: gparted not working

Post by Sardior » Sat Jan 26, 2019 4:24 pm

deepakdeshp wrote:
Sat Jan 26, 2019 4:03 pm
Does it run when called from menu? I had an instance of another program which ran only fro menu and not terminal.
No it doesn't. I tried the menu first, then after advice I tried the command line to see what the output would be. I've been working on this for weeks now. I figure the above comment about the bug is where I'm at and I don't see a fix until an update comes through to fix the bug. I am using 19 and the bug was found in 18, so I'm not holding my breath as I would turn blue and pass out long before anything happened... I'll just have to boot to install media (usually USB now, which is much more dangerous to my system drive than booting to a system disc) and make my changes to an external usb, sata, or ide-adapeted to sata drive.

User avatar
philotux
Level 5
Level 5
Posts: 833
Joined: Sat Jul 21, 2018 11:14 am
Location: Utopia

Re: gparted not working

Post by philotux » Sat Jan 26, 2019 4:29 pm

Did you try to purge it and reinstall it again according to the commands given by @deepakdeshp above?

Edi: Yes you did. I missed that among all the advice.
Last edited by philotux on Sat Jan 26, 2019 4:32 pm, edited 1 time in total.

vaca
Level 2
Level 2
Posts: 60
Joined: Thu Jul 12, 2018 1:58 pm
Location: Barcelona Spain

Re: gparted not working

Post by vaca » Sat Jan 26, 2019 4:31 pm

Hi, gparted works perfectly from my installed system disk 18.3, when it starts it obviously asks for root permission and it opens normally.

Therefore if it can be executed from the system unit!

Image

Post Reply

Return to “Software & Applications”