How to properly mirror to create a net-install debian CD

rubisetcie <[email protected]> Wed, 10 Jun 2026 09:05:00 +0200
Newsgroups gmane.linux.debian.devel.cd
Message-ID <CADDn39+iKc-gNi0=hjW8f3-+sXLTdnsC6o9ZHq32RjDqyBHinw@mail.gmail.com>
--000000000000e69c7f0653e0dec4
Content-Type: text/plain; charset="UTF-8"

Hello, Debian CD team.

I would like to create a net-install debian installation ISO from the
debian-cd package, however I struggle to find proper help in the various
READMEs about *how to create a proper mirror of the Debian packages* using
debmirror.

Indeed, I find the documentation quite laconic on this subject, and I end
up with an error at the step make image-trees: it can't find
*installer-amd64/current/images/cdrom/initrd.gz*.

My questions would be:

   - Could you tell me the way (the commands) to create a suitable Debian
   mirror in order to construct a Debian net-install ISO?
   - Ideally, I'm trying to minimize the mirror size, because I'm short on
   disk space, so would it be possible to mirror only the required packages?
   - At what step the "package list" is created, to decide what to embed in
   the ISO? Is it make status or make packagelist? And in what file this
   "package list" is located?

Thank you very much in advance for your help.

Regards,
Matthieu Carteron

--000000000000e69c7f0653e0dec4
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hello, Debian CD team.<div><br></div><div>I would like to =
create a net-install debian installation ISO from the <font face=3D"monospa=
ce">debian-cd</font> package, however I struggle to find proper help in the=
 various READMEs about <b>how to create a proper mirror of the Debian packa=
ges</b> using <font face=3D"monospace">debmirror</font><font face=3D"arial,=
 sans-serif">.</font></div><div><br></div><div>Indeed, I find the documenta=
tion quite=C2=A0laconic on this subject, and I end up with an error at the =
step=C2=A0<font face=3D"monospace">make image-trees</font>: it can&#39;t fi=
nd=C2=A0<font face=3D"monospace"><i>installer-amd64/current/images/cdrom/in=
itrd.gz</i></font>.</div><div><br></div><div>My questions would be:</div><d=
iv><ul><li>Could you tell me the way (the commands) to create a suitable De=
bian mirror in order to construct a Debian net-install ISO?</li><li>Ideally=
, I&#39;m trying to minimize the mirror size, because I&#39;m short on disk=
 space, so would it be possible to mirror only the required packages?</li><=
li>At what step the &quot;package list&quot; is created, to decide what to =
embed in the ISO? Is it <font face=3D"monospace">make status</font> or <fon=
t face=3D"monospace">make packagelist</font>? And in what file this &quot;p=
ackage list&quot; is located?</li></ul><div>Thank you very much in advance =
for your help.</div></div><div><br></div><div>Regards,</div><div>Matthieu C=
arteron</div></div>

--000000000000e69c7f0653e0dec4--