Upgrade Kernel for the Ubuntu
-
I have tried to upgrade the kernel 3.13 to 4.2,but i am getting errors in the upgrade of the kernel.I have given the error i am getting in the kernel update.How to update?
support@support-G31M-ES2L:~/Downloads/linux-4.2$ make
scripts/kconfig/conf --silentoldconfig Kconfig
*** Configuration file ".config" not found!
*** Please run some configurator (e.g. "make oldconfig" or
*** "make menuconfig" or "make xconfig").
make[2]: *** [silentoldconfig] Error 1
make[1]: *** [silentoldconfig] Error 2
/bin/sh: 1: cannot create scripts/basic/modules.order: Permission denied
make[1]: *** [scripts/basic/modules.order] Error 2
make: *** [scripts_basic] Error 2
support@support-G31M-ES2L:~/Downloads/linux-4.2$ sudo bash
root@support-G31M-ES2L:~/Downloads/linux-4.2# make
scripts/kconfig/conf --silentoldconfig Kconfig
*** Configuration file ".config" not found!
*** Please run some configurator (e.g. "make oldconfig" or
*** "make menuconfig" or "make xconfig").
make[2]: *** [silentoldconfig] Error 1
make[1]: *** [silentoldconfig] Error 2
make: *** No rule to make targetinclude/config/auto.conf', needed by
include/config/kernel.release'. Stop.
root@support-G31M-ES2L:~/Downloads/linux-4.2# ke
kerneloops kerneloops-submit keytool
root@support-G31M-ES2L:~/Downloads/linux-4.2# kerneloops
kerneloops kerneloops-submit
root@support-G31M-ES2L:~/Downloads/linux-4.2# kerneloops
root@support-G31M-ES2L:~/Downloads/linux-4.2# make distclean
CLEAN arch/x86/tools
CLEAN scripts/basic
CLEAN scripts/kconfig
CLEAN include/config include/generated arch/x86/include/generated
root@support-G31M-ES2L:~/Downloads/linux-4.2# build/linux/kernel
bash: build/linux/kernel: No such file or directory
root@support-G31M-ES2L:~/Downloads/linux-4.2# ls
arch Documentation init lib README sound
block drivers ipc MAINTAINERS REPORTING-BUGS tools
COPYING firmware Kbuild Makefile samples usr
CREDITS fs Kconfig mm scripts virt
crypto include kernel net security
root@support-G31M-ES2L:~/Downloads/linux-4.2# cd kernel/
root@support-G31M-ES2L:~/Downloads/linux-4.2/kernel# ls
acct.c events locking softirq.c
async.c exec_domain.c Makefile stacktrace.c
audit.c exit.c module.c stop_machine.c
auditfilter.c extable.c module-internal.h sys.c
audit.h fork.c module_signing.c sysctl_binary.c
auditsc.c freezer.c notifier.c sysctl.c
audit_tree.c futex.c nsproxy.c sys_ni.c
audit_watch.c futex_compat.c padata.c system_certificates.S
backtracetest.c gcov panic.c system_keyring.c
bounds.c groups.c params.c taskstats.c
bpf hung_task.c pid.c task_work.c
capability.c irq pid_namespace.c test_kprobes.c
cgroup.c irq_work.c power time
cgroup_freezer.c jump_label.c printk torture.c
compat.c kallsyms.c profile.c trace
configs kcmp.c ptrace.c tracepoint.c
configs.c Kconfig.freezer range.c tsacct.c
context_tracking.c Kconfig.hz rcu uid16.c
cpu.c Kconfig.locks reboot.c up.c
cpu_pm.c Kconfig.preempt relay.c user.c
cpuset.c kexec.c resource.c user_namespace.c
crash_dump.c kmod.c sched user-return-notifier.c
cred.c kprobes.c seccomp.c utsname.c
debug ksysfs.c signal.c utsname_sysctl.c
delayacct.c kthread.c smpboot.c watchdog.c
dma.c latencytop.c smpboot.h workqueue.c
elfcore.c livepatch smp.c workqueue_internal.h
root@support-G31M-ES2L:~/Downloads/linux-4.2/kernel# cd ..
root@support-G31M-ES2L:~/Downloads/linux-4.2# petalinux-build -c kernel -x distclean
petalinux-build: command not found -
This is what I found on Ubuntu's forums.
The simplest set of instructions I always used for kernel upgrade / downgrade are by ubuntuforums.org user by the name of lykwydchykyn (url modified by me for this post):
Go here: http://kernel.ubuntu.com/~kernel-ppa/mainline/
Download 3 (maybe 4) debs to a folder somewhere:linux-headers-VERSION-NUMBER_all.deb
linux-headers-VERSION-NUMBER_amd64.deb
linux-image-VERSION-NUMBER_amd64.deb
linux-image-extra-VERSION-NUMBER_amd64.deb # if available
Install the debs with whatever package manager front-end you use (is gdebi still around?), or use these commands:cd /path/to/folder/where/you/put/the/debs
sudo dpkg -i .deb -
@Lakshmana said:
I have tried to upgrade the kernel 3.13 to 4.2,but i am getting errors in the upgrade of the kernel.
So I'm sure that we know what the answer will be here (crazy manager who is trying to sabotage the company) but you should really never do this. The entire version of Ubuntu and everything around it is based on the kernel. The kernel should match exactly or you are going down a path of serious complexity.
We already know that in a previous post your manager required you to use an old version of Ubuntu which is done to select a specific, old kernel version. Now he is, presumably, forcing you to move to an incompatible kernel..... why?
-
@scottalanmiller said:
presumably, forcing you to move to an incompatible kernel..... why?
NO my manager is not giving any task.But searching to do a task which gives some information about the Linux OS.Since I am worked on that but the kernel updated but there is an error came while starting with new kernel 4.2.So I have deleted the kernel 4.2 from the system and then used the older kernel 3.13
-
@Lakshmana said:
@scottalanmiller said:
presumably, forcing you to move to an incompatible kernel..... why?
NO my manager is not giving any task.But searching to do a task which gives some information about the Linux OS.Since I am worked on that but the kernel updated but there is an error came while starting with new kernel 4.2.So I have deleted the kernel 4.2 from the system and then used the older kernel 3.13
Yes, I'm not aware of any business process that would have you changing the kernel in Ubuntu. That's a fun thing to try for a hobby just to see if you can, but it is not a normal business process as it does not lead to stability and reliability. Imagine running Windows XP but deciding to install the Windows 10 kernel. Not likely going to work and no business has ever tried to do this. But it might be fun to know "if you could."