How to make a custom ISO image: Difference between revisions

From Alpine Linux
(rm ISO overlay)
(Fix messed up paragraph)
 
(12 intermediate revisions by 4 users not shown)
Line 1: Line 1:


One way to completely re-build custom images is to use a script like [https://github.com/alpinelinux/alpine-make-vm-image alpine-make-vm-image].
== ISO remastering ==


* If you want to make a customized installer, you need to create <code>.default_boot_services</code> which will cause <code>mkinitfs</code> to create the defaults for the live image.
There are third party scripts to re-build completely custom images, like [https://github.com/alpinelinux/alpine-make-vm-image alpine-make-vm-image]
(works to only make a disk based VM image) and there is Alpine's original
[[How_to_make_a_custom_ISO_image_with_mkimage|mkimg]].  
(creates a diskless ISO file - usually what you want for QEMU and Proxmox)


But there is also an alternative:
== An alternative ==


It's also possible to commit and load ISO image customizations to and from a writable partition when booting in [[Installation#Diskless_Mode|Diskless Mode]].


== See also ==


== Booting an ISO image with local customizations ==
* [[Directly booting an ISO file]]
 
* [[How to make a custom ISO image with mkimage]]
* From dedicated boot media, obviously.
* '''(Example included:)''' Booting and customizing an ISO image with an .apkovl in a [[Qemu#Live_mode| Qemu]] virtual machine.
* Using e.g. Debian's grub-imageboot package and booting .iso files directly, instead of partitions.


[[Category:Package Manager]]
[[Category:Package Manager]]
[[Category:ISO]]
[[Category:ISO]]

Latest revision as of 13:46, 15 January 2025

ISO remastering

There are third party scripts to re-build completely custom images, like alpine-make-vm-image (works to only make a disk based VM image) and there is Alpine's original mkimg. (creates a diskless ISO file - usually what you want for QEMU and Proxmox)

An alternative

It's also possible to commit and load ISO image customizations to and from a writable partition when booting in Diskless Mode.

See also