how to modify qubes-installer-ISO

11 views
Skip to first unread message

Bernhard

unread,
Sep 16, 2021, 3:46:56 AM9/16/21
to qubes-users
Dear qubes-community,

I would like to modify the qubes-iso (add a different kernel, maybe add
a wireless driver). Did someone here solve that already? A brief google
on the subject reveals that modifying ISO's is not straightforward ...
and touching the kernel may add extra difficulties.
Thank you for your help,

Bernhard

awokd

unread,
Sep 19, 2021, 3:51:22 PM9/19/21
to qubes...@googlegroups.com
Bernhard:
> Dear qubes-community,
>
> I would like to modify the qubes-iso (add a different kernel, maybe add
> a wireless driver). Did someone here solve that already? A brief google
> on the subject reveals that modifying ISO's is not straightforward ...
> and touching the kernel may add extra difficulties.

https://www.qubes-os.org/doc/qubes-iso-building/ covers building the
iso. Adding a different kernel would be difficult, but I think you could
stage the wireless driver in one of the template builds it contains.

--
- don't top post
Mailing list etiquette:
- trim quoted reply to only relevant portions
- when possible, copy and paste text instead of screenshots

unman

unread,
Sep 20, 2021, 9:21:23 AM9/20/21
to qubes...@googlegroups.com
On Sun, Sep 19, 2021 at 07:51:02PM +0000, 'awokd' via qubes-users wrote:
> Bernhard:
> > Dear qubes-community,
> >
> > I would like to modify the qubes-iso (add a different kernel, maybe add
> > a wireless driver). Did someone here solve that already? A brief google
> > on the subject reveals that modifying ISO's is not straightforward ...
> > and touching the kernel may add extra difficulties.
>
> https://www.qubes-os.org/doc/qubes-iso-building/ covers building the iso.
> Adding a different kernel would be difficult, but I think you could stage
> the wireless driver in one of the template builds it contains.
>

It is relatively easy to build a custom iso, and certainly to include
alternate kernel builds and drivers in the templates. (I assume that
this is what you want.)
If you use the stock templates, then you can customise them simply
enough by adjusting the build parameters, and packages, in (e.g.) builder-debian.

haaber

unread,
Sep 24, 2021, 3:07:43 AM9/24/21
to qubes...@googlegroups.com

>>> I would like to modify the qubes-iso (add a different kernel, maybe add
>>> a wireless driver). Did someone here solve that already? A brief google
>>> on the subject reveals that modifying ISO's is not straightforward ...
>>> and touching the kernel may add extra difficulties.
>>
>> https://www.qubes-os.org/doc/qubes-iso-building/ covers building the iso.
>> Adding a different kernel would be difficult, but I think you could stage
>> the wireless driver in one of the template builds it contains.
>>
>
> It is relatively easy to build a custom iso, and certainly to include
> alternate kernel builds and drivers in the templates. (I assume that
> this is what you want.)
> If you use the stock templates, then you can customise them simply
> enough by adjusting the build parameters, and packages, in (e.g.) builder-debian.
>

Thank you, awokd and unman. So I cannot just take the std installer,
unpack the iso, add/replace a kernel, and repack it? That is certainly a
bit naïve as approach, but since I can do the same with a working
xen/qubes why is the installer so different? Bernhard

unman

unread,
Sep 24, 2021, 7:48:05 AM9/24/21
to qubes...@googlegroups.com
From your post I thought you wanted to include material in the
templates, as I said..
If all you want to do is change a dom0 parameter, or package, then you
can do what you say - unpack, change, repack. (People do this for UEFI
parameters, I think.)
You wont be able to distribute that iso unless you rework the check, but
it should be fine for your purposes.
Reply all
Reply to author
Forward
0 new messages