Open jimsrc opened 6 years ago
If you doubleclick the VM from the VirtualBox window, you can open the GUI. What does the screen say while it's waiting for a request of preseed.cfg?
so I just reproduced the above, and then checked the GUI right after the "Done typing." message, and I get this:
It stays that way even after the stacktrace output.
Hi again, So after I shutdown the VM above, I start it again to see if anything was configured anyway. After I start it in graphical mode, I get the installation window, like the OS never got installed in the above procedure.
Is it possible that the boot_cmd_sequence
is missing something? (my keyboard layout is spanish, can it be an issue?). This is my boot_cmd_sequence
in the definition.rb
:
:boot_cmd_sequence => [
'<Esc><Esc><Enter>',
'/install/vmlinuz noapic preseed/url=http://%IP%:%PORT%/preseed.cfg ',
'debian-installer=en_US auto locale=en_US kbd-chooser/method=us ',
'hostname=%NAME% ',
'fb=false debconf/frontend=noninteractive ',
'keyboard-configuration/modelcode=SKIP keyboard-configuration/layout=USA keyboard-configuration/variant=USA console-setup/ask_detect=false ',
'initrd=/install/initrd.gz -- <Enter>'
],
I'm trying to build && export a box for Ubuntu 12.04.5. I have the .iso and I have built a VM by hand though the graphical UI of VirtualBox several times before. I'm a new user of veewee, but I think I understand how to use it.
First try:
These are my steps:
At this point, the output looks normal but it times out after the "Done typing." message. The full output is below at (*1). I execute the "export" anyway as:
but it waits forever:
Of course, I edited the
:iso_file
in thedefinition.rb
so it matches my .iso filename.Second try:
I was wondering why the "ssh login" waited forever, so I executed
ifconfig
in my host to check if anyvbox*
interface was present: there was not. So I figured maybe some network configuration was missing. By looking at other VMs I already have, I tried to catch their network settings into mydefinition.rb
file. So I executed again thevbox define
(with another definition name), and then added some parameters in thedefinition.rb
file:While the
vbox build
was executing, I saw thevbox*
interface in my host, by I couldn't login with ssh yet (using22
and7222
port number). The full output of thevbox build
is below in (*2).Thanks in advance!!
Full output (*1):
Full output (*2):