unattended Bionic server install - set language

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












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:



preseed.cfg



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


ks.cfg



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


isolinux/lang



en


isolinux/langlist



en


isolinux/txt.cfg



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 ---


isolinux/isolinux.cfg



path 
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.







share|improve this question


























    up vote
    0
    down vote

    favorite












    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:



    preseed.cfg



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


    ks.cfg



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


    isolinux/lang



    en


    isolinux/langlist



    en


    isolinux/txt.cfg



    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 ---


    isolinux/isolinux.cfg



    path 
    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.







    share|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      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:



      preseed.cfg



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


      ks.cfg



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


      isolinux/lang



      en


      isolinux/langlist



      en


      isolinux/txt.cfg



      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 ---


      isolinux/isolinux.cfg



      path 
      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.







      share|improve this question














      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:



      preseed.cfg



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


      ks.cfg



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


      isolinux/lang



      en


      isolinux/langlist



      en


      isolinux/txt.cfg



      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 ---


      isolinux/isolinux.cfg



      path 
      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.









      share|improve this question













      share|improve this question




      share|improve this question








      edited May 16 at 19:00









      mook765

      2,8052717




      2,8052717










      asked May 16 at 4:13









      Rich Remer

      1236




      1236




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          2
          down vote



          accepted










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






          share|improve this answer




















          • That's really helpful information, but currently Canonical is not providing any other ISOs.
            – Rich Remer
            May 17 at 0:32










          • OK, I found the other ISOs. I've gotta rework some things so I can test.
            – Rich Remer
            May 17 at 2:23










          • The alternative installer for AMD64 is at: cdimage.ubuntu.com/releases/18.04/release/….
            – Lencho Reyes
            May 19 at 22:57










          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );








           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1036783%2funattended-bionic-server-install-set-language%23new-answer', 'question_page');

          );

          Post as a guest






























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          2
          down vote



          accepted










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






          share|improve this answer




















          • That's really helpful information, but currently Canonical is not providing any other ISOs.
            – Rich Remer
            May 17 at 0:32










          • OK, I found the other ISOs. I've gotta rework some things so I can test.
            – Rich Remer
            May 17 at 2:23










          • The alternative installer for AMD64 is at: cdimage.ubuntu.com/releases/18.04/release/….
            – Lencho Reyes
            May 19 at 22:57














          up vote
          2
          down vote



          accepted










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






          share|improve this answer




















          • That's really helpful information, but currently Canonical is not providing any other ISOs.
            – Rich Remer
            May 17 at 0:32










          • OK, I found the other ISOs. I've gotta rework some things so I can test.
            – Rich Remer
            May 17 at 2:23










          • The alternative installer for AMD64 is at: cdimage.ubuntu.com/releases/18.04/release/….
            – Lencho Reyes
            May 19 at 22:57












          up vote
          2
          down vote



          accepted







          up vote
          2
          down vote



          accepted






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






          share|improve this answer












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







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered May 16 at 18:51









          olivierb2

          1,40457




          1,40457











          • That's really helpful information, but currently Canonical is not providing any other ISOs.
            – Rich Remer
            May 17 at 0:32










          • OK, I found the other ISOs. I've gotta rework some things so I can test.
            – Rich Remer
            May 17 at 2:23










          • The alternative installer for AMD64 is at: cdimage.ubuntu.com/releases/18.04/release/….
            – Lencho Reyes
            May 19 at 22:57
















          • That's really helpful information, but currently Canonical is not providing any other ISOs.
            – Rich Remer
            May 17 at 0:32










          • OK, I found the other ISOs. I've gotta rework some things so I can test.
            – Rich Remer
            May 17 at 2:23










          • The alternative installer for AMD64 is at: cdimage.ubuntu.com/releases/18.04/release/….
            – Lencho Reyes
            May 19 at 22:57















          That's really helpful information, but currently Canonical is not providing any other ISOs.
          – Rich Remer
          May 17 at 0:32




          That's really helpful information, but currently Canonical is not providing any other ISOs.
          – Rich Remer
          May 17 at 0:32












          OK, I found the other ISOs. I've gotta rework some things so I can test.
          – Rich Remer
          May 17 at 2:23




          OK, I found the other ISOs. I've gotta rework some things so I can test.
          – Rich Remer
          May 17 at 2:23












          The alternative installer for AMD64 is at: cdimage.ubuntu.com/releases/18.04/release/….
          – Lencho Reyes
          May 19 at 22:57




          The alternative installer for AMD64 is at: cdimage.ubuntu.com/releases/18.04/release/….
          – Lencho Reyes
          May 19 at 22:57












           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1036783%2funattended-bionic-server-install-set-language%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          pylint3 and pip3 broken

          Missing snmpget and snmpwalk

          How to enroll fingerprints to Ubuntu 17.10 with VFS491