北肙

当你不能够再拥有,唯一可以做的,就是令自己不要忘记。

Tag: bootloader

1. Necessary Packages sys-boot/grub sys-fs/dosfstools sys-block/parted GRUB_PLATFORMS variable for controlling target platform for grub FILE /etc/portage/make.conf Available options: efi-64, efi-32 pc coreboot emu ieee1275 loongson multiboot qemu, qemu-mips uboot xen, xen-32, xen-pvh GRUB_PLATFORMS="efi-64" USE for packages FILE /etc/portage/package.use/grub # Enabling lvm2 support if '/' is mounted as a LVM partition sys-boot/grub device-mapper Installing packages emerge […]

1. Install Tools for Generating Initramfs emerge -avt genkernel # both genkernel and dracut are fine, # 'darcut' is more recommended. emerge -avt dracut For genkernel FILE /etc/default/grub Adding dolvm as a kernel boot parameter GRUB_CMDLINE_LINUX="dolvm" For dracut FILE /etc/default/grub Adding LVM support to the kernel boot parameters GRUB_CMDLINE_LINUX="rd.lvm.lv=vg00/lv_root" 2. Create LV and Migrate Data # […]