Jump to content
Read the Funtoo Newsletter: Summer 2023 ×

iamthepieman

Members
  • Posts

    64
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by iamthepieman

  1.  

    Kernel Emerge

    The sys-kernel/gentoo-sources package is the vanilla kernel with the Gentoo patchset applied. Choose between kernel sources. The sys-kernel/linux-firmware package contains binary blobs needed for some hardware (wlan cards).

    If sys-kernel/gentoo-sources has been selected:

    root #emerge -av sys-kernel/gentoo-sources sys-kernel/linux-firmware
    root #cd /usr/src/linux
    Configure Manual

    Discover which modules are required for the system's hardware:

    root #lspci -nnk

    Configure kernel by enabling each necessary module in the menuconfig interface. Search for specific module names by pressing / in menuconfig. Navigate to the associated feature by pressing the corresponding number listed on the left of the search results.

    root #make menuconfig

    Once finished build kernel and modules:

    root #make -j2
    Automatic

    If things are working nicely in the current install environment, it is possible to use localyesconfig to select all modules currently loaded by the LiveCD:

    root #make localyesconfig

    Build the kernel and modules:

    root #make -j2
    Install

    Install the kernel and modules:

    root #make modules_install
    root #make install
    Bootloader

    Specify the correct setting for the system's firmware. BIOS/MBR is pc, UEFI on x86_64 is efi-64, UEFI on x86 is efi-32:

    FILE /etc/portage/make.confx86 PC BIOS settings for GRUB2
    GRUB_PLATFORMS="pc"
    FILE /etc/portage/make.confx86_64 UEFI settings for GRUB2
    GRUB_PLATFORMS="efi-64"

    Emerge GRUB2:

    root #emerge --ask sys-boot/grub

    Supposing the system has PC BIOS:

    root #grub2-install /dev/sda

    Supposing the system has UEFI firmware:

    root #grub2-install --target=x86_64-efi /dev/sda

    Edit GRUB2's configuration file:

    root #nano /boot/grub/grub.cfg

    Below is a simple GRUB2 configuration file:

    FILE /boot/grub/grub.cfgExample manual config
    set default=0

    set timeout=1

     

    menuentry "Gentoo" {

    linux (hd0,1)/vmlinuz-3.14.4-gentoo root=/dev/sda3 rootfstype=ext4 net.ifnames=0 quiet ro

    }

    Alternatively use the grub2-mkconfig command to generate the configuration file::

    root #grub2-mkconfig -o /boot/grub/grub.cfg
    Found vmlinuz-3.14.4-gentoo
    Network tools

    Install tools needed for configuring the network interfaces:

    root #emerge --ask sys-apps/iproute2 net-misc/dhcpcd net-wireless/wireless-tools net-wireless/iw net-wireless/wpa_supplicant
    Clean up

    Exit chroot, unmount partitions, and reboot:

    root #exit
    root #cd /mnt
    root #umount -R gentoo
    root #reboot
    See also

     

  2. It is possible that drobbins see this post ???

     

    how's possible tomorrow will be 7 days strugglin with this crap!

     

    NO developers,no programmers in this forum ???

     

    easy: boot in 10 secs. I have X 's and all the software possible,,, just need my mouse and keyboard runnin...

  3. Hmm... shouldn't evdev take care of keyboard and mouse as well?   AFAIK, X should have migrated over to the newer API awhile ago.  I don't even use xorg.conf files anymore.  The autodetect is usually better.

     

    In fact, even my touchscreen works (nice with Gnome 3.16) and hotplugging HDMI monitors (except for audio ... I have to manually change the HDMI audio to another device via pulseaudio's control panel if I yank out the hdmi cable).

    well...then the SOLUTION is ?

×
×
  • Create New...