Skip to content

Instantly share code, notes, and snippets.

@themactep
Created February 7, 2010 19:14
Show Gist options
  • Save themactep/297614 to your computer and use it in GitHub Desktop.
Save themactep/297614 to your computer and use it in GitHub Desktop.
Emerge Kernel sources
$ sudo -s
# emerge -uva sys-kernel/gentoo-sources
# cd /usr/src/linux
Copy recent kernel config to start with it
# zcat /proc/config.gz > .config
# make menuconfig
Enable V4L
| Device Drivers -->
| <*> Multimedia support -->
| <*> Video For Linux
Compile new kernel, install it with modules
# make
# make modules_install
# mount /boot
# make install
Add new kernel to grub boot menu
(adapt to your kernel version and root partition)
# vi /boot/grub/menu.lst
| title Gentoo Linux new
| root (hd0,0)
| kernel /boot/vmlinuz-2.6.32-gentoo-r3 root=/dev/sda3
reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment