How can I remove the Try Ubuntu / Install Ubuntu screen on my 20.04 Persistent USB drive?
Being diverted to this screen increases boot time on both Rufus and mkusb Persistent USB drives.
I would prefer a GRUB menuentry for installing Ubuntu.
How can I remove the Try Ubuntu / Install Ubuntu screen on my 20.04 Persistent USB drive?
Being diverted to this screen increases boot time on both Rufus and mkusb Persistent USB drives.
I would prefer a GRUB menuentry for installing Ubuntu.
For mkusb, (12.4.3), the Try/Install screen can be eliminated by removing "maybe-ubiquity" from the persistent grub.cfg menuentry, on a drive made using mkusb. Try/Install has been removed from Persistence option in latest version of mkusb.
For Rufus, (3.10), the Try/Install screen can be eliminated in BIOS mode by overwriting the contents of syslinux.cfg with:
default persistent
label persistent
say Booting an Ubuntu Persistent session...
kernel /casper/vmlinuz
append file=/cdrom/preseed/ubuntu.seed boot=casper persistent initrd=/casper/initrd quiet splash noprompt --
In UEFI mode the Try/Install screen can be eliminated by removing "maybe-ubiquity" from the persistent grub.cfg menuentry.
For Unetbootin, (677), there is not a problem with Try/Install in BIOS mode, but in UEFI mode the Try/Install screen can be eliminated by removing "maybe-ubiquity" from the first grub.cfg menuentry.
The grub.cfg menuentry for installing Ubuntu is:
menuentry "Install Ubuntu" {
set gfxpayload=keep
linux /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash ---
initrd /casper/initrd
}
syslinux.cfg, you will still get the prompt in UEFI mode. Please bear in mind that Ubuntu uses Syslinux for BIOS boot and GRUB for UEFI boot, therefore, with utilities that follow the bootloaders used by the ISO exactly (rather than add their own as you seem to believe), you need to edit BOTHgrub.cfgandsyslinux.cfg. Can you please amend your post to reflect that then? – Akeo Apr 27 '20 at 09:48maybe-ubiquitywhen creating persistent drives with Rufus, but as @sudodus pointed out in the related bug report it may also remove other options that users may want, so I want to consider this carefully. – Akeo Apr 27 '20 at 09:51grub.cfg. Only editingsyslinux.cfg, which is what you suggested, will change nothing when it comes to UEFI boot. So, once again, you need to edit both files for BIOS+UEFI to remove the prompt, and I just wanted to make sure you rectified that. – Akeo Apr 27 '20 at 16:24isolinux/txt.cfg, which is the actual file you want to edit rather than the top levelsyslinux.cfgwhich should only point to the isolinux files, as this is more complex than it seems (I'd need to add a full PCRE library to Rufus to edit only the relevant section) and I don't think it's worth it as long as we have UEFI. – Akeo Apr 27 '20 at 16:35noprompt(which would make sense, since only GRUB seems to havemaybe-ubiquity). And what I am saying is that, because I don't want to downgrade the user experience by forcing a single option (which yoursyslinux.cfgmod would do) addingnopromptfor just thelabel liveentry intxt.cfgis tricky, because I don't have a regular expression engine in Rufus, and I expect that addingnopromptto thelabel live-installsections will have adverse effects. – Akeo Apr 28 '20 at 10:48maybe-ubiquityfromgrub.cfgin a future version of Rufus, as this can be done without affecting the install option. – Akeo Apr 28 '20 at 10:53