User:Garbanzo

My Gentoo install notes. These are some of the problem I had following the handbook.

(chroot) livecd / # emerge --ask sys-kernel/genkernel

* IMPORTANT: 13 news items need reading for repository 'gentoo'. * Use eselect news read to view new items.

These are the packages that would be merged, in order:

Calculating dependencies... done! [ebuild N     ] app-arch/cpio-2.12-r1  USE="nls" [ebuild N     ] sys-kernel/linux-firmware-20180730  USE="-savedconfig" [ebuild N     ] virtual/libudev-232  USE="-static-libs -systemd" ABI_X86="(64) -32 (-x32)" [ebuild  R    ] sys-apps/util-linux-2.32-r4  USE="static-libs* udev*" [ebuild N     ] sys-kernel/genkernel-3.5.3.3  USE="firmware -cryptsetup (-ibm) (-selinux)"

The following USE changes are necessary to proceed: (see "package.use" in the portage(5) man page for more details) >=sys-apps/util-linux-2.32-r4 static-libs
 * 1) required by sys-kernel/genkernel-3.5.3.3::gentoo
 * 2) required by sys-kernel/genkernel (argument)

Would you like to add these changes to your config files? [Yes/No] n (chroot) livecd / #

Ran it again, said Yes and then:

dispatch-conf

That fixed genkernel

And it built!

(chroot) livecd / # genkernel all
 * Gentoo Linux Genkernel; Version 3.5.3.3
 * Running with options: all

patching file console-tools/openvt.c Hunk #1 succeeded at 147 (offset 23 lines). patching file modutils/modprobe.c Hunk #1 succeeded at 444 (offset 31 lines). Hunk #2 succeeded at 492 (offset 32 lines). patching file util-linux/mdStart.c patching file libbb/u_signal_names.c Hunk #1 succeeded at 76 (offset 10 lines). Hunk #2 succeeded at 100 (offset 10 lines).
 * Using genkernel.conf from /etc/genkernel.conf
 * Sourcing arch-specific config.sh from /usr/share/genkernel/arch/x86_64/config.sh ..
 * Sourcing arch-specific modules_load from /usr/share/genkernel/arch/x86_64/modules_load ..
 * Linux Kernel 4.14.61-gentoo for x86_64...
 * .. with config file /usr/share/genkernel/arch/x86_64/generated-config
 * kernel: Using config from /usr/share/genkernel/arch/x86_64/generated-config
 * kernel: >> Running mrproper...
 * >> Running oldconfig...
 * kernel: >> Cleaning...
 * >> Compiling 4.14.61-gentoo bzImage...
 * >> Not installing firmware as requested by configuration FIRMWARE_INSTALL=no...
 * >> Compiling 4.14.61-gentoo modules...
 * >> Installing 4.14.61-gentoo modules (and stripping)
 * >> Generating module dependency data...
 * Copying config for successful build to /etc/kernels/kernel-config-x86_64-4.14.61-gentoo
 * busybox: >> Applying patches...
 * - 1.18.1-openvt.diff
 * - busybox-1.20.2-modprobe.patch
 * - busybox-1.26.0-mdstart.patch
 * - busybox-1.7.4-signal-hack.patch
 * busybox: >> Configuring...
 * busybox: >> Compiling...
 * busybox: >> Copying to cache...
 * initramfs: >> Initializing...
 * >> Appending devices cpio data...
 * >> Appending base_layout cpio data...
 * >> Appending auxilary cpio data...
 * >> Copying keymaps
 * >> Appending busybox cpio data...
 * >> Appending modules cpio data...
 * >> Appending blkid cpio data...
 * >> Appending modprobed cpio data...
 * >> Appending linker cpio data...
 * >> Deduping cpio...
 * >> Compressing cpio data (.xz)...
 * Kernel compiled successfully!
 * Required Kernel Parameters:
 * root=/dev/$ROOT
 * Where $ROOT is the device node for your root partition as the
 * one specified in /etc/fstab
 * If you require Genkernel's hardware detection features; you MUST
 * tell your bootloader to use the provided INITRAMFS file.
 * one specified in /etc/fstab
 * If you require Genkernel's hardware detection features; you MUST
 * tell your bootloader to use the provided INITRAMFS file.
 * tell your bootloader to use the provided INITRAMFS file.


 * WARNING... WARNING... WARNING...
 * Additional kernel cmdline arguments that *may* be required to boot properly...
 * With support for several ext* filesystems available, it may be needed to
 * add "rootfstype=ext3" or "rootfstype=ext4" to the list of boot parameters.

(chroot) livecd / # ls -l /boot total 16392 -rw-r--r-- 1 root root 7598596 Aug 14 21:32 initramfs-genkernel-x86_64-4.14.61-gentoo -rw-r--r-- 1 root root 6156848 Aug 14 21:26 kernel-genkernel-x86_64-4.14.61-gentoo drwx-- 2 root root  12288 Aug 14 19:13 lost+found -rw-r--r-- 1 root root 3016305 Aug 14 21:26 System.map-genkernel-x86_64-4.14.61-gentoo

This magically fixed networking touch /etc/udev/rules.d/80-net-name-slot.rules

Stuff to get chroot from the live cd mount /dev/nvme0n1p3 /mnt/gentoo swapon /dev/sda1 mount --types proc /proc /mnt/gentoo/proc mount --rbind /sys /mnt/gentoo/sys mount --make-rslave /mnt/gentoo/sys mount --rbind /dev /mnt/gentoo/dev mount --make-rslave /mnt/gentoo/dev

chroot /mnt/gentoo /bin/bash source /etc/profile export PS1="(chroot) ${PS1}"

XOrg Problems
Took awhile to get X working. Had help from the DE Fourm 'Problems with getting X to work'. Fixed it by using Kernel 14.18.5

Mouse USB setting needed to be changed in the Kernel too

Printing Problems
hplip can't find my ppd file automatically - picked it manually

dbus and cups were not starting automatically

lp: Error - No default printer.