summaryrefslogtreecommitdiff
path: root/Technology/Gentoo/gentoo-kernel-bin.md
diff options
context:
space:
mode:
Diffstat (limited to 'Technology/Gentoo/gentoo-kernel-bin.md')
-rw-r--r--Technology/Gentoo/gentoo-kernel-bin.md41
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"