Skip to content

Latest commit

 

History

History
84 lines (67 loc) · 2.63 KB

WTF.org

File metadata and controls

84 lines (67 loc) · 2.63 KB

Gentoo Full Disk Encryption - WTFs

initramfs with genkernel

emerge --ask --verbose genkernel
genkernel --luks --lvm initramfs

Uma eternidade depois…

vm-gentoo ~ # genkernel --luks --lvm initramfs

 Gentoo Linux Genkernel; Version 4.3.10
 Using genkernel configuration from '/etc/genkernel.conf' ...
 Running with options: --luks --lvm initramfs

 Working with Linux kernel 6.6.32-gentoo-dist for x86_64
 Using kernel config file '/usr/share/genkernel/arch/x86_64/generated-config' ...

 Current kernel's LOCALVERSION is set to '-gentoo-dist'; Will ignore set --kernel-localversion value '-x86_64' because kernel was not built ...

 initramfs: >> Initializing ...
         >> Appending devices cpio data ...
         >> Appending base_layout cpio data ...
         >> Appending util-linux cpio data ...
         >> Appending eudev cpio data ...
         >> Appending devicemanager cpio data ...
         >> Appending auxiliary cpio data ...
         >> Appending busybox cpio data ...
         >> Appending luks cpio data ...
         >> Appending lvm cpio data ...
         >> Appending modprobed cpio data ...
         >> Appending modules cpio data ...
         >> Deduping cpio ...
         >> Pre-generating initramfs' /etc/ld.so.cache ...
         >> Compressing cpio data (.xz) ...
 xz: Reduced the number of threads from 8 to one. The automatic memory usage limit of 1226 MiB is still being exceeded. 1250 MiB of memory is required. Continuing anyway.

 You will find the initramfs in '/boot/initramfs-6.6.32-gentoo-dist.img'.

 WARNING... WARNING... WARNING...
 Additional kernel parameters that *may* be required to boot properly:
 - Add "dolvm" for LVM support
 - Add "crypt_root=<device>" for LUKS-encrypted root
 - Add "crypt_swap=<device>" for LUKS-encrypted swap

 Do NOT report kernel bugs as genkernel bugs unless your bug
 is about the default genkernel configuration...
 
 Make sure you have the latest ~arch genkernel before reporting bugs.
grub-mkconfig -o /boot/grub/grub.cfg

Big f****ng crash!!!
My fault, obviously.

Back to dracut.

Local binary packages signature

FEATURES="${FEATURES} buildpkg"
...
gpg: WARNING: unsafe ownership on homedir '/etc/portage/gnupg'
...

Boot hangs if VirtualBox guest 3D acceleration is enabled

/etc/cripttab ignored

startx

rc-update add elogind boot

No sound as VirtualBox guest

Use “ICH AC97” audio