KASLR disabled: could not find suitable E820 region!

I´ve had many problems installing Ubuntu in VirtualBox. The last one is this:

enter image description here

Can you help me? I hope yes. Ty


Solution 1:

Boot Fix

In order to boot properly in the first place, highlight your Ubuntu option and press e to edit the boot parameters. Manually insert nokaslr behind quiet splash and then press F10 to continue booting.

Permanent Fix

Using sudo powers edit your /etc/default/grub and add the option nokaslr to the line:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nokaslr"

You may have other options besides quiet splash which you will want to leave in place. Save the file and exit your editor. Then run:

sudo update-grub

Second Option

If inserting nokaslr above doesn't work, then repeat both sections above but insert kaslr instead.

TL;DR

KASLR randomizes the layout of Kernel address space making it harder for snooping programs to hack kernel working storage and obtain passwords. It was superceded by KAISER which was superceded KPTI (Kernel Page Table Isolation) for Meltdown and Spectre Security hole violations.

Solution 2:

The error is clear actually, you just need to allocate more memory.

From System menu set enough memory, >1GB and be sure you have enough memory in your base system.

It worked for me.