How to make a custom ISO image: Difference between revisions

From Alpine Linux
(rm ISO overlay)
mNo edit summary
(5 intermediate revisions by the same user 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 scripts to re-build completely custom images, like
* [https://github.com/alpinelinux/alpine-make-vm-image alpine-make-vm-image]
and the original
* [[How_to_make_a_custom_ISO_image_with_mkimage|mkimg]].


But there is also an alternative:
 
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.
 
 
== An alternative ==
 
It's possible to [[Alpine_local_backup#|commit and load ISO image customizations]] to and from a writable storage.




Line 10: Line 19:
== Booting an ISO image with local customizations ==
== Booting an ISO image with local customizations ==


* From dedicated boot media, obviously.
* From a dedicated boot media, obviously.
* '''(Example included:)''' Booting and customizing an ISO image with an .apkovl in a [[Qemu#Live_mode| Qemu]] virtual machine.
* [[Directly_booting_an_ISO_file]]
* 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]]

Revision as of 20:48, 21 June 2020

ISO remastering

There are scripts to re-build completely custom images, like

and the original


If you want to make a customized installer, you need to create .default_boot_services which will cause mkinitfs to create the defaults for the live image.


An alternative

It's possible to commit and load ISO image customizations to and from a writable storage.


Booting an ISO image with local customizations