mirror of https://github.com/ericonr/dotfiles.git
Add zfsbootmenu configuration.
This commit is contained in:
parent
13cee87476
commit
ba81fc75f2
|
@ -0,0 +1,4 @@
|
||||||
|
nofsck="yes"
|
||||||
|
add_dracutmodules+=" zfs "
|
||||||
|
omit_dracutmodules+=" btrfs "
|
||||||
|
install_items+=" /etc/zfs/zroot.key "
|
|
@ -0,0 +1 @@
|
||||||
|
spl_hostid=0e2e6746 ro quiet i195.enable_guc=2 apparmor=1 security=apparmor
|
|
@ -0,0 +1,21 @@
|
||||||
|
[Global]
|
||||||
|
ManageImages=1
|
||||||
|
DracutConfDir=/etc/zfsbootmenu/dracut.conf.d
|
||||||
|
BootMountPoint=/boot/efi
|
||||||
|
|
||||||
|
[Kernel]
|
||||||
|
CommandLine=ro quiet loglevel=0
|
||||||
|
|
||||||
|
[Components]
|
||||||
|
ImageDir=/boot/efi/EFI/void
|
||||||
|
Versioned=1
|
||||||
|
Copies=3
|
||||||
|
|
||||||
|
[EFI]
|
||||||
|
ImageDir=/boot/efi/EFI/void
|
||||||
|
Versioned=1
|
||||||
|
Copies=3
|
||||||
|
|
||||||
|
[syslinux]
|
||||||
|
CreateConfig=0
|
||||||
|
Config=/boot/syslinux/syslinux.cfg
|
|
@ -0,0 +1,4 @@
|
||||||
|
kernel_cmdline="zfsbootmenu:ROOT=zroot spl_hostid=0e2e6746 timeout=0 ro quiet loglevel=0"
|
||||||
|
|
||||||
|
uefi_secureboot_cert="/etc/refind.d/keys/refind_local.crt"
|
||||||
|
uefi_secureboot_key="/etc/refind.d/keys/refind_local.key"
|
|
@ -0,0 +1 @@
|
||||||
|
omit_drivers+=" nouveau nvidia "
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
zfs set org.zfsbootmenu:commandline="$(cat etc-x86/zfsbootmenu/commandline)" zroot/ROOT
|
Loading…
Reference in New Issue