Re: Would allowing preseed to be a tarball a good idea?
On Fri, Feb 18, 2022 at 10:32 PM Geert Stappers <stappers@stappers.nl> wrote:
>
> On Fri, Feb 18, 2022 at 03:55:30PM +0800, Glen Huang wrote:
>> On Feb 18, 2022, at 4:48 AM, Geert Stappers wrote:
>>>> On Feb 16, 2022, at 5:50 PM, Geert Stappers wrote:
>>>>>
>>>>> The initrd of d-i can indeed be extended / appended.
>>>>> And in the "appendix" goes the desired extras. Then
>>>>>
>>>>> d-i preseed/early_commands /myextras/early_script
>>>>
>>>> If I’m not wrong, this requires repackaging the installer media?
>>>
>>> Nope, append is append, not repackaging.
>>
>> The ideas sounds very interesting, but due to my limited knowledge
>> with regard to initrd, I have no idea what it means to “append”
>> to it. Googling “debian initrd append” or "initrd append” or
>> "initrd appendix” revealed nothing useful AFAICS. I wonder if you
>> could point me to some documents/manuals where I’d have a better
>> chance understanding it?
>
> https://wiki.debian.org/DebianInstaller/NetbootFirmware#The_Solution:_Add_Firmware_to_Initramfs
Thanks, now I get what appending means. How do I make the installer media, say netinst ISO, to load the new initrd file (which isn’t covered in the wiki if I’m not wrong)? I thought it required rebuilding the ISO?
Regards,
Glen
Reply to: