diff options
| -rw-r--r-- | schulung_tools/notes/initrd.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/schulung_tools/notes/initrd.txt b/schulung_tools/notes/initrd.txt index e88b20b..8c1fbd7 100644 --- a/schulung_tools/notes/initrd.txt +++ b/schulung_tools/notes/initrd.txt @@ -28,6 +28,7 @@ gzip -9 initrd.img # - the size is limited by the kernel configurations # (CONFIG_BLK_DEV_RAM, CONFIG_BLK_DEV_RAM_SIZE) # - the kernel root= parameter must be set to /dev/ram0 +# (an initrd is the root filesystem, i.e. /sbin/init is called) # - the real root filesystem must unmount it after pivot_root # (which means the real root filesystem has knowledge of an initrd) # @@ -38,4 +39,6 @@ gzip -9 initrd.img # - does not require any special boot arguments # - does not need to be "cleaned up" after switch_root # (the real root filesystem has no knowledge that an initrd existed) +# - the kernel calls /init instead of /sbin/init +# - /dev/console is required if replacing the built-in initramfs # |
