Mombu the Programming Forum

Go Back   Mombu the Programming Forum > Programming > Boot from USB PRM (Partitioned Removable Media ) failed after
User Name
Password
REGISTER NOW! Mark Forums Read




Reply
1 21st March 17:00
rainer stroebel
External User
 
Posts: 1
Default Boot from USB PRM (Partitioned Removable Media ) failed after



Rainer Stroebel schrieb:


cross post of the info from comp.os.so2.apps Thread : How to boot OS/2
4.52 (to a command prompt) from an USB flash drive?

Hallo,

Mike Luther reported success by booting a system from external USB
drive in Thread

http://groups.google.com/group/comp....a7689a89649d5d


I have done quite an extensive research and testing on the problem.

I have not been able up till now to reproduce the booting the way Mike
do it.

I have not recreated exactly the test case.

I have reproduced the booting from USB floppy and learned a lot about
the procedure.


What is special at Mikes successful configuration?

1. It is a single system on C: without the use of the boot manager

2. The PRM media is created by cloning the internal drive to the USB HDD

3. There is no boot manager on any on the HDD s on the system


The problem is to pass the boot drive letter during the boot process
from the Partitioned Removable Media.

Boot Manager does not support PRM.

How to supply a boot drive letter by booting from PRM.

Well, Danidasd.dmd does have an option for the boot drive.

There are some restrictions of danidasd:

1. Danidasd does not support the LVM info on the HDD.

2. The drive letter for the PRM is assigned by the "old" drive letter
assignment method:

first assign a drive letter to all the "fixed" partitions (drives)
and than to the "removable" partitions (drive)

the drive letter assigned to the PRM drive is depended form the
layout of the HDD of the
system to boot
The following system / config.sys on CF Card boots from USB card
reader on my T23 system

It is on a FAT file system to keep it simple :-)

================================================== ===========================

rem
rem config.sys without drive letter C: in statements with some
execptions !!


EARLYMEMINIT=TRUE
PRIORITY_DISK_IO=NO

pauseonerror=YES

rem SET SAVECONNECT=1
rem SET COPYFROMFLOPPY=1

LIBPATH=.;\OS2\DLL;
SET PATH=\OS2;
SET DPATH=\OS2;
SET LANG=de_DE
SET ULSPATH=\language
DEVICE=\OS2\unicode.sys

rem IFS=C:\OS2\cdfs.ifs /Q /W
rem IFS=\OS2\hpfs.ifs /CACHE:1024 /AUTOCHECK:*
rem IFS=C:\OS2\udf.ifs /V

BASEDEV=ibmkbd.sys
BASEDEV=chkdsk.sys

rem ==========USB

BASEDEV=USBD.SYS /V /I13

BASEDEV=usbuhcd.sys
BASEDEV=usbuhcd.sys
BASEDEV=usbuhcd.sys

BASEDEV=usbhid.sys

BASEDEV=usbmsd.add /V

rem ==== usb ende

rem BASEDEV=ibm1flpy.add /A:0 /FORCE:2 /U:0 /F:1.44MB /U:1 /F:1.44MB

basedev=ibm1s506.add /W
basedev=ibmatapi.flt
basedev=IBMIDECD.FLT

rem str basedev=ibmatapi.flt /A:1 /U:0 /TYPES:CLZ /V

rem str BASEDEV=danis506.add /W
rem str BASEDEV=danis506.add /VLL /A:1 /BAY
rem str BASEDEV=daniatap.flt /V /A:1 /U:0 /TYPE:W


rem BASEDEV=os2dasd.dmd
rem BASEDEV=os2lvm.dmd

BASEDEV=DANIDASD.DMD /BD:F /MT:Ae,Ah,Ao

rem str COUNTRY=049,C:\OS2\country.sys

COUNTRY=049,\OS2\country.sys
CODEPAGE=850
DEVINFO=KBD,GR,\OS2\keyboard.dcp
DEVINFO=SCR,VGA,\OS2\viotbl.dcp

rem DEVICE=C:\OS2\os2cdrom.dmd
rem BASEDEV=os2aspi.dmd /ALL

DEVICE=\OS2\testcfg.sys
DEVICE=\OS2\dos.sys
DEVICE=\OS2\pointdd.sys
DEVICE=\OS2\mouse.sys

rem str DEVICE=C:\OS2\com.sys

rem BASEDEV=print01.sys /IRQ
rem PRINTMONBUFSIZE=134,134,134

rem str DEVICE=C:\OS2\apm.sys
rem str RUN=C:\OS2\apmdaemn.exe

SET TEMP=\Temp
SET TMP=\Temp

SUPPRESSPOPUPS=C
MEMMAN=SWAP,PROTECT
SWAPPATH=f:\OS2\ 512
IOPL=YES
PROTECTONLY=NO
AUTOFAIL=YES
THREADS=1024
DISKCACHE=D,LW,AC:+F
MAXWAIT=1
SET VIDEO_DEVICES=VIO_VGA
SET VIO_VGA=DEVICE(BVHVGA)
SET TZ=CET-1CES,3,-1,0,7200,10,-1,0,10800,3600
SET PROMPT=$i[$p]
SET KEYS=ON
PROTSHELL=\OS2\cmd.exe
SET OS2_SHELL=\OS2\cmd.exe
SET COMSPEC=\OS2\cmd.exe


========= end config.sys for booting from usb PRM to the command prompt

Currently I am testing to boot from PRM / USB disk with support of
AIRBOOT Version 1.5
on the PRM.

By booting from the PRM via USB the AIRBOOT menu comes up and offer the
system on the PRM to boot.

The version with the DANIDASD boot to the command prompt!!!!


Versions with:

BASEDEV=os2dasd.dmd
BASEDEV=os2lvm.dmd

and boot drive letter assignment by airboot are currently tested.

No succes to report - jet :-)

===> *"OS/2 is unable to operate your hard disk or diskette drive"*


Based on the danidasd we have a prove of concept for the booting form
USB PRM.

kind regards

Rainer
  Reply With Quote


 


Reply


Thread Tools
Display Modes




666