[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#820818: partman is not able to resize nvme0n1p3 in d-i

Cyril Brulebois <kibi@debian.org> writes:

> Ian Jackson <ijackson@chiark.greenend.org.uk> (2017-02-04):
>> Cyril Brulebois writes ("Re: Bug#820818: partman is not able to resize nvme0n1p3 in d-i"):
>> > This is still welcome but probably not necessary given other bits of
>> > your bug report. I've just pushed a totally untested patch to the
>> > pu/resize-nvme-820818 branch:
>> >   https://anonscm.debian.org/cgit/d-i/partman-partitioning.git/commit/?h=pu/resize-nvme-820818&id=348a501524e7a2cdd3e04d5ec1c9f9d2aead3743
>> > 
>> > Would you be interested in testing an image with such an update?
>> Yes, if you're reasonably sure it won't mess anything else up.  I can
>> (take a backup of my laptop and) provide a test partition for it to
>> try to resize.
> As I said, that's the very first time I look at this code, so I can't be
> reasonably sure about anything, except for the fact the current work
> doesn't seem to handle NVMe devices. :)
> An alternate way of trying this would be to fetch a recent image (like
> Stretch RC 2), editing the file in place, and adding an exit call before
> the actual formatting. This would let you check the right device name
> would be computed with this patch, while ensuring your filesystems are
> left untouched.

If you want to try that with Ben's patched file, you _ought_ to be able to
do so by specifying this on the boot commandline (assuming I've made no typos):


Note that this does not include a safe exit.  If someone tells me where
that needs to go (I've only glanced at the code so far) then I'll add

I've not tried this bug-fix script yet, so there might be typos, or the
obvious race condition might actually be a issue, but this kludge
normally works, and it should at least provide you with inspiration for
how to do it repeatably without having to suffer editing with nano.

See also:


Cheers, Phil.
|)|  Philip Hands  [+44 (0)20 8530 9560]  HANDS.COM Ltd.
|-|  http://www.hands.com/    http://ftp.uk.debian.org/
|(|  Hugo-Klemm-Strasse 34,   21075 Hamburg,    GERMANY

Attachment: signature.asc
Description: PGP signature

Reply to: