almost 6 years ago
  1. using genkernel to generate a cpio initramfs
    genkernel --zfs --callback="module-rebuild rebuild" --no-compress-initramfs initramfs
  2. you can find the new created initramfs file in /boot folder, change its name to initramfs.cpio (NOTE: .cpio is important)
  3. change linux kernel config
  4. rebuild kernel, and copy it to EFI system partition
    cp arch/x86/boot/bzimage /boot/efi/gentoo64_zfs_initramfs.efi
  5. add new EFI stub kernel
    efibootmgr -c -g -l \gentoo64_zfs_initramfs.efi -L "Gentoo ZFS"


← Booting on disk ISO image directly from Grub2 net-fs/cifs-utils: Tools for Managing Linux CIFS Client Filesystems →
comments powered by Disqus