Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NS_ERROR_FAILURE (0x80004005) when Building Win7 on Ubuntu #129

Open
leetschau opened this issue Jul 12, 2024 · 0 comments
Open

NS_ERROR_FAILURE (0x80004005) when Building Win7 on Ubuntu #129

leetschau opened this issue Jul 12, 2024 · 0 comments

Comments

@leetschau
Copy link

Environment

  • Host OS: Ubuntu 22.04.3
  • Packer version: v1.11.1
  • packer plugins:
    • packer-plugin-vagrant_v1.1.4_x5.0_linux_amd64
    • packer-plugin-virtualbox_v1.0.5_x5.0_linux_amd64
  • vboxmanage --version: 6.1.50_Ubuntur161033
  • vagrant plugin list: vagrant-winrm-syncedfolders (1.0.1, global)
  • Chef versions:
    • Chef Workstation version: 24.4.1064
    • Chef Infra Client version: 18.4.12
    • Chef InSpec version: 5.22.40
    • Chef CLI version: 5.6.14
    • Chef Habitat version: 1.6.652
    • Test Kitchen version: 3.6.0
    • Cookstyle version: 7.32.8

Steps to Reproduce

packer fix vbox-win7.json > vbox-win7-new.json
packer build -force -only virtualbox-iso vbox-win7-new.json

Command output and error message:

...
==> virtualbox-iso: Executing custom VBoxManage commands...
    virtualbox-iso: Executing: modifyvm packer-virtualbox-iso-1720746766 --memory 5120
    virtualbox-iso: Executing: modifyvm packer-virtualbox-iso-1720746766 --vram 36
    virtualbox-iso: Executing: modifyvm packer-virtualbox-iso-1720746766 --cpus 2
==> virtualbox-iso: Starting the virtual machine...
==> virtualbox-iso: Error starting VM: VBoxManage error: VBoxManage: error: The virtual machine 'packer-virtualbox-iso-1720746766' has terminated unexpectedly during startup because of signal 6
==> virtualbox-iso: VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MachineWrap, interface IMachine
==> virtualbox-iso: Cleaning up floppy disk...
==> virtualbox-iso: Deregistering and deleting VM...
==> virtualbox-iso: Deleting output directory...
Build 'virtualbox-iso' errored after 13 seconds 668 milliseconds: Error starting VM: VBoxManage error: VBoxManage: error: The virtual machine 'packer-virtualbox-iso-1720746766' has terminated unexpectedly during startup because of signal 6
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MachineWrap, interface IMachine
==> Wait completed after 13 seconds 668 milliseconds
==> Some builds didn't complete successfully and had errors:
--> virtualbox-iso: Error starting VM: VBoxManage error: VBoxManage: error: The virtual machine 'packer-virtualbox-iso-1720746766' has terminated unexpectedly during startup because of signal 6
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MachineWrap, interface IMachine
==> Builds finished but no artifacts were created.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant