Author Topic: VirtualBox Easy OS/2 Setup  (Read 630 times)

Rick C. Hodgin

  • Full Member
  • ***
  • Thank You
  • -Given: 6
  • -Receive: 0
  • Posts: 131
  • Greetings. I come in peace (for OS/2 things only).
    • View Profile
VirtualBox Easy OS/2 Setup
« on: November 07, 2018, 05:56:40 pm »
Who should I contact about making an easy setup wizard exe for VirtualBox Guest Additions installation?
--
Rick C. Hodgin

Bogdan Szmalcownik

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 2
  • Posts: 37
    • View Profile

Rick C. Hodgin

  • Full Member
  • ***
  • Thank You
  • -Given: 6
  • -Receive: 0
  • Posts: 131
  • Greetings. I come in peace (for OS/2 things only).
    • View Profile
--
Rick C. Hodgin

mauro

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 34
    • View Profile
Re: VirtualBox Easy OS/2 Setup
« Reply #3 on: November 07, 2018, 08:38:52 pm »
let us know.
Thank you

Valery Sedletski

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 16
  • Posts: 232
    • View Profile
Re: VirtualBox Easy OS/2 Setup
« Reply #4 on: November 07, 2018, 09:26:21 pm »
2Rick Hodgin: You should contribute to Netlabs port of VBox, instead of contacting Oracle directly, I think.
Also note that we'll try to put our work in the official Oracle repository in the future.

In fact, ideally the installer should be a simple REXX script. You Unzip the package in some directory, and
run a REXX script. It should modify config.sys, startup.cmd and os2.ini. Also, it's possible to use WarpIN,
but I'd prefer the .ZIP file with a REXX script. unzip+REXX is a better installer for OS/2, in fact. Or, we need
both the WarpIN installer and a .ZIP package with a REXX script, for those who prefer it. I sometimes
need a manual install, so unzip is easier for me.

Though, note that VBox additions require kLIBC and libcx. So, because of this it should be ideally installed
with RPM, to handle dependencies, and avoid conflicts with different versions of the same DLL. Though, on
the other hand, YUM ports could be not installed in the guest. But then, each RPM in the repository is
duplicated by a zipped version of the same package. So, maybe it's better to create an RPM package, and
put it into the usual Netlabs repository. I could help you to create the RPM, if you wish.

So, we could create an RPM installer, plus a REXX script for those who wants to use the zipped versions
of additions.

PS: I plan to package the OS/2 port of VirtualBox as RPM too.

Rick C. Hodgin

  • Full Member
  • ***
  • Thank You
  • -Given: 6
  • -Receive: 0
  • Posts: 131
  • Greetings. I come in peace (for OS/2 things only).
    • View Profile
Re: VirtualBox Easy OS/2 Setup
« Reply #5 on: November 07, 2018, 09:44:14 pm »
2Rick Hodgin: You should contribute to Netlabs port of VBox, instead of contacting Oracle directly, I think.
Also note that we'll try to put our work in the official Oracle repository in the future.

In fact, ideally the installer should be a simple REXX script. You Unzip the package in some directory, and
run a REXX script. It should modify config.sys, startup.cmd and os2.ini. Also, it's possible to use WarpIN,
but I'd prefer the .ZIP file with a REXX script. unzip+REXX is a better installer for OS/2, in fact. Or, we need
both the WarpIN installer and a .ZIP package with a REXX script, for those who prefer it. I sometimes
need a manual install, so unzip is easier for me.

I'm thinking a simple VBoxAdditions_os2.exe.

Quote
Though, note that VBox additions require kLIBC and libcx. So, because of this it should be ideally installed
with RPM, to handle dependencies, and avoid conflicts with different versions of the same DLL. Though, on
the other hand, YUM ports could be not installed in the guest. But then, each RPM in the repository is
duplicated by a zipped version of the same package. So, maybe it's better to create an RPM package, and
put it into the usual Netlabs repository. I could help you to create the RPM, if you wish.

So, we could create an RPM installer, plus a REXX script for those who wants to use the zipped versions
of additions.

PS: I plan to package the OS/2 port of VirtualBox as RPM too.

You can help me with all of those details.  I just want it to handle the ~12 steps that are required with a single click. :-)
--
Rick C. Hodgin

Rick C. Hodgin

  • Full Member
  • ***
  • Thank You
  • -Given: 6
  • -Receive: 0
  • Posts: 131
  • Greetings. I come in peace (for OS/2 things only).
    • View Profile
Re: VirtualBox Easy OS/2 Setup
« Reply #6 on: November 08, 2018, 01:35:13 am »
Valery, based on your advice I looked over REXX and it looks like it would be a good tool to use for this purpose.

I'll try to work up a script and post it and then everyone can teach me how to do it better.
--
Rick C. Hodgin

Rick C. Hodgin

  • Full Member
  • ***
  • Thank You
  • -Given: 6
  • -Receive: 0
  • Posts: 131
  • Greetings. I come in peace (for OS/2 things only).
    • View Profile
Re: VirtualBox Easy OS/2 Setup
« Reply #7 on: November 09, 2018, 03:19:50 pm »
Is anybody available on skype or irc to help me with REXX?  I know the logic I need to use, but there are questions I have about REXX that need answered.
--
Rick C. Hodgin

Bogdan Szmalcownik

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 2
  • Posts: 37
    • View Profile
Re: VirtualBox Easy OS/2 Setup
« Reply #8 on: November 09, 2018, 04:31:40 pm »
REXX is not required at all. By using a device driver profile it should work in most situations.

Dave Yeo

  • Hero Member
  • *****
  • Thank You
  • -Given: 9
  • -Receive: 110
  • Posts: 1611
    • View Profile
Re: VirtualBox Easy OS/2 Setup
« Reply #9 on: November 09, 2018, 05:12:16 pm »
You could try the Netlabs IRC channel. Start here, http://www.netlabs.org/site/community.xml

Rick C. Hodgin

  • Full Member
  • ***
  • Thank You
  • -Given: 6
  • -Receive: 0
  • Posts: 131
  • Greetings. I come in peace (for OS/2 things only).
    • View Profile
Re: VirtualBox Easy OS/2 Setup
« Reply #10 on: November 09, 2018, 06:44:55 pm »
REXX is not required at all. By using a device driver profile it should work in most situations.

Not sure what you mean.  Can you teach me what I'm missing? :-)
--
Rick C. Hodgin

Bogdan Szmalcownik

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 2
  • Posts: 37
    • View Profile
Re: VirtualBox Easy OS/2 Setup
« Reply #11 on: November 09, 2018, 08:30:22 pm »
Use the OS/2 Device Driver Installation (DDINSTAL) to install device drivers. The Device Support package contains profile control files, which enable a device to communicate with the operating system.
Code: [Select]
* Komentarz
:TITLE
Sterownik I

:CONFIG *CONFIG.SYS
DEVICE=\os2\boot\drv.sys

:FILES
drv.sys\os2\boot\drv.sys
sup.dll\os2\dll\sup.dll
pgm.exe\os2\pgm.exe
Simply save it under the name JEZUS.DDP and run DDINSTAL!

Rick C. Hodgin

  • Full Member
  • ***
  • Thank You
  • -Given: 6
  • -Receive: 0
  • Posts: 131
  • Greetings. I come in peace (for OS/2 things only).
    • View Profile
Re: VirtualBox Easy OS/2 Setup
« Reply #12 on: November 09, 2018, 09:06:43 pm »
Use the OS/2 Device Driver Installation (DDINSTAL) to install device drivers. The Device Support package contains profile control files, which enable a device to communicate with the operating system.
Code: [Select]
* Komentarz
:TITLE
Sterownik I

:CONFIG *CONFIG.SYS
DEVICE=\os2\boot\drv.sys

:FILES
drv.sys\os2\boot\drv.sys
sup.dll\os2\dll\sup.dll
pgm.exe\os2\pgm.exe
Simply save it under the name JEZUS.DDP and run DDINSTAL!

The VirtualBox Guest Addition installation instructions require a few steps:

Code: [Select]
1) Only works if the existing video driver is GRADD
2) Create c:\os2additions\ folder
3) Copy [cd_drive]:\os2\*.* to c:\os2additions\
4) Edit config.sys, REM out the line with the existing MOUSE.SYS driver
5) Add two new lines to config.sys
6) Edit startup.cmd and insert a new command to run
7) Make a backup of the GRADD dll
8) Copy the new VB Guest Additions GRADD dll where that one was
9) Copy the libc06*.* files to the same place the GRADD dll was
10) Reboot

I think that's all.  Will DDINSTAL handle doing those things?
« Last Edit: November 09, 2018, 10:33:18 pm by Rick C. Hodgin »
--
Rick C. Hodgin

Bogdan Szmalcownik

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 2
  • Posts: 37
    • View Profile
Re: VirtualBox Easy OS/2 Setup
« Reply #13 on: November 09, 2018, 11:16:21 pm »
...

I think that's all.  Will DDINSTAL handle doing those things?
It would do everything, but not the totally useless and dangerous points 2 & 3.

Dave Yeo

  • Hero Member
  • *****
  • Thank You
  • -Given: 9
  • -Receive: 110
  • Posts: 1611
    • View Profile
Re: VirtualBox Easy OS/2 Setup
« Reply #14 on: November 10, 2018, 12:17:04 am »

The VirtualBox Guest Addition installation instructions require a few steps:

Code: [Select]
1) Only works if the existing video driver is GRADD
2) Create c:\os2additions\ folder
3) Copy [cd_drive]:\os2\*.* to c:\os2additions\
4) Edit config.sys, REM out the line with the existing MOUSE.SYS driver
5) Add two new lines to config.sys
6) Edit startup.cmd and insert a new command to run
7) Make a backup of the GRADD dll
8) Copy the new VB Guest Additions GRADD dll where that one was
9) Copy the libc06*.* files to the same place the GRADD dll was
10) Reboot

I think that's all.  Will DDINSTAL handle doing those things?

Don't update the libc06*.* files as they're now taken care of by YUM/RPM and installed into @UNIXROOT\usr\lib.  Probably have to unlock GRADD.DLL as well
Code: [Select]
unlock gradd.dll