I have recently installed Ubuntu 16.04 and it seems to freeze randomly. I tried to check out the the solutions at Ubuntu 15.10 and 16.04 keep freezing randomly but on installing these kernels, I got a kernel panic at boot, so I furthur looked for solutions at Ubuntu 16.04 constantly freezing leading to kernel panic but couldn't figure out how to resolve the problem. Can anyone tell me which exact kernels to install so that both issues (kernel panic and random freezing) is resolved? The kernel that came preinstalled with 16.04 was 4.4.0-21-generic and these are some extra details:
Distributor ID: Ubuntu
Description: Ubuntu 16.04 LTS
Release: 16.04
Codename: xenial
Processor: Intel® Pentium(R) CPU N3540 @ 2.16GHz × 4
Graphics: Gallium 0.4 on llvmpipe (LLVM 3.8, 128 bits)
Ram : 4Gb
Os type - 64 bit architecture
Do tell me if I need to provide any other details.
Edit - 1 )
saisumit@saisumit-Inspiron-3551:~$ sudo dpkg -l | grep linux-headers-4.7*.deb
[sudo] password for saisumit:
saisumit@saisumit-Inspiron-3551:~$ sudo dpkg -l |grep linux-image-4.7*.deb
saisumit@saisumit-Inspiron-3551:~$ sudo update-grub
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-4.7.0-040700rc3-generic
Found initrd image: /boot/initrd.img-4.7.0-040700rc3-generic
Found linux image: /boot/vmlinuz-4.4.0-21-generic
Found initrd image: /boot/initrd.img-4.4.0-21-generic
Adding boot menu entry for EFI firmware configuration
done
saisumit@saisumit-Inspiron-3551:~$
I installed using this method
wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.7-rc3-yakkety/linux-headers-4.7.0-040700rc3_4.7.0-040700rc3.201606121131_all.deb
wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.7-rc3-yakkety/linux-headers-4.7.0-040700rc3-generic_4.7.0-040700rc3.201606121131_i386.deb
wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.7-rc3-yakkety/linux-image-4.7.0-040700rc3-generic_4.7.0-040700rc3.201606121131_i386.deb
sudo dpkg -i linux-headers-4.7*.deb linux-image-4.7*.deb
EDIT - 2 ( installed grub customizer )
sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt-get update
sudo apt-get install grub-customizer