Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #269402 > unrolled thread

Re: How to create a custom Debian ISO

Started by"Thomas Schmitt" <scdbackup@gmx.net>
First post2024-05-16 17:30 +0200
Last post2024-05-16 18:20 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.debian.user

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: How to create a custom Debian ISO "Thomas Schmitt" <scdbackup@gmx.net> - 2024-05-16 17:30 +0200
    Re: How to create a custom Debian ISO <tomas@tuxteam.de> - 2024-05-16 17:40 +0200
      Re: How to create a custom Debian ISO "Thomas Schmitt" <scdbackup@gmx.net> - 2024-05-16 18:20 +0200

#269402 — Re: How to create a custom Debian ISO

From"Thomas Schmitt" <scdbackup@gmx.net>
Date2024-05-16 17:30 +0200
SubjectRe: How to create a custom Debian ISO
Message-ID<IELdo-dLfT-13@gated-at.bofh.it>
Hi,

Aditya Garg wrote:
> I would prefer making the ISO as similar to the official Debian ISO and just
> replace the Debian kernel with the customised kernel.

In that case, i'd go along
  https://wiki.debian.org/RepackBootableISO
Either by using the xorrisofs options in /.disk/mkisofs of the ISO :

  https://wiki.debian.org/RepackBootableISO#Learn_about_the_actually_used_ISO_production_command

or by relying on the capability of xorriso to determine the commands
which will reproduce the boot equipmemt of the loaded ISO :

  https://wiki.debian.org/RepackBootableISO#In_xorriso_load_ISO_tree_and_write_modified_new_ISO

If you need help with finding the appropriate xorriso commands, ask me
in private or in public at bug-xorriso@gnu.org .


What remains is to find out whether this works out of the box or whether
the kernel has to be announced in some files of the ISO or even
cryptographically signed in some way.

------

Just in case your adventure goes beyond replacing the kernel and possibly
the boot loader menu files, i warn of a bug in xorriso-1.5.6 and older:
Don't overwrite the El Torito boot image files in a xorriso run that uses
  -boot_image "any" "replay"
The boot image files in Debian amd64 ISOs are /isolinux/isolinux.bin
and /boot/grub/efi.img .
If you need to replace them, then we have to talk.


Have a nice day :)

Thomas

[toc] | [next] | [standalone]


#269403

From<tomas@tuxteam.de>
Date2024-05-16 17:40 +0200
Message-ID<IELn3-dLj0-1@gated-at.bofh.it>
In reply to#269402

[Multipart message — attachments visible in raw view] — view raw

On Thu, May 16, 2024 at 05:20:40PM +0200, Thomas Schmitt wrote:
> Hi,
> 
> Aditya Garg wrote:
> > I would prefer making the ISO as similar to the official Debian ISO and just
> > replace the Debian kernel with the customised kernel.
> 
> In that case, i'd go along

[...]

Not the OP, but thanks, Thomas. Your posts are always
a trove. And pleasant, on top!

Cheers
-- 
t

[toc] | [prev] | [next] | [standalone]


#269405

From"Thomas Schmitt" <scdbackup@gmx.net>
Date2024-05-16 18:20 +0200
Message-ID<IELZL-dLLZ-9@gated-at.bofh.it>
In reply to#269403
Hi,

tomas@tuxteam.de wrote:
> Not the OP, but thanks, Thomas.

Well, ISO 9660 is known to be my hobby. So i can hardly resist trying
to acquire new users for xorriso.


Have a nice day :)

Thomas

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web