File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,9 @@ The `build_dir`can be embedded into the Linux kernel with:
2424CONFIG_INITRAMFS_SOURCE="/tmp/initramfs"
2525```
2626
27+ Take care to set ` make_nodes = true ` to create ` /dev/console ` in the build dir (instead of in the cpio when packing it).
28+ The console device node file is required in builtin initrds.
29+
2730A CPIO file can be embedded into the Linux kernel with:
2831
2932```
Original file line number Diff line number Diff line change 1+ # #############################################################################
2+ # # ##
3+ # # there are docs at https://github.com/desultory/ugrd/tree/main/docs ##
4+ # # ##
5+ # #############################################################################
6+
17# This config will decrypt the LUKS volume with uuid "fdf442da-0574-4531-98c7-55227a041f1d", mapping it to "/dev/mapper/root"
28# Note: In most cases, the uuid of the LUKS volume will be detected from the root mount. It's set as an example here.
39# It will attempt to mount the btrfs volume with label "rootfs" to /target_rootfs
You can’t perform that action at this time.
0 commit comments