diff options
| author | nic <ra@afu.re> | 2025-05-05 10:59:25 -0400 |
|---|---|---|
| committer | nic <ra@afu.re> | 2025-05-05 10:59:25 -0400 |
| commit | 21ae09ada9d367994b3a00c14bce5836a806b899 (patch) | |
| tree | 7572094d84b9c185245c84d3dea90e39932e7dcc /Technology/Gentoo/gentoo-kernel-bin.md | |
| parent | 0567d6cd88c593b7d69df371a9804fa384c4b5d6 (diff) | |
Auto from nzxt - Mon 05 May 2025 10:59:25 AM EDT
Diffstat (limited to 'Technology/Gentoo/gentoo-kernel-bin.md')
| -rw-r--r-- | Technology/Gentoo/gentoo-kernel-bin.md | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/Technology/Gentoo/gentoo-kernel-bin.md b/Technology/Gentoo/gentoo-kernel-bin.md deleted file mode 100644 index 64a6b57..0000000 --- a/Technology/Gentoo/gentoo-kernel-bin.md +++ /dev/null @@ -1,41 +0,0 @@ -#install - -sed -i '$a\sys-fs/lvm2 lvm' /etc/portage/package.use/custom # make sure work ... - -emerge -av sys-fs/cryptsetup sys-kernel/dracut sys-fs/lvm2 sys-boot/efibootmgr sys-kernel/linux-firmware - -vim /etc/dracut.conf - -echo 'add_dracutmodules+=" crypt dm rootfs-block "' > /etc/dracut.conf -# add kernel_cmdline in /dec/dracut.conf - -hostonly="yes" -early_microcode="yes" - -# rd.luks.uuid should specify the UUID of the raw encrypted disk partition. -# root should specify the UUID of the opened / decrypted LUKS mapped device. - -blkid - -kernel_cmdline+="rd.luks.uuid=d53be821-e525-4f9d-a500-eafe439fb56a root=UUID=a59e88d6-f1e0-417a-8eb4-290151f28f67" -install_items="/lib64/elogind/elogind-uaccess-command" - - -rc-update add dmcrypt boot -rc-update add lvm2 boot - -emerge gentoo-kernel-bin - -eselect kernel set x - -emerge @module-rebuild - -cp /boot/vmlinuz-* /boot/efi/bootx64.efi -cp /boot/initramfs-* /boot/efi/initramfs.img - -efibootmgr --create --disk /dev/nvme0n1 --part 1 -L "Gentoo" -l "\efi\bootx64.efi" --unicode "cryptdevice=UUID=d53be821-e525-4f9d-a500-eafe439fb56a root=UUID=a59e88d6-f1e0-417a-8eb4-290151f28f67 rw initrd=\efi\initramfs.img" - - -# for pc - -efibootmgr --create --disk /dev/sda --part 1 -L "Gentoo" -l "\efi\boot\bootx64.efi" --unicode "root=UUID=c3f788c4-2ead-4f94-8d61-f5ea48627ab9 rw initrd=\efi\boot\initramfs.img" |
