Advertisement
Guest User

Untitled

a guest
Oct 25th, 2024
19
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.08 KB | None | 0 0
  1. # This config will decrypt the LUKS volume with mapping it to
  2. # It will attempt to mount the btrfs volume with label "rootfs" to /target_rootfs
  3. # It will pull all current kernel modules from lspci -k results
  4. # It will try to process the cmdline and mount the rootfs based on the root= parameter
  5.  
  6. modules = [
  7. "ugrd.kmod.standard_mask",
  8. "ugrd.kmod.nvidia_drm",
  9. "ugrd.fs.fakeudev",
  10. # "ugrd.crypto.cryptsetup", # This is included by the gpg module
  11. # "ugrd.crypto.gpg", # This is included by the smartcard module
  12. # "ugrd.crypto.smartcard",
  13. ]
  14.  
  15. # Mask the parse_cmdline function to prevent it from running
  16. #mask.init_pre = 'parse_cmdline'
  17.  
  18. # The initramfs will be built in /tmp/initramfs if "build_dir" is not specified not specified
  19. #out_dir = "/usr/src/initramfs"
  20.  
  21. # Optionally supply a kernel version, uses the current kernel version if not specified
  22. #kernel_version = "6.1.53-gentoo-dist"
  23. # lspci based detection is usually helpful
  24. kmod_autodetect_lspci = true
  25. # lsmod detection can be helpful, but can bring in unnecessary modules
  26. kmod_autodetect_lsmod = true
  27.  
  28. # Wait a few seconds for storage to settle after modules are loaded if external or slow storage is used
  29. #mount_wait = true
  30. #mount_timeout = 3
  31.  
  32. # The location of the gpg public key, if using a smartcard and gpg encrypted keyfile
  33. #
  34.  
  35. #auto_mounts = ['/boot'] # Automatically create mount config for /boot on the host
  36.  
  37. # Optionally specify the root mountpoint information manually
  38. #[mounts.root]
  39. # The label of the root filesystem, a uuid or partuuid could be used instead
  40. #label = "rootfs"
  41.  
  42. # This is necessary if the keyfile is on another device.
  43. # The keyfile could be added as a dependency. if it's on the same device.
  44. #[mounts.boot]
  45. #type = "vfat"
  46. #
  47.  
  48.  
  49. # If the root is a LUKS volume, specify the LUKS volume information
  50. #[cryptsetup.root]
  51. # The UUID of the encrypted volume, mounted at /dev/mapper/root
  52. #uuid = ""
  53. # If a GPG encrypted key file is used, the key_type must be set to gpg.
  54. #key_type = "gpg"
  55. # The key file must either be included as a dependency, or it must be under an external mountpoint.
  56.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement