Re: How do I customize the contents of initrd images on debian-live?
Chris Jones wrote:
> I would like to add modules to an initrd images
place a initramfs hook into /usr/share/initramfs-tools/hooks.
for reference, look at e.g. the live-initramfs hook in
/usr/share/initramfs-tools/hooks/live-initramfs on a system where
live-initramfs is installed, or at hooks/live-initramfs in the
naturally, you'll later include this hook into
config/chroot_local-includes/usr/share/initramfs-tools/hooks in order to
get it included in your live system and you'll also need to rebuild the
initrd during the build (e.g. by symlinking
> and make sure that they
> are loaded at boot time but I have been unable to find a way to do this
> in debian-live.
for your live system, you'll be best doing this by a custom hook. see
for a starting point (you need to set MODULES="" to the module names you
want, and need to replace /etc/modules with /etc/initramfs-tools/modules).
Address: Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist