I want to boot directly into my Xubuntu. I searched a bit online and found out that you can edit the file /etc/default/grub
to make the timeout of GRUB 0 seconds. What you have to do is change GRUB_TIMEOUT
to 0
and then in your shell run sudo update-grub
. I did this, but after rebooting my system still had a 30 second timeout. After further investigation I found the file /boot/grub/grub.cfg
and I found these two lines of code:
if [ "${recordfail}" = 1 ] ; then
set timeout=30 <-------------------------------!!
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=0
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=0
fi
fi
if [ $grub_platform = efi ]; then
set timeout=30 <-------------------------------!!
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
fi
fi
(I pointed at the two lines with this symbol: <---!!
). I think that these have something to do with my problem and why the timeout is 30 seconds. I can change them but I didn't because in the file it's stated explicitly to not change anything in the file so I turned to this platform. Could you recommend a solution?
Ubuntu: 19.04