[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:

> Philip Hands <phil@hands.com> (2017-02-07):
>> I just tried it with this image:
>> 
>>   http://cdimage.debian.org/cdimage/stretch_di_rc2/amd64/iso-cd/debian-stretch-DI-rc2-amd64-netinst.iso
>> 
>> adding this to the kernel command line (hit TAB at the boot menu):
>> 
>>   url=hands.com/d-i/bug/820818/preseed.cfg
>> 
>> and it drops the replacement resize.sh (now using Cyril's version) in
>> place.
>> 
>> BTW If you want to suggest somewhere to exit the script to avoid
>> touching your disks, I can add that to save you the effort.
>> 
>> Cheers, Phil.
>> 
>> P.S. This kludge is totally over-engineered, as the file is ready to
>> be replaced by the time the early command is run, so in this case the
>> checks and background loop are superfluous.
>> 
>> P.P.S. I think this is much less effort than building a new image,
>> since a newly built netinst would download the old partman-partition
>> udeb from the archive unless you start making more invasive changes.
>> You can check that it's done the right thing by the time you get to
>> the root password prompts, flipping to a console and running:
>> 
>>   head -40 /lib/partman/lib/resize.sh
>
> Eh? The whole point of building and providing an image is that it contains
> all the bits you want to test; that's why I was suggesting this in the
> first place…

Sure, if you think that's less effort, great: build Ian an ISO.

My experience of doing so is that there are quite often wrinkles that
make sure the resulting image is not actually what one wanted to test in
some subtle way.  That being the case, I'm _much_ more confident that
the preseed patch is changing just what you wanted to change, and
nothing more.

This is probably an indication that I don't build images often enough,
rather than anything else.

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: