I am creating a custom live CD based on Ubuntu 15.10. When the user sees the first boot screen (and doesn't press a key), it will automatically boot into a GUI menu where the user can choose 'Try Ubuntu' or 'Install Ubuntu':
However, if the user presses a key, it gets a text menu. Selecting 'Try Ubuntu' boots directly into the desired live CD:
I can successfully remove the installer boot entries in the text menu (isolinux/txt.cfg
), but this doesn't change the default boot option when the user does not press any key. Removing the installation package ubiquity
is not an option, I just want to prevent the user from starting the installer directly.
How can I change the default boot option to boot into 'Try Ubuntu'?
Best Answer
This is the simplified and revised version of this older answer.
To boot directly to Live session, look for
/isolinux/isolinux.cfg
in the content of the ISO image file and modify these two lines of code:Replace the
default vesamenu.c32
withdefault live
Comment the last line
ui gfxboot bootlogo
by inserting#
at the beginning of lineStep 2 is required, otherwise the initial splash screen will still be visible until timeout. This is due to
ui
module will override thedefault
setting, as explained on the Wiki (see "References").Default configuration
Modified configuration
I have tested the modified configuration using Xubuntu 14.04 ISO image. The same steps are likely applicable to any Ubuntu and official flavours, regardless of the release.
References
How do I configure syslinux to boot immediately on Unix & Linux Stack Exchange
Config on Syslinux Wiki