Page 1 of 1

Can't Create a VM

Posted: 13 Oct 2023, 19:29
by GGI
Posted this in another thread but I'm going to create my own for visibility.

I am trying to create a Virtualbox VM to run Linux. I have tried different ISOs, different configurations, and always end up the same way.

The VM will create, but when I try to start it I always get the error
"The virtual machine 'Ubuntu' has terminated unexpectedly during startup with exit code 1 (0x1)"

What's going on? This is on TOS 5.1 and an F2-223.

Re: Can't Create a VM

Posted: 13 Oct 2023, 22:16
by TMqiky
What is the exact version of the system and can it be updated to version 5.1.67?
You can use the lsmod command to see if the vboxnetflt, vboxnetadp, and vboxdrv drivers are loaded.
Then switch directories

Code: Select all

cd /Volume1/@apps/virtualbox/kernel
Use

Code: Select all

modinfo vboxdrv.ko
Check if the driver was updated successfully.

Re: Can't Create a VM

Posted: 13 Oct 2023, 22:27
by GGI
TOS is at 5.1.67

lsmod comes back with nothing (headers of Module Size Used by) - no data listed.

modinfo vboxdrv.ko comes back with "Module alias vboxdrv.ko not found."

I had reinstalled VirtualBox twice (most recently just before starting this thread).

Re: Can't Create a VM

Posted: 16 Oct 2023, 17:40
by TMzethar
It seems that the kernel was not successfully loaded. We suggest that you try restarting the TNAS and the app again.
If the problem persists, there may be an error in the system. Do you recall updating the TOS version before TOS 5.1.67?
If there is still no solution, you can consider:
1. Attempt to reinstall TOS:viewtopic.php?f=76&t=423
2. Contact the technical support email or the customer service window on the official website homepage, and we will arrange for engineers to conduct remote inspections

Re: Can't Create a VM

Posted: 16 Oct 2023, 18:16
by GGI
This mentions reset and reinitialization. What will be affected when I do this so that I can prepare?

I currently have folder permissions as well as PLEX running on this NAS and I need to know what I will have to reinstall.

I understand that things "may" happen but what should I EXPECT when I reinstall the TOS?

I upgraded the TOS when I first set up my NAS - if I reinitialize, do I install the full file or the update file?

Thank you!

Re: Can't Create a VM

Posted: 16 Oct 2023, 18:24
by GGI
I now have a "details" button - this is the detail of the error

Code: Select all

Exception Object
(
    [message:protected] => The virtual machine 'Ubuntu' has terminated unexpectedly during startup with exit code 1 (0x1)
    [string:Exception:private] => 
    [code:protected] => 0
    [file:protected] => /Volume1/@apps/virtualbox/webui/endpoints/lib/vboxconnector.php
    [line:protected] => 2443
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /Volume1/@apps/virtualbox/webui/endpoints/lib/vboxconnector.php
                    [line] => 951
                    [function] => remote_progressGet
                    [class] => vboxconnector
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [progress] => 11bbe6af606eab48-0000000000000004
                                )

                        )

                )

            [1] => Array
                (
                    [file] => /Volume1/@apps/virtualbox/webui/endpoints/api.php
                    [line] => 316
                    [function] => __call
                    [class] => vboxconnector
                    [type] => ->
                    [args] => Array
                        (
                            [0] => progressGet
                            [1] => Array
                                (
                                    [0] => Array
                                        (
                                            [progress] => 11bbe6af606eab48-0000000000000004
                                        )

                                    [1] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [data] => Array
                                                        (
                                                            [responseData] => Array
                                                                (
                                                                    [progress] => 11bbe6af606eab48-0000000000000004
                                                                    [info] => Array
                                                                        (
                                                                            [completed] => 1
                                                                            [canceled] => 
                                                                            [description] => Starting VM
                                                                            [operationDescription] => Creating process for virtual machine "Ubuntu" (headless)
                                                                            [timeRemaining] => Array
                                                                                (
                                                                                )

                                                                            [timeElapsed] => Array
                                                                                (
                                                                                    [days] => 19646
                                                                                    [hours] => 10
                                                                                    [minutes] => 16
                                                                                    [seconds] => 57
                                                                                )

                                                                            [percent] => 0
                                                                        )

                                                                )

                                                            [success] => 1
                                                            [key] => 53474945cfd7ac0bf8114767c209c2a6
                                                        )

                                                    [errors] => Array
                                                        (
                                                        )

                                                    [persist] => Array
                                                        (
                                                        )

                                                    [messages] => Array
                                                        (
                                                        )

                                                )

                                        )

                                )

                        )

                )

        )

    [previous:Exception:private] =>