This bug was fixed in the package parted - 3.5-1
---
parted (3.5-1) unstable; urgency=medium
* Simplify some debhelper overrides slightly.
* New upstream release:
- Add --fix to --script mode to automatically fix problems like the
backup GPT header not being at the end
The fix code gets run based on the response the exception handler gives.
The exception handler returns the default answer for all exceptions when
in script mode, and the default for that one is not to fix it. Thus, to
get it to say yes, fix it, you need the exception handler to recognize
the
oh, thats awesome, i'll play with --pretend-input-tty, didnt know about that
before ...
i think it already prints the error for the print command so i can run that
first and separated from the actual actions (locales wont be an issue inside
the initrd)
--
You received this bug notification
Also I *think* that if you just don't use -s, you can put the "fix"
command right on the command line following the print command and that
will do it, but that behavior is really a bug in itself that I was
planning on fixing at some point.
--
You received this bug notification because you are a
oh, and note that i know beforehand that there is a GPT and that i want
to resize (and i even know the GPT backup wont sit at the end), i have
all that info before attempting to run parted, so in my specific case i
wouldn't need the exception handler at all.
--
You received this bug notification
ugh, indeed i didnt mean to have the cmdline option hooked to the text handler
but simply have it run whatever gets executed to fix the gpt without
interaction or anything ...
we currently need to use an awfully hackish workaround to do the auto-resize on
snappy images (store original table,
I've been aware of this for a few years now since I first added the
feature and sebner wanted to use it in the cloud-init-tools to do just
that. The problem is that the exception handler only gets a text
description, so you would need to do a loose string comparison to
identify the particular
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: parted (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1490608
Title:
it is in libparted/labels/gpt.c:
1033 q = ped_exception_throw
1034 (PED_EXCEPTION_WARNING,
1035 PED_EXCEPTION_FIX | PED_EXCEPTION_IGNORE,
1036 _("Not all of the space available to %s appears "
1037"to be used, you can fix the GPT to use all of the "
What exactly is the message you get in interactive mode? this would help
track down the relevant code.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1490608
Title:
parted allows to fix broken GPT
10 matches
Mail list logo