Virtualbox 6.1.18 crashes when adding Disk Image (NS_ERROR_FAILURE)

Discussions related to using VirtualBox on Mac OS X hosts.

Virtualbox 6.1.18 crashes when adding Disk Image (NS_ERROR_FAILURE)

Postby cdott » 6. Apr 2021, 16:55

Host settings:
OS: macOS Big Sur v 11.2.3
Processor: Dual-Core i5
Ram: 8GB

guest settings:
type: Linux
OS: Debian 64-bit
Memory Size: 2048
Hard disk: Create a virtual hard disk now
Hard disk file type: VDI
Storage: Dynamically allocated
File location and size: 80.00Gb
Shared Clipboard and Drag'n'Drop: Bidirectional
Boot Order: 1. Hard Disk 2. Optical
Processors: 2
Video Memory: 128

I've been following this Kali guide www(dot)kali(dot)org/docs/virtualization/install-virtualbox-guest-vm/ to set up Kali inside Virtualbox.
After setting the guest settings it tells me to select "Add" from the pop up Optical Disk Selector to navigate to the Kali ISO file. This is as far as I get, until Virtualbox crashes and sends me a problem report. Show log gives me "no log files found." I've attached the error message I receive, rebooting and reinstalling hasn't helped.
The first time I installed Virtualbox I had to go to System Preferences > Security > General and allow oracle to install kernel extensions, but since then I didn't get prompted to do so.

Any help would be greatly appreciated
Attachments
Error msg.zip
(907 Bytes) Downloaded 6 times
cdott
 
Posts: 3
Joined: 6. Apr 2021, 14:57

Re: Virtualbox 6.1.18 crashes when adding Disk Image (NS_ERROR_FAILURE)

Postby cdott » 9. Apr 2021, 15:56

Could anyone help me out?
cdott
 
Posts: 3
Joined: 6. Apr 2021, 14:57

Re: Virtualbox 6.1.18 crashes when adding Disk Image (NS_ERROR_FAILURE)

Postby paulmc » 10. Apr 2021, 09:05

@cdott, there are some possible workarounds mentioned in recent related threads such as:
Hopefully, one of those workarounds will be successful for you too.

{E.g., one alternative way of adding a disk-image / ISO file to a VM's config is via: 'Settings' > 'Storage' pane => In the 'Storage Devices' list {on the left}, click the 'Empty' blue disc => In the 'Attributes' section {on the right}, click the little blue disc button/menu {adjacent to the 'Optical Drive:' popup menu} => Click the 'Choose a disk file…' menu-item.}
paulmc
 
Posts: 61
Joined: 28. Aug 2019, 18:43
Location: Earth (Guyana / USA / South Africa)
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Mac OS X, Linux, Windows

Re: Virtualbox 6.1.18 crashes when adding Disk Image (NS_ERROR_FAILURE)

Postby cdott » 12. Apr 2021, 00:28

it worked, thanks @paulmc.
cdott
 
Posts: 3
Joined: 6. Apr 2021, 14:57

Re: Virtualbox 6.1.18 crashes when adding Disk Image (NS_ERROR_FAILURE)

Postby paulmc » 13. Apr 2021, 13:34

@cdott, I'm glad that an 'alternative way of adding' workaround was successful for you too. :-)
paulmc
 
Posts: 61
Joined: 28. Aug 2019, 18:43
Location: Earth (Guyana / USA / South Africa)
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Mac OS X, Linux, Windows


Return to VirtualBox on Mac OS X Hosts

Who is online

Users browsing this forum: No registered users and 34 guests