Topic: [SOLVED] gparted 0.12.1 - unable to read contents of file systems!
I normally use gparted from a live CD, but I occasionnally launch it to take a quick look at the setup of my partitions while I'm logged in to one of my "live" systems.
I have just upgraded this particular one from debian squeeze to wheezy and I'm seeing something rather odd.
All the partitions (save the mounted partitions that display the padlock icon instead..) are marked with the little triangle and the exclamation mark on an orange background.
When I select such partitions trying to find out what the problem is under Partition -> Information, gparted gives me this explanation:
Unable to read the contents of this file system!
Because of this some operations may be unavailable.
The cause might be a missing software package.
The following list of software packages is required for ntfs
file system support: ntfsprogs / ntfs-3g
or
The cause might be a missing software package.
The following list of software packages is required for ext3
file system support: e2fsprogs
and so on...
Now the problem is that:
All such software packages are duly installed and show no errors in the apt/dpkg packaging system
gparted on the other active systems that are installed on this computer (such as ubuntu, kubuntu, Mint) or on a couple of live CD's I have tried has no problem whatsoever
the upgraded system is otherwise running smoothly and there are no errors relative to file systems under /var/log/
odder still, I can't seem to find any reports of anyone else experiencing such symptoms
This looks more like a problem with a corrupt library setup, but before I send in a bug report to debian, I was wondering if this might be a known gparted 0.12.1 problem that I keep missing.
Or otherwise... perhaps someone could take a guess at what might be happening and suggest what I could do next to try and narrow it down a bit.
Thanks,
Al
*** [SOLVED] ** UPDATE ** [SOLVED] ** UPDATE ** [SOLVED] ** UPDATE ** [SOLVED] ** UPDATE ** [SOLVED] ** UPDATE ***
The problem is caused by invoking gparted like so: "sudo gparted". Someone on a debian forum had run into this problem at some point and found out that you could work around it by invoking gparted via a "/bin/su -c gparted" instead.
Since using the su command instead of sudo requires knowledge of the superuser password, I played with sudo a little further and discovered that "sudo -i gparted" also works while it only asks you for your userid's password.
Per man sudo the "-i flag" simulates an initial login shell; I have no idea why this is necessary to enable gparted to read partitions' metadata successfully and since I am not familiar with the code I will not hazard a guess.
In any case I'm sure glad this was not caused by corruption in libraries or the packaging system..!
*** [SOLVED] ** UPDATE ** [SOLVED] ** UPDATE ** [SOLVED] ** UPDATE ** [SOLVED] ** UPDATE ** [SOLVED] ** UPDATE ***