Author Topic: Minimal config.sys  (Read 8000 times)

karotlopj

  • Guest
Minimal config.sys
« on: May 18, 2016, 03:22:07 pm »
I'm trying to come up with a minimal config.sys for use in a recovery situation

This is what I've come up with so far - is there anything I can leave out?


buffers=32
iopl=yes
memman=swap,delayswap
protshell=\os2\cmd.exe
diskcache=D2,LW
protectonly=yes
ifs=\os2\jfs.ifs
ifs=\os2\hpfs.ifs /c:64
pauseonerror=no
codepage=850
devinfo=kbd,uk166,\os2\keyboard.dcp
country=044,\os2\system\country.sys
devinfo=scr,ega,\os2\viotbl.dcp
device=\os2\boot\dos.sys
libpath=.;\;\os2\dll;\os2\install;
set path=\;\os2;\os2\system;\os2\install
set dpath=\;\os2;\os2\system;\os2\install
set keys=on

basedev=ibmkbd.sys
basedev=ibmint13.i13
basedev=danis506.add /v
basedev=os2dasd.dmd
basedev=os2lvm.dmd

Greggory Shaw

  • Sr. Member
  • ****
  • Posts: 442
  • Karma: +0/-0
    • View Profile
Re: Minimal config.sys
« Reply #1 on: May 18, 2016, 06:18:30 pm »
Don't re-invent the wheel - this will create a bootable CD or separate maintenance partition for recovery !

http://hrbaan.home.xs4all.nl/bootAble/

Or I believe Martin has a run down on CONFIG.SYS entries !
« Last Edit: May 18, 2016, 07:00:26 pm by Greggory Shaw »

Andreas Schnellbacher

  • Hero Member
  • *****
  • Posts: 827
  • Karma: +14/-0
    • View Profile
Re: Minimal config.sys
« Reply #2 on: May 18, 2016, 06:55:24 pm »
The following are missing or should be changed, IMO, for newer kernels and for the use with JFS:
Code: [Select]
MEMMAN=SWAP,NOPROTECT,NOPACK  (<-- Recommended by Holger Veith)
VIRTUALADDRESSLIMIT=1536
DEVICE=\OS2\BOOT\UNICODE.SYS
Additionally, I'm not sure if DOS.SYS is required for non-DOS setups to make setboot work.

karotlopj

  • Guest
Re: Minimal config.sys
« Reply #3 on: May 18, 2016, 09:16:08 pm »
Don't re-invent the wheel - this will create a bootable CD or separate maintenance partition for recovery !

http://hrbaan.home.xs4all.nl/bootAble/

Or I believe Martin has a run down on CONFIG.SYS entries !

Now if bootAble could produce a bootable usb stick like this

http://en.ecomstation.ru/projects/usbboot/?action=download

it would be really, really useful.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4808
  • Karma: +100/-1
    • View Profile
Re: Minimal config.sys
« Reply #4 on: May 19, 2016, 01:26:17 am »
The following are missing or should be changed, IMO, for newer kernels and for the use with JFS:
Code: [Select]
MEMMAN=SWAP,NOPROTECT,NOPACK  (<-- Recommended by Holger Veith)
VIRTUALADDRESSLIMIT=1536
DEVICE=\OS2\BOOT\UNICODE.SYS
Additionally, I'm not sure if DOS.SYS is required for non-DOS setups to make setboot work.

I think the VIRTUALADDRESSLIMIT can be left out as it defaults to 1576 or was that 1536.
Given 2GBs or more memory, might be best not to have a swap file, MEMMAN=NOSWAP or just leave it out and it will default to SWAP. Not sure why Holger would recommend NOPROTECT as wouldn't that disable swapping for Protected (most all) programs?
JFS does need the unicode support.

Alex Taylor

  • Sr. Member
  • ****
  • Posts: 389
  • Karma: +5/-0
    • View Profile
Re: Minimal config.sys
« Reply #5 on: May 19, 2016, 05:15:39 am »
Why do you need basedev=ibmint13.i13? Unless you have a disk controller that isn't supported by any OS/2 driver, it's useless.

Also, you may need EARLYMEMINIT=TRUE.

I see you are not including any CD-ROM or USB support, but I assume that's intentional on your part.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4754
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Minimal config.sys
« Reply #6 on: May 19, 2016, 02:58:05 pm »
Hi

I did documented some config.sys but the idea was not to make it minimal, the idea was to support the aWarp, bWarp and cWarp experiments I did:

- AWarp Config.sys
- BWarp Config.sys
- CWarp Config.sys

It is not much.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

karotlopj

  • Guest
Re: Minimal config.sys
« Reply #7 on: May 19, 2016, 05:34:39 pm »
Why do you need basedev=ibmint13.i13? Unless you have a disk controller that isn't supported by any OS/2 driver, it's useless.
[

It's just one of the basedevs which has always been included - never really looked into why it was there...

quote]
Also, you may need EARLYMEMINIT=TRUE.

I see you are not including any CD-ROM or USB support, but I assume that's intentional on your part.
[/quote]

I want a minimal config.sys. I hardly ever use CD-ROM. Maybe I should add USB  support.

EARLYMEMINIT is something I need to look up...

 

Pete

  • Hero Member
  • *****
  • Posts: 1295
  • Karma: +9/-0
    • View Profile
Re: Minimal config.sys
« Reply #8 on: May 19, 2016, 09:17:23 pm »
Hi Andreas

Are you saying that when using a recent kernel and/or the current Arca Noae JFS release the MEMMAN line in config.sys should be changed to the following?

  MEMMAN=SWAP,NOPROTECT,NOPACK

What is the NOPACK option?


Regards

Pete

Andreas Schnellbacher

  • Hero Member
  • *****
  • Posts: 827
  • Karma: +14/-0
    • View Profile
Re: Minimal config.sys
« Reply #9 on: May 21, 2016, 09:47:49 pm »
I've found it:

http://de.os2.org/forum/diskussion/index.php3?id=137307
http://translate.google.com/translate?hl=&sl=de&tl=en&u=http%3A%2F%2Fde.os2.org%2Fforum%2Fdiskussion%2Findex.php3%3Fid%3D137307&sandbox=1

Note that Holger is still working on improving his patch that made it into the 14.106 kernel. 14.106 fixes the DLL unloading bug in almost all cases but not in all.

Moreover, see the ConfigTool .inf file: start view cfgdat memman