====== Initramfs @ Grml ====== ===== initramfs-tools ===== ==== Fixes: ==== * You'll notice a strange error message due to an empty $init if the rootfs can't be found. * (Possible) fix: [[http://grml.org/tmp/initramfs-tools_fix_init.diff|initramfs-tools_fix_init.diff]] * If you have quiet in your /proc/cmdline you can never reach any debug bootoption anymore. * Fix: [[http://grml.org/tmp/initramfs-tools_do_be_quiet_if_using_debug.diff|initramfs-tools_do_be_quiet_if_using_debug.diff]] ===== live-initramfs ===== ==== Current issues ==== * unify syntax: 'for ... ; do ...' vs. 'for ... \n do ...'... * bootoption debug -> no support within live-initramfs yet (even though the manpage states it) * scripts/live modifies stdout/stderr and no output reaches the terminal -> improve it at least for the case when debug bootoption is being used * Make sure that "Warning: Not enough free memory (991404k > 1651944k) to copy live media in ram." for bootoption toram works via copying only the squashfs module * http://grml.org/tmp/live-initramfs_support_nognome_panel_and_export_nofstab.diff * http://grml.org/tmp/0001-support-new-bootoptions-and-environment-variables.patch * http://grml.org/tmp/0002-display_install_driver_updates_only_if_it_can_be_executed.diff * while waiting for the root-fs it tries to mount other block devices: 'mount: Mounting /dev/sda1 on /live/image failed: No such device' -> try to disable this behaviour * make sure the forensic bootoption mode is possible ==== Debugging ==== Environment variables when booting local with toram bootoption: live-media = media livefs_root = /live/image mountpoint = /live/image live_dest = ram image_directory = /live/image/live image_string = /live/image/live/grml.squashfs image = /live/image/live/grml.squashfs imagename = grml.squashfs MODULE = filesystem directory = /live/image