I am trying to automate the installation of Ubuntu Server 18.04 Bionic using a custom ISO. No existing solutions I can find seem to work. All I want to accomplish at this point is to automatically select the language. At least then I can verify I'm not going down another dead-end.

For the ISO, I've started with ubuntu-18.04-live-server-amd64.iso, and I've updated the ISO to have the following files:


d-i debian-installer/locale string en_US
d-i debian-installer/language string en


keyboard us
lang en_US
langsupport en_US
part / --onpart=sda1 --grow
rootpw --disabled
timezone --utc






default live
label live
  menu label ^Install Ubuntu Server
  kernel /casper/vmlinuz
  append boot=casper initrd=/casper/initrd.gz auto file=/cdrom/preseed.cfg locale=en_US languagechooser/language-name=English localechooser/supported-locales=en_US.UTF-8 countrychooser/shortlist=US priority=critical ks=cdrom:/ks.cfg ---


include menu.cfg
prompt 0
timeout 1

I've verified the "live" block is being started by renaming it and seeing that the system will not even boot then.

I've tried numerous combinations of different approaches. This is the simplest test case I can come up with that does nothing but attempt to set the language in every documented way I can find.


2 Answers 2


As far as I know, preseed system only work with Debian Installer used by alternate ISO. It will definitely not working with live ISO.

  • That's really helpful information, but currently Canonical is not providing any other ISOs.
    – Rich Remer
    Commented May 17, 2018 at 0:32
  • OK, I found the other ISOs. I've gotta rework some things so I can test.
    – Rich Remer
    Commented May 17, 2018 at 2:23
  • 3
    The alternative installer for AMD64 is at: cdimage.ubuntu.com/releases/18.04/release/…. Commented May 19, 2018 at 22:57

As @olivierb2 states, only the non-Live DVD will allow you to automate.

In your isolinux/txt.cfg

  • Live DVD has the kernel @ /casper/vmlinuz
  • The non-Live has the kernel @ /install/vmlinuz

From your code above, it looks like you are using the Live DVD..

Download from here http://cdimage.ubuntu.com/releases/18.04/release/ (as long as it matches your CPU and does not contain the word 'Live' in the file name).

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .