Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # This config will decrypt the LUKS volume with mapping it to
- # It will attempt to mount the btrfs volume with label "rootfs" to /target_rootfs
- # It will pull all current kernel modules from lspci -k results
- # It will try to process the cmdline and mount the rootfs based on the root= parameter
- modules = [
- "ugrd.kmod.standard_mask",
- "ugrd.kmod.nvidia_drm",
- "ugrd.fs.fakeudev",
- # "ugrd.crypto.cryptsetup", # This is included by the gpg module
- # "ugrd.crypto.gpg", # This is included by the smartcard module
- # "ugrd.crypto.smartcard",
- ]
- # Mask the parse_cmdline function to prevent it from running
- #mask.init_pre = 'parse_cmdline'
- # The initramfs will be built in /tmp/initramfs if "build_dir" is not specified not specified
- #out_dir = "/usr/src/initramfs"
- # Optionally supply a kernel version, uses the current kernel version if not specified
- #kernel_version = "6.1.53-gentoo-dist"
- # lspci based detection is usually helpful
- kmod_autodetect_lspci = true
- # lsmod detection can be helpful, but can bring in unnecessary modules
- kmod_autodetect_lsmod = true
- # Wait a few seconds for storage to settle after modules are loaded if external or slow storage is used
- #mount_wait = true
- #mount_timeout = 3
- # The location of the gpg public key, if using a smartcard and gpg encrypted keyfile
- #
- #auto_mounts = ['/boot'] # Automatically create mount config for /boot on the host
- # Optionally specify the root mountpoint information manually
- #[mounts.root]
- # The label of the root filesystem, a uuid or partuuid could be used instead
- #label = "rootfs"
- # This is necessary if the keyfile is on another device.
- # The keyfile could be added as a dependency. if it's on the same device.
- #[mounts.boot]
- #type = "vfat"
- #
- # If the root is a LUKS volume, specify the LUKS volume information
- #[cryptsetup.root]
- # The UUID of the encrypted volume, mounted at /dev/mapper/root
- #uuid = ""
- # If a GPG encrypted key file is used, the key_type must be set to gpg.
- #key_type = "gpg"
- # The key file must either be included as a dependency, or it must be under an external mountpoint.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement