Author Topic: [SOLVED] os2krnl is not acceptable  (Read 522 times)

jamie marchant

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 47
    • View Profile
[SOLVED] os2krnl is not acceptable
« on: August 03, 2020, 10:57:52 pm »
I tried installing a Win32s OS/2 patch it came with a new OS2KRNL which I thought was a Windows thing so I did not back up my system. It turns out it actually the system kernel and now I can't boot with an "OS2KRNL is not acceptable" error. How do I reload just the kernel?  I can't find a file with that exact name on disk 0 or 1.
« Last Edit: August 04, 2020, 01:19:44 am by jamie marchant »

Joop

  • Hero Member
  • *****
  • Thank You
  • -Given: 0
  • -Receive: 65
  • Posts: 577
    • View Profile
Re: os2krnl is not acceptable
« Reply #1 on: August 04, 2020, 01:08:33 am »
You can read that in the manual, look for SYS2028 and SYS2029. I have a Dutch manual, so I can't tell you on what page, but I think its  chapter 15.

Pete

  • Hero Member
  • *****
  • Thank You
  • -Given: 1
  • -Receive: 47
  • Posts: 1041
    • View Profile
Re: os2krnl is not acceptable
« Reply #2 on: August 04, 2020, 01:12:41 am »
Hi jamie

Try the following command to locate os2krnl on disk

dir os2krnl /a:shr

(/a:shr = attributes: system hidden readonly)

When found use this command so that you can copy the file

attrib -s -h -r os2krnl

You can reset the file using

attrib +s +h +r os2krnl



Regards

Pete

jamie marchant

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 47
    • View Profile
Re: os2krnl is not acceptable
« Reply #3 on: August 04, 2020, 01:19:25 am »
Yes I just found the text in my manual, the file has a different name on the floppy. It looks like in order to get Win32s I first need to install the Fixpack.

Dave Yeo

  • Hero Member
  • *****
  • Thank You
  • -Given: 11
  • -Receive: 189
  • Posts: 2603
    • View Profile
Re: [SOLVED] os2krnl is not acceptable
« Reply #4 on: August 04, 2020, 04:01:28 am »
I think that kernel on disk 0 or 1 is a slightly different kernel compiled to load from multiple diskettes. Somewhere is the real kernel, probably packed, it is unpacked with the unpack command.
Win32's only worked up to version 1.25 (and some letter). MS and IBM were playing a game where MS would break them and IBM would fix them. With 1.30, MS forced some DLLs to load above 1GB where OS/2 couldn't access them. It is possible to mix and match 1.25 and 1.30 DLLs to get a mostly working Win32s environment.

jamie marchant

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 47
    • View Profile
Re: [SOLVED] os2krnl is not acceptable
« Reply #5 on: August 04, 2020, 07:44:12 pm »
Quote from: Dave Yeo
I think that kernel on disk 0 or 1 is a slightly different kernel
Well, the manual said to use it anyways and did not say to replace it, after the system works. Also, the system is running just fine now.

Dave Yeo

  • Hero Member
  • *****
  • Thank You
  • -Given: 11
  • -Receive: 189
  • Posts: 2603
    • View Profile
Re: [SOLVED] os2krnl is not acceptable
« Reply #6 on: August 05, 2020, 01:54:15 am »
Quote from: Dave Yeo
I think that kernel on disk 0 or 1 is a slightly different kernel
Well, the manual said to use it anyways and did not say to replace it, after the system works. Also, the system is running just fine now.

Good enough. It'll get updated anyways when and if you apply any fixes. Also there might be a copy under x:\os2\install.