Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Im running gentoo with kernel 3.10.7-r1 currently and would like to upgrade to 3.11.5. I downloaded the kernel source, how would i do this? Do you mv the whole kernel into /usr/src/linux and compile it? Then edit grub.conf to boot off it or what? Can someone explain the process to me?
I'm not a gentoo user, but I do know that gentoo has a reputation of providing pretty good documentation. Is there some reason you can't use the procedure documented at http://www.gentoo.org/doc/en/kernel-upgrade.xml?
I agree with Evo2. Check the gentoo online documentation.
I also never used gentoo but I did compile a kernel from crux linux. I do have one tip for a new .config creation.
Configuring a kernel is complex. So I always use an existing .config file as a template. Use your existing .config file if you already have a working kernel. Or get one from a distro as close to the new kernel version if possible.
Next, run make oldconfig
this will read the existing .config file and will prompt you for options in the current kernel source that are not found in the file. This is useful when taking an existing configuration and moving it to a new kernel.
Okay so far i moved the 3.11.5 kernel into /usr/src and linked it to /usr/src/linux, i set added symlink to my USE flag and then copied my .config from the old kernel into the new one and tried doing make menuconfig but i got this:
Code:
/bin/sh: /usr/src/linux-3.11.5/scripts/kconfig/lxdialog/check-lxdialog.sh: No such file or directory
/bin/sh: /usr/src/linx-3.11.5/scripts/kconfig/lxdialog/check-lxdialog.sh: No such file or directory
make[1]: *** No rule to make target 'scripts/kconfig/lxdialog/checklist.c', needed by 'scripts/kconfig/lxdialog/checklist.o'. Stop. Make: *** [menuconfig] Error 2
Okay so far i moved the 3.11.5 kernel into /usr/src and linked it to /usr/src/linux, i set added symlink to my USE flag and then copied my .config from the old kernel into the new one and tried doing make menuconfig but i got this:
Code:
/bin/sh: /usr/src/linux-3.11.5/scripts/kconfig/lxdialog/check-lxdialog.sh: No such file or directory
/bin/sh: /usr/src/linx-3.11.5/scripts/kconfig/lxdialog/check-lxdialog.sh: No such file or directory
make[1]: *** No rule to make target 'scripts/kconfig/lxdialog/checklist.c', needed by 'scripts/kconfig/lxdialog/checklist.o'. Stop. Make: *** [menuconfig] Error 2
This will parse your old config file and bring it up to date. It may ask you some questions in regard to new features. Try to answer them, but if you aren't sure the default response will usually not break your system. Once it finishes, you should be able to run
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.