unattended Bionic server install - set language
up vote
1
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.
system-installation 18.04 preseed
add a comment |
up vote
1
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.
system-installation 18.04 preseed
add a comment |
up vote
1
down vote
favorite
up vote
1
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.
system-installation 18.04 preseed
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.
system-installation 18.04 preseed
system-installation 18.04 preseed
edited May 16 at 19:00
mook765
3,68321330
3,68321330
asked May 16 at 4:13
Rich Remer
1286
1286
add a comment |
add a comment |
2 Answers
2
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.
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
add a comment |
up vote
0
down vote
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).
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
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.
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
add a comment |
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.
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
add a comment |
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.
As far as I know, preseed system only work with Debian Installer used by alternate ISO. It will definitely not working with live ISO.
answered May 16 at 18:51
olivierb2
1,57468
1,57468
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
add a comment |
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
add a comment |
up vote
0
down vote
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).
add a comment |
up vote
0
down vote
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).
add a comment |
up vote
0
down vote
up vote
0
down vote
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).
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).
answered Nov 27 at 11:29
mohclips
1
1
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown