Ubuntu – Ubuntu 16.04 boot error with call trace

16.04boot

I was using Ubuntu server 16.04 well and suddenly I got a boot error one day. The boot error message looks like the image below. What is the problem and how should I fix it?

boot error with call trace

Best Answer

Fix boot issue's in Ubuntu :


First boot into repair mode by pressing "e" while booting.

Then choose "Fix broken packages"

After that choose "Update GRUB bootloader"

Drop to ROOT shell.

replace /dev/sdX with your Ubuntu partition

grub-install /dev/sdX
grub-install --recheck /dev/sdX
update-grub
reboot

recovery-mode

If this won't fix your boot issue use one of the following fixes.


With Boot-Repair:

Login to Ubuntu with a live USB.

In terminal use the following commands to install boot-repair :

sudo apt-add-repository ppa:yannubuntu/boot-repair

sudo apt-get update

sudo apt-get install -y boot-repair

boot-repair

Boot-Repair

Click on Recommended repair to fix your boot.


From the terminal :

sudo fdisk -l
sudo blkid

Run the following commands to mount the Ubuntu partition at /mnt/ubuntu, replacing /dev/sdX with the device name of your Ubuntu partition from the above commands:

sudo mkdir /mnt/ubuntu

sudo mount /dev/sdX /mnt/ubuntu

Run the following command to reinstall grub from the live CD, replacing /dev/sdX with the device name of the hard disk above:

sudo grub-install --boot-directory=/mnt/ubuntu/boot /dev/sdX

Update grub :

sudo update-grub

Reboot :

sudo reboot

This will fix your boot issue.

Related Question