OS2 World Community Forum

OS/2, eCS & ArcaOS - Technical => Setup & Installation => Topic started by: karotlopj on May 18, 2016, 03:22:07 pm

Title: Minimal config.sys
Post by: karotlopj 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
Title: Re: Minimal config.sys
Post by: Greggory Shaw 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 !
Title: Re: Minimal config.sys
Post by: Andreas Schnellbacher 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.
Title: Re: Minimal config.sys
Post by: karotlopj 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.
Title: Re: Minimal config.sys
Post by: Dave Yeo 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.
Title: Re: Minimal config.sys
Post by: Alex Taylor 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.
Title: Re: Minimal config.sys
Post by: Martin Iturbide 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 (http://www.os2world.com/wiki/index.php/AWarp_Config.sys)
- BWarp Config.sys (http://www.os2world.com/wiki/index.php/BWarp_Config.sys)
- CWarp Config.sys (http://www.os2world.com/wiki/index.php/CWarp_Config.sys)

It is not much.

Regards
Title: Re: Minimal config.sys
Post by: karotlopj 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...

 
Title: Re: Minimal config.sys
Post by: Pete 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
Title: Re: Minimal config.sys
Post by: Andreas Schnellbacher on May 21, 2016, 09:47:49 pm
I've found it:

http://de.os2.org/forum/diskussion/index.php3?id=137307 (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 (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