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 […]
Problem VFS: Cannot open root device "sda1" or unknown-block(0,0) Please append a correct "root=" boot option Kernel panic - not syncing: VFS: Unable to mount root fs on unknown block(0,0) Or Volume group "vgubuntu-studio" not found Cannot process volume group vgubuntu-studio Gave up waiting for root file system device. Root Cause SATA/SAS controller driver not […]
1. Installing Necessary Packages schroot squashfs-tools cdrtools syslinux dev-libs/libisoburn emerge -avt schroot squashfs-tools cdrtools libisoburn modprobe squashfs About squashfs: A compressed read-only file system for Linux. 2. Downloading Gentoo minimal liveCD https://www.gentoo.org 3. Mounting ISO as a file system We will mount Gentoo liveCD as directory: /mnt/gentoo, mount Gentoo liveCD squashfs as /mnt/squashfs, mount customize […]
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 # […]