My Ubuntu 18.04 loads really slow. At first the GRUB menu always showed for 30 seconds on every startup. Fiddling around with
/etc/default/grub
was little help. I found the suggestion to run
sudo sed -i "/recordfail_broken=/{s/1/0/}" /etc/grub.d/00_header
Now the GRUB menu doesn't show, but instead there is a blank screen for 10 seconds before the system starts. The problem is that I am not sure what the above command does, so now I don't know how to reverse it and I still haven't solved the slow boot problem.