Ставлю по хендбуку. Вот, что в нем написано: Choose an appropriate kernel source and install it using emerge:
root #emerge --ask sys-kernel/gentoo-sources
This will install the Linux kernel sources in /usr/src/ in which a symbolic link called linux will be pointing to the installed kernel source:
root #ls -l /usr/src/linux
lrwxrwxrwx 1 root root 12 Oct 13 11:04 /usr/src/linux -> linux-3.16.5-gentoo
Но переписав эти две команды в консоль сразу получаю ошибки:
livecd / # emerge --ask sys-kernel/gentoo-sources
* IMPORTANT: 11 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
These are the packages that would be merged, in order:
Calculating dependencies... done!
emerge: there are no ebuilds to satisfy "sys-kernel/gentoo-sources".
emerge: searching for similar names...
emerge: Maybe you meant any of these: sys-kernel/linux-headers, sys-apps/gentoo-functions? [br] livecd / # ls -l /usr/src/linux[/br]
ls: невозможно получить доступ к /usr/src/linux: Нет такого файла или каталога