boxcutter / ubuntu

Virtual machine templates for Ubuntu written in legacy JSON
Apache License 2.0
739 stars 374 forks source link

ubuntu1510 does not build #22

Closed rrva closed 8 years ago

rrva commented 9 years ago

ubuntu1510 does not build, presumably due to changes in the installer. I managed to get past the language selection by changing

       "boot_command": [
-        "<esc><esc><enter><wait>",
+        "<enter><esc><enter><wait>",

But more is needed. When the boot commands are entered, the installer gets stuck again on language selection. Perhaps a boot commandline option to set the language is needed?

jgoldschrafe commented 9 years ago

Investigating the same problem, I noticed it flashed something on the screen really quickly (a single frame) before returning to the language selection screen. I captured the video output in VirtualBox and it just says the following:

Loading bootlogo...

Initializing gfx code...

Almost entirely worthless, but hopefully this saves someone the time of having to step through the video frame by frame.

andrewsomething commented 9 years ago

FYI: I'm running into the same thing and opened a bug against the installer in Ubuntu: https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1505839

andrewsomething commented 9 years ago

This is pretty ugly, but I've managed to work around this for now by doing:

"<enter><wait><f6><esc><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
ichilton commented 9 years ago

I can confirm that @andrewsomething's workaround worked fine for me :)

devekko commented 8 years ago

am new to packer, apologies

how is the workaround used?

I tried placing the "f6>esc>..... " block in the ubuntu.json file, but it looks like I hit a text limit for the expert mode in the installer and cuts of commands

 "boot_command": [
        "<enter><wait><f6><esc><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
        "<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
        "<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
        "<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
        "/install/vmlinuz auto",
rickard-von-essen commented 8 years ago

See https://github.com/chef/bento/pull/483/files for a working example.

annawake commented 8 years ago

It builds now https://github.com/boxcutter/ubuntu/commit/f01883469354db1e7ed92b9b96741b4d29d1b988 - published out to atlas as well.

devekko commented 8 years ago

thanks

no vmware provider?