Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kpartitionmanager #241

Open
star-buck opened this issue Jul 28, 2020 · 8 comments
Open

kpartitionmanager #241

star-buck opened this issue Jul 28, 2020 · 8 comments
Assignees

Comments

@star-buck
Copy link
Contributor

formatting a microsd and adding one fat16 600MB partition with the rest of space unallocated is not possible with kpartitionmanager.

yet the absolute same is possible without issues with gparted.

i made sure microsd is not mounted, etc., but still this "invalid argument" makes kpart faiil, whil gparted succeeds:

Screenshot_20200728_205344

@star-buck
Copy link
Contributor Author

ignore in the screenshot its fat32, i tried both on it, and just saved last attempt as picture.

@adriaandegroot
Copy link

I have re-filed this upstream as https://bugs.kde.org/show_bug.cgi?id=425097

@adriaandegroot
Copy link

I can't reproduce this, not with a 2GB microSD and openSUSE tumbleweed but openSUSE ships a very old partitionmanager, 3.3.0 / 3.3.1, which uses a different approach to formatting than the current one:

kpm-1

kpm-2

kpm-3

Which versions of partitionmanager, kpmcore, and util-linux are you using?

@star-buck
Copy link
Contributor Author

star-buck commented Aug 8, 2020 via email

@NuLogicSystems
Copy link

NuLogicSystems commented Aug 8, 2020

partitionmanager 4.1.0-1
kpmcore 4.1.0-1.1
kio 5.72.0-1
util-linux 2.35.2-1.1

@adriaandegroot
Copy link

Debugging is ongoing in the upstream report, https://bugs.kde.org/show_bug.cgi?id=425097 . The underlying issue seems to be that KDE Partitionmanager is trying to start the partition on sector 0, which won't work in a GPT scheme (or MBR either)

@adriaandegroot
Copy link

@adriaandegroot
Copy link

This is an underlying bug in sfdisk (util-linux). I have submitted a patch (merged) there: util-linux/util-linux#1128

To work around the bug with current sfdisk, kpmcore was patched: https://invent.kde.org/system/kpmcore/-/commit/6aa9d9372876484f8fe647c9d9e79de8c3f073b9

Updating one, or the other, will resolve this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants