It is currently Sat Nov 28, 2020 10:11 am
All times are UTC + 8 hours

Tough installation : VirtualBox 5.2.22 and ADM 3.3.2.RJ12

Just about everything is virtual these days. Topics relating to virutalization go here.

Tough installation : VirtualBox 5.2.22 and ADM 3.3.2.RJ12

Postby sksbir » Tue Jul 09, 2019 12:58 am

Hi
Here is how I finally managed to install a VM fedora 64 server successfully on my AS5002T NAS, without HDMI output.

- Install VirtualBox 5.2.22.r05 and Virtualbox extension pack 5.2.22.r02 ==> OK.
- Starting phpvirtualbox from ADM interface, using Firefox. ==> OK
- creating my VM : Fedora 64, using the right ISO, enabling remote display ( or it was enabled by default , cannot remember now ) ==> OK
- starting VM : FAIL . That is : VM is starting, and I can even see the console of my VM in thumbnail format on the "details" view . But noway to switch to "console" tab, and start acting threw console.


I had to change the property of remote desktop server port.. not port, but IP, and you cannot do that from GUI. I needed to replace '127.0.0.1' with IP of my NAS on local network.
==> logged has root on NAS, edit /volume1/.@root/VirtualBox VMs/((myVM))/((myVM)).vbox
And update this section :
Code: Select all
        <VRDEProperties>
          <Property name="Address" value="((myip))"/>
          <Property name="TCP/Address" value="((myip))"/>
          <Property name="TCP/Ports" value="3389"/>
        </VRDEProperties>


After that, console was working either from RDP client on my local network, but also from phpvirtualbox.

Once Fedora server installed and updated, trying to mount shared folders.
- first following this tutorial : https://www.if-not-true-then-false.com/ ... -hat-rhel/
FAIL: VirtualBox Guest Additions: modprobe vboxsf failed

Solution is here : https://www.if-not-true-then-false.com/ ... /#comments , "You should download VBoxGuestAdditions from here. Check note on step 3"
"here" is https://www.virtualbox.org/wiki/Testbuilds , Downloaded from "Latest 5.2.x test builds" table , line Guest Additions 5.2.x revision 131558
Mounted this iso instead of Iso provided by extension pack, and ran again installation steps.

After that, my VM worked fine.

[EDIT 2019-08
problem is back with ADM 3.4.1.R7Q4 , and virtualbox 5.2.22.r07
When mounting vboxsf FS , getting "protocol error" message.
- trying to install VirtualBox 5.2.33 Guest Additions : same problem.
Everything reverts to normal after MOUNTING the shared volumes ( encrypted and not automatically mounted shared volumes ) where shared folders are located.
:mrgreen:
sksbir
 
Posts: 339
Joined: Tue Aug 25, 2015 9:23 pm

Re: Tough installation : VirtualBox 5.2.22 and ADM 3.3.2.RJ12

Postby sksbir » Tue Sep 15, 2020 6:00 am

hi
following my former procedure after global update to
- Firmware to 3.5.1 R8C1
- last version of fedora 31 ( kernel update included )
- upgrading from VirtualBox 5 to 6.1.2 with APPcentral
- upgrading kernel with Virtualbox guest addition delivered with Virtualbox 6.1.2 from appcentral is failing when trying to mount vboxfs
- upgrading kernel with Virtualbox guest addition v 6.1.5 listed here https://www.virtualbox.org/wiki/Testbuilds ( link Guest Additions 6.1.x revision 140316 ) was ok with vboxfs.

That is to say that former procedure to succeed using mount vboxfs is still valid. Just Virtualbox resources regarding v5 of virtualbox are no longer displayed at https://www.virtualbox.org/wiki/Testbuilds ( is it why Asustor finally decided to migrate their application ? ... )
sksbir
 
Posts: 339
Joined: Tue Aug 25, 2015 9:23 pm

Re: Tough installation : VirtualBox 5.2.22 and ADM 3.3.2.RJ12

Postby TheBinary1 » Thu Oct 29, 2020 7:48 am

I have just upgraded to both, ADM 3.5.2RAG2 and VirtualBox 6.1.12 and the result - simply put - is a catastrophe.

My old VM image data still exists, but the upgraded VirtualBox 6.1.12 cannot "see" them even though they exist in the filesystem. A manual start from the command line produces the error: VM seems not to exists ... failed! - produced by:
Code: Select all
VBoxManage list vms|grep "^\"$VM_NAME\""


How do you get the VM's back?

Also, installing ExtPack from AppCentral completely breaks phpVirtualBox with:
Code: Select all
[an error occurred while processing this directive][an error occurred while processing this directive]
Object not found!
The requested URL was not found on this server. [an error occurred while processing this directive] The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.

If you think this is a server error, please contact the webmaster.

Error 404


You can recover from the error by disabling (do not uninstall) VirtualBox (which will also disable the dependent ExtPack) and then enabling the ExtPack (which will also enablethe dependent VirtualBox)

EDIT 29 Oct 2020:
Resolved issue by simply re-adding VMs using the Add button and point to the VM's XML files already present in the filesystem. This is something that could definitely have been scripted into the installation/upgrade process - avoiding unnecessary panic.
TheBinary1
 
Posts: 9
Joined: Tue May 14, 2019 6:50 am

Re: Tough installation : VirtualBox 5.2.22 and ADM 3.3.2.RJ12

Postby sksbir » Mon Nov 09, 2020 2:30 am

Hello
On my side, upgrade to ADM 3.5.2RAG2 and VirtualBox 6.1.12 was flawless, but I'm not leaving Vm disks in default location, but moving them in a shared folder.
Out of that, initial topic describing how to access last version of guest addition is still valid, and so is this link https://www.virtualbox.org/wiki/Testbuilds now pointing to Virtualbox v6.1 resources.
sksbir
 
Posts: 339
Joined: Tue Aug 25, 2015 9:23 pm

Return to Virtualization

  • You cannot post new topics in this forum
    You cannot reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum
    You cannot post attachments in this forum
  • Who is online

    Users browsing this forum: No registered users and 1 guest