OS/2, eCS & ArcaOS - Technical > Applications

Shared folders IFS for VBox Additions, the test version

(1/44) > >>

Valery Sedletski:
Hi, I'm currently developing a VBox shared folders IFS for OS/2 guest. It is not
finished, yet, and I'm adding the fixes currently to it. But it is mostly working
already, and copying files from/to shared folders works. The current link is here:

ftp://osfree.org/upload/vbox/additions/VBoxAdditions-os2-x86-5.0.51.r218.zip

Many people needed the VBox additions, so it should be a
great help for them. So, if anybody wants the OS/2 additions,
please try and test.

You should add these statements to config.sys:


--- Quote ---rem The main VBox additions driver
device=d:\os2\boot\VBoxGuest.sys

rem The shared folders IFS
ifs=d:\os2\boot\VBoxSF.ifs
run=d:\os2\VBoxService.exe

rem VBox Mouse driver
rem device=d:\os2\boot\mouse.sys
device=d:\os2\boot\VBoxMouse.sys

--- End quote ---

In case you have amouse.sys instead of mouse.sys, comment it out too.

Also, for video integration, there is a VBox GRADD driver, vbxgradd.dll. In case
you have SNAP installed, you should have the following lines in config.sys:


--- Quote ---set gradd_chains=c1
set c1=sddgradd
set greext=sddgrext

--- End quote ---

In case you have panorama installed, you should have these lines
in your config.sys:


--- Quote ---set gradd_chains=c1
set c1=vbe2grad
set greext=panogrex

--- End quote ---

To install the VBox video driver, you need to comment the above lines out
and change them to the following ones:


--- Quote ---set gradd_chains=c1
set c1=vbxgradd

--- End quote ---

Also, if you have SNAP installed, you can comment sddhelp.sys. But then, you
also need to comment out/remove the


--- Quote ---#includecode "sddpmi.dll"

--- End quote ---

from \os2\svgadata.pmi file and change it to


--- Quote ---#includecode "genpmi.dll"

--- End quote ---

Otherwise, sddpmi.dll will load, and try to open sddhelp.sys driver, and
fail, so, it will stop with an error message. To avoid this, you need to change
sddpmi.dll to genpmi.dll in svgadata.pmi file.

Alternatively, you can just set your video driver to GenGRADD first with
"setgradd" command in command line (you need to boot into command line
for this), or use corresponding menu item in Recovery choices screen.
But setgradd.cmd command and "Set video to GenGRADD" option in
Recovery choices appeared in eComStation, only. Older versions of OS/2
have setvga.cmd command and "Set video to VGA" option, only. But you
should use a GRADD video driver, so "Set video to VGA" option is not
suitable in this case.

VBoxService.exe should be on PATH, of course. Note that VBoxSF.ifs has the following
command line switches:


--- Quote ---/V       verbose init (enable messages)
/Q       quiet init (disable messages)
/D       output debug messages to VBox log, and also to QSINIT/OS4/ArcaLDR built-in log.
           In case QSINIT/ARCALDR or OS/4 kernel are not available, the messages are directed
           directly to COM1

--- End quote ---

Martin Iturbide:
Hi Valerius.

I'm trying it on a Windows 10 Host (VirtualBox 5.2.20) and ArcaOS 5.0.1 as a guest.  But I put all the files on C:\Programs\VBox2.

I used to get the trap I'm attaching when the PMSHELL loads.  But it got fixed when I updated to Panorama 1.11.

How is supposed to mount the drive on the OS/2 guest? Something like "net use x: \\vboxsvr\share" ? Which protocol is it needed for this, NETBIOS ?

Regards

mauro:

--- Quote from: Valery Sedletski on November 02, 2018, 11:30:29 pm ---Hi, I'm currently developing a VBox shared folders IFS for OS/2 guest. It is not
finished, yet, and I'm adding the fixes currently to it. But it is mostly working
already, and copying files from/to shared folders works. The current link is here:

ftp://osfree.org/upload/vbox/vbox-additions-os2-r177.zip

Many people needed the VBox additions, so it should be a
great help for them. So, if anybody wants the OS/2 additions,
please try and test.
………………………………………..

--- End quote ---

Good, Vbox guest additions for os2 is one of my unsolved task .  Tried to install the official ones I had an unrecoverable trap stop on rebooting similar to what shown by Martin here above, and would be nice having more luck with these.
Would you please provide more detailed installation instructions? I see some executable and some other system files in the two directories (I presume to be copied in respective OS2 root ones) plus you explaination on how to edit the config sys, but I'd need -and maybe others as well- a more comprehensive installation guide.  Thank you much

Valery Sedletski:
2Martin: You don't need Panorama, as VBox uses it's own video driver. Though,
you can install Panorama (or SNAP) first, and replace its GRADD driver with that
from VBox. VBox video driver can be installed over any existing GRADD driver,
including GENGRADD.

So, you had that trap in PMDD if you install vbxgradd.dll without prior install
of Panorama?


--- Quote ---How is supposed to mount the drive on the OS/2 guest? Something like
"net use x: \\vboxsvr\share" ? Which protocol is it needed for this, NETBIOS ?

--- End quote ---

Shared folders are attached like this:


--- Quote ---VBoxSFAttach w: 1.-os2

--- End quote ---

in your case. Though, it is usually not required. All shared folders you specified
in the VM config will be mounted automatically.

NETBIOS has nothing common with shared folders. You don't need to install
any network protocols for them. Shared folders is the VM feature. The VM
exposes some host machine disks to the guest. To access them, the shared
folders IFS calls API's in VBox. So, the guest just communicates with the host
side. There are special services run on both, the guest side, and the host side.

PS: I tested it successfully with VBox 5.2.20 on Linux host. The additions are
built with 5.0.51.

Valery Sedletski:
2mauro: There are the instructions in the official readme on Oracle's Additions ISO,
though, it is brief too. Mine is even more thorough :) Not sure, what's not clear for
you? You should copy all the files in respective directories (or somewhere to \programs,
or whatever directory you use for installing apps). Only vbxgradd.dll should be on the
LIBPATH. Any other programs can have arbitrary location. You should have any GRADD
driver installed, prior to vbxgradd.dll installation (GENGRADD, Panorama or SNAP are
good).

You need to use VBoxMouse.sys instead of mouse.sys (just comment it out). So all you
need is the following statements in config.sys:


--- Quote ---device=\...\VBoxGuest.sys
device=\...\VBoxMouse.sys
ifs=\...\VBoxSF.ifs

set c1=vbxgradd

--- End quote ---

You should comment out mouse.sys and the "set" line for your previous GRADD
driver. If something is not clear, please tell more specifically :)

PS: And yes (I forgot to mention), you need the latest kLIBC and libcx installed
into your guest, because the Additions are built with GCC.

> Tried to install the official ones I had an unrecoverable trap stop on rebooting
similar to what shown by Martin here above, and would be nice having more
luck with these.

The trap in PMDD usually means that you have your video driver misconfigured.
So, you only need to install it correctly.

Navigation

[0] Message Index

[#] Next page

Go to full version