VOICE Home Page: http://www.os2voice.org
[Newsletter Index]
[Previous Page] [Next Page]
[Features Index]

July 2000
editor@os2voice.org

How to create a [complete] OS/2 system bootable off a CD-ROM

By Alfredo Fernández Díaz ©July 2000

Team OS/2 España : http://www.caballe.com/teamos2
 Original Spanish version of this article : http://caballe.com/teamos2/documentos/articulos/ArranqueCdRom/cdrom.htm
CDBOOT.ZIP:
ftp://hobbes.nmsu.edu/pub/os2/system/drivers/cdrom/cdboot.zip


CONFIG.SYS ready to use with OS/2 Config.sys Menu

------------------------ CONFIG.SYS start --------------------------
^FAT32:1:BASEDEV=PARTFILT.FLT /P 0B,0C,1B,1C /W^
BASEDEV=IBMKBD.SYS
BASEDEV=IBM1FLPY.ADD /V
^IDE:1,3:BASEDEV=IBM1S506.ADD /V^
^SCSI:2:BASEDEV=ASC.ADD^
^IDE:2:BASEDEV=IBM1S506.ADD /V^
BASEDEV=IBMINT13.I13
^IDE:1,2,3:BASEDEV=IBMIDECD.FLT /V^
BASEDEV=CD_BOOT.FLT
BASEDEV=OS2DASD.DMD
^SCSI:2:BASEDEV=OS2ASPI.DMD^
^CDR:1:BASEDEV=LOCKCDR.FLT^
COUNTRY=034,\OS2\BOOT\COUNTRY.SYS
DEVINFO=SCR,VGA,\OS2\BOOT\VIOTBL.DCP
DEVINFO=KBD,SP,\OS2\BOOT\KEYBOARD.DCP

RESERVEDRIVELETTER=M:
DEVICE=\OS2\BOOT\OS2CDROM.DMD /V
IFS=\OS2\BOOT\CDFS.IFS /W
IFS=N:\OS2\BOOT\HPFS.IFS /CACHE:64
^FAT32:1:IFS=N:\OS2\BOOT\FAT32.IFS^
^RAMFS:1:IFS=N:\OS2\RAMFS\RAMFS.IFS^

DEVICE=N:\OS2\BOOT\TESTCFG.SYS
DEVICE=N:\OS2\BOOT\POINTDD.SYS
DEVICE=N:\OS2\BOOT\MOUSE.SYS
^INTERFAZ:1,2,3:DEVICE=N:\OS2\BOOT\PMDD.SYS^
^INTERFAZ:1,2,3:DEVICE=N:\OS2\BOOT\DOS.SYS^
DEVICE=N:\OS2\BOOT\APM.SYS
^DOS:1:DEVICE=N:\OS2\MDOS\VEMM.SYS^
^DOS:1:DEVICE=N:\OS2\MDOS\VXMS.SYS^
^DOS:1:DEVICE=N:\OS2\MDOS\VDPMI.SYS^
^DOS:1:DEVICE=N:\OS2\MDOS\VDPX.SYS^
^DOS:1:DEVICE=N:\OS2\MDOS\VVGA.SYS^
^DOS:1:DEVICE=N:\OS2\MDOS\VCDROM.SYS^
^DOS:1:DEVICE=N:\OS2\MDOS\VAPM.SYS^
rem Everything works with or without this:
rem DEVICE=N:\OS2\BOOT\GRADD.SYS
CODEPAGE=850,437
BUFFERS=30
IOPL=YES
DISKCACHE=D,LW
LIBPATH=.;A:\OS2\DLL;\OS2\DLL;N:\OS2\DLL;O:\OS2\DLL;^DOS:1:N:\OS2\MDOS;^
SET PATH=A:\OS2;\OS2;N:\OS2;^DOS:1:N:\OS2\MDOS;^
SET DPATH=A:\OS2;\OS2;N:\OS2;^DOS:1:N:\OS2\MDOS;^
^INTERFAZ:1:SET HELP=N:\OS2\HELP^
MEMMAN=^SWAP:1:NOSWAP^^SWAP:2:SWAP^,PROTECT
^SWAP:2:SWAPPATH=C:\ 10240 20480^
PROTECTONLY=^DOS:1:NO^^DOS:2:YES^
^DOS:1:FCBS=16,8^
^DOS:1:RMSIZE=640^
^DOS:1:DOS=LOW,NOUMB^
^DOS:1:SHELL=N:\OS2\MDOS\COMMAND.COM N:\OS2\MDOS^

^INTERFAZ:1:SET GRADD_CHAINS=C1^
^INTERFAZ:1:SET C1=GENGRADD,SBFILTER^
^INTERFAZ:1:SET VIDEO_DEVICES=VIO_SVGA^
^INTERFAZ:1:SET VIO_SVGA=DEVICE(BVHVGA,BVHSVGA)^

^INTERFAZ:2,3:SET VIDEO_DEVICES=VIO_VGA^
^INTERFAZ:2,3:SET VIO_VGA=DEVICE(BVHVGA)^

^FAT32:1:CALL=N:\OS2\CACHEF32.EXE^
^RAMFS:1:CALL=N:\OS2\RAMFS\RAMDISK.EXE O: Disco_RAM^
^INTERFAZ:1,2,3:CALL=N:\OS2\CMD.EXE /C MD O:\OS2^
^INTERFAZ:1,2,3:CALL=N:\OS2\UNZIP.EXE N:\OS2\DLL\DELICADO.ZIP -d O:\OS2\DLL^
^INTERFAZ:1:CALL=N:\OS2\UNZIP.EXE -o N:\OS2\WPS_INIS\SISSVGA.ZIP -d O:\^
^INTERFAZ:2:CALL=N:\OS2\UNZIP.EXE -o N:\OS2\WPS_INIS\SISVGA.ZIP -d O:\^
^INTERFAZ:3:CALL=N:\OS2\UNZIP.EXE -o N:\OS2\WPS_INIS\C_NUEVO.ZIP -d O:\^
rem If we want to save the smartcenter cfg...
rem !! CALL=N:\OS2\CMD.EXE /C COPY N:\OS2\DLL\SCENTER.DLL O:\OS2\DLL >NUL

PROTSHELL=^INTERFAZ:1,2,3:N:\OS2\PMSHELL.EXE^^INTERFAZ:4:N:\OS2\BOS2SHL.EXE^
^INTERFAZ:1,2,3:SET USER_INI=O:\BOS2USER.INI^
^INTERFAZ:1,2,3:SET SYSTEM_INI=O:\BOS2SYS.INI^
^FAT32:1:SET ULSPATH=N:\OS2^
SET OS2_SHELL=N:\OS2\CMD.EXE
SET COMSPEC=N:\OS2\CMD.EXE
SET PROMPT=[$p]
SET KEYS=ON
SET TEMP=O:\
SET TMP=O:\

rem UnZip NEEDS this:
SET TZ=cet-1ces
^INTERFAZ:1,2,3:SET AUTOSTART=PROGRAMS,TASKLIST,FOLDERS,WARPCENTER^
^INTERFAZ:1,2,3:SET RUNWORKPLACE=N:\OS2\PMSHELL.EXE^
^INTERFAZ:1,2,3:SET RESTARTOBJECTS=STARTUPFOLDERSONLY^
^INTERFAZ:1,2,3:SET KILLFEATUREENABLED=ON^
^INTERFAZ:1,2,3:SET SCUSEPRETTYCLOCK=ON^

^INTERFAZ:4:RUN=N:\OS2\BOS2REXX.EXE^

------------------------- CONFIG.SYS end --------------------------

----------------------------- File MENU.TXT ---------------------------------
; There should be two quickkeys 1 and 2, according to the menu: exercise.
INTERFAZ 5 8 4 1
IDE 4 5 4 3
SCSI 65 8 2 2
SWAP 40 14 2 1
CDR 40 18 2 1
FAT32 29 19 2 1
DOS 61 14 2 1
RAMFS 61 18 2 1

----------------------------- End of file ---------------------------------

And here is the file with the snapshot of the menu: MENU.BIN
WARNING: it is a binary file 4000 bytes in size, a video memory dump.

Between the beginning of th eproject and the first time I wrote this article, Veit Kaneggieser has written a vastly improved of os2csm, which introduces many users suggestions -some of mine- and will allow a more efficient menu distribution in the near future.


Features
editor@os2voice.org
[Previous Page ] [ Index] [Next Page
]
VOICE Home Page: http://www.os2voice.org