Virtualbox 6.1.18 crashes when adding Disk Image (NS_ERROR_FAILURE)

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
cdott
Posts: 3
Joined: 6. Apr 2021, 14:57

Virtualbox 6.1.18 crashes when adding Disk Image (NS_ERROR_FAILURE)

Post by cdott »

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 22 times
cdott
Posts: 3
Joined: 6. Apr 2021, 14:57

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

Post by cdott »

Could anyone help me out?
paulmc
Posts: 72
Joined: 28. Aug 2019, 18:43
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Mac OS X, Linux, Windows
Location: Earth (Guyana / USA / South Africa)
Contact:

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

Post by paulmc »

@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.}
cdott
Posts: 3
Joined: 6. Apr 2021, 14:57

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

Post by cdott »

it worked, thanks @paulmc.
paulmc
Posts: 72
Joined: 28. Aug 2019, 18:43
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Mac OS X, Linux, Windows
Location: Earth (Guyana / USA / South Africa)
Contact:

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

Post by paulmc »

@cdott, I'm glad that an 'alternative way of adding' workaround was successful for you too. :-)
Post Reply