Sortix cross-nightly manual
This manual documents Sortix cross-nightly. You can instead view this document in the latest official manual.
NAME
update-initrd — generate initialization ramdiskSYNOPSIS
update-initrd | [--sysmerge] [--sysroot=sysroot] |
DESCRIPTION
update-initrd generates the /boot/sortix.initrd initrd(7) containing a minimal system that searches for the root filesystem and chain boots it as described in initrd(7) and init(8). It contains an init system, fsck, filesystem drivers and configuration.- --sysmerge
- Generate an initrd(7) for the pending upgrade in /sysmerge inside the sysroot. This must be used in combination with invoking the matching /sysmerge/sbin/update-initrd program directly for forward compatibility.
- --sysroot=sysroot
- Rather than generating an initrd(7) for the root filesystem, locate files in the sysroot directory instead and store the result as sysroot/boot/sortix.initrd.
FILES
- /etc/fstab
- /sbin/extfs
- /sbin/fsck.ext2
- /sbin/init