Tip 1: If your coming via link from Google search results to this "SubWiki",
       please click here for the Main Wiki 
       Wiki-eCS-OS/2-USB-Boot-en--Start|"Howto Boot OS/2 - eCS from USB Mass Storage Devices ( MSD )"

Tip 2: Short  URL (http://preview.tinyurl.com/377pkm3) via TinyURL.com for referencing to this Wiki

       Thanks to Gene Alexander, ERA Computers & Consulting, Jackson, TN USA
       on Yahoo Group "eCS-Technical"


Howto add OS/2 Systems to the ThinkPad T43 T43p Preload - English Version - Wiki

   Version 0.9.2 Last Update: 2010-12-26 16:00

   Author:  Rainer D. Stroebel (mailto:RainerStroebelxyz@xyzt-online.de)
  
   Thanks to Roland Schmalenberg and the Team OS/2  Köln/Bonn e.V for hosting
   and technical support / administration of the Wiki

Howto add OS/2 Systems to the ThinkPad T43 T43p Preload

This Howto is tested with ThinkPads T43 / T43p.

Probably it does apply to ThinkPads T40 T40p T41 T41p T42 T42p XP preloads too, but not tested by the author.


Analyse of the ThinkPad T43 Preload Boot Process


The Preload contains one primary partition with XP and a primary type 12 partition containing the windows PE XP system "IBM Rescue and Recovery"

By pressing the blue "Access IBM" Key during Post - the system switches from XP to the Service Partition and start an windows PE XP system.

There is obviously Code in the MBR and the following 4 sector for implementing this "switching".

Adding a third primary ( the BMGR partition ) and an extended partition breaks this switching.

Currently I am collecting the facts and gain to understand the working of this "switch".

Starting a active BMGR partition ( last partition of the disk ) fails - no I13X support at this code branch/path of the T43 MBR?

There must be I13X support in code braches/pathes. The service partition is located past the I13 limit.

A test with the BMGR partition as first partition of the disk is planed.




Add BMGR Primary Partition and Primary Extended Partition to the Preload


Required / used tools:    
---------------------- 

 1. Lenovo Support: Recovery CD part numbers - ThinkPad T43, T43p (2668, 2669, 2678, 2679, 2686, 2687 models) (http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-58715)
 
 2. USB external Diskette Drive

 3. Partition Magic ( Boot Disketts / stand alone DOS version )

 4. DFSee - Multiplatform disk and filesystem utility - Analysis, maintenance and recovery (http://www.dfsee.com) 

 5. ThinkPad UltraBay 2 nd HDD Adapter for the T43 / T43p  model  

 6. Disk with several OS/2 MCP 2 and eCS systems installed in logical partitions
    The systems are altered / configured to run with the drivers for support of T43 / T43p devices / hardware.  
 
     or

    Installation CD s for the OS/2 MCP 2 or eCS Systems 

 
Disk Layout Model A: 
---------------------
 
1. Restore the IBM Preload to a blank disk via Recovery CD s 

2. Resize the XP Preload partition ( ID = 01 ) to 20 GB and free space after the partition.
   ( tool Partition Magic , boot diskettes, boot via USB diskette drive )

3. Add IBM OS/2 Bootmanager to 2 nd primary Partition
   ( tool: DFSee )
 
4. Replace MBR preload with OS/2 LVM MBR 
 
5. Add LVM Information to DISK and XP preload partition  

6. Add logical partition from start of free space   
  ( tool: DFSee )
  
7.   Copy systems from secondary to primary HDD

7.1  Boot OS/2 System from drive in UltraBay, 
   
7.2  Format the logical partition

7.3  Update the LVM information of the logical partitions  
 
7.4  XCOPY partitions from secondary HDD to primary HDD
 
8.   remove secondary  HDD and boot from primary HDD

+---+--+-----------------+--+--------+--------+-----------+----------+--------+
|ID |Dr|Type, description|ux|Format  |Related |VolumeLabel|LVM Volume|Size MiB|
+---+----------+--------+-------------------+
|01*|  |Prim 07 Inst-FSys| 1|NTFS    |Win NT  |IBM_PRELOAD|VN_IBM_PRE| 20000.0|
|02>|  |Prim 0a IBM-BMGR | 3|BMGR    |LVM     |I13Xoption |OS2, BootM|     7.4|
|03*|G:|Log  07 Inst-FSys| 5|HPFS    |IBM 4.50|VL_G_HPFS  |VN_G_HPFS,|  1203.4|

--> snip  

|18 |  |FreeSpace Logical|  |-- -- --|-- -- --|- - - - - -|          |127013.9|
|18 |  |Prim 12 Recovery | 2|FAT32   |MSDOS5.0|IBM_SERVICE|          |  3957.2|
+---+--+-----------------+--+--------+--------+-----------+----------+--------+
   > = Active/Startable * = Bootable r = Removable R = Removable+Active/Bootable (possibly)


 Test: The IBM OS/2 MBR breaks the switching 
       from production system ( XP )  to service system ( IBM Rescue and Recovery )
       and back
 

Disk Layout Model B:  - The right way to success !! 
----------------------------------------------------

1. Restore the IBM Preload to a blank disk via Recovery CD s 

2. Resize the XP Preload partition ( ID = 01 ) to 20 GB and free space after the partition.
   ( tool Partition Magic , boot diskettes, boot via USB diskette drive )

3. Move the Service partition to the begin of the free space 

4. Add IBM OS/2 Bootmanager to 3 primary Partition
   ( tool: DFSee )  

5. Add LVM Information to DISK and XP preload partition  


   Resulting disk layout ( DFSee output ) of previous steps:
   ---------------------------------------------------------

   Pid03=   WARNING : IBM BootManager on disk 1 is not startable (active)
   +---+--+-----------------+--+--------+--------+-----------+----------+--------+
   |ID |Dr|Type, description|ux|Format  |Related |VolumeLabel|LVM Volume|Size MiB|
   +---+----------+--------+-------------------+
   |01>|  |Prim 07 Inst-FSys| 1|NTFS    |Win NT  |IBM_PRELOAD|VN_IBM_PRE| 29996.3|
   |02 |  |Prim 12 Recovery | 2|FAT32   |MSWIN4.1|IBM_SERVICE|VN_IBM_Ser|  4776.7|
   |03 |  |Prim 0a IBM-BMGR | 3|BMGR    |LVM     |I13Xoption |BMGR_DFS_1|     7.4|
   |22 |  |FreeSpace Pri/Log|  |-- -- --|-- -- --|- - - - - -|          |270462.0|
   +---+--+-----------------+--+--------+--------+-----------+----------+--------+
   > = Active/Startable * = Bootable r = Removable R = Removable+Active/Bootable (possibly)


6. Test with "Access IBM" key pressed at POST
    
    -  Switch to Service Partition works-
       Windows PE System "IBM Rescue and Recovery" is booting
  
    -  Exit the "IBM Rescue and Recovery" System 
       via menu "Neustart"

    -  system is switching, PE system is shutdown, restart,
       POST process is executed and Windows XP Preload started

7.  Test with switch to the PE system and than call / execute
    the Hardware Diagnostic

    The System boots an PC 2000 system with PC Doctor for T43
    diagnostic. 

    Exit the Diagnostic with menue REBOOT, 
    the system is switching to XP Preload and restarts,
    the XP system is booting.

 8.  Modification / Additions to the BOOT.INI File of the
     IBM XP Preload
 
      references:
 
       Informationen über die BOOT.INI - WinFAQ German (http://www.winfaq.de/faq_html/Content/tip0000/onlinefaq.php?h=tip0408.htm)
 
       NT-Loader Wikipedia German (http://de.wikipedia.org/wiki/NT-Loader) 
 
       NTLDR Wikipedia English (http://en.wikipedia.org/wiki/NTLDR)
 
       Wie boote ich Linux mit dem Windows XP Bootmanager (http://www.lima-city.de/tutorials/wie-boote-ich-linux-mit-dem-windows-xp-bootmanager)
 
       Boot sector Wikipedia English (http://en.wikipedia.org/wiki/Boot_sector)   
 

      Boot.INI before modification -original IBM XP preload

       [boot loader]
       timeout=30
       default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
       [operating systems]
       multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect
  
  
      Boot.INI after modification

       [boot loader]
       timeout=30
       default=C:\MBR_OS2.IMG
       [operating systems]
       multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect
       C:\MBR_OS2.IMG="IBM OS/2 MBR with IBM OS/2 Bootmanager partition set to active in PT"

 
  9.  Test booting the XP system

      The XP Boot menu is displayed

      The new menu selection "IBM OS/2 MBR with IBM OS/2 Bootmanager partition set to active in PT"
      work, the OS/2 Boot menu is displayed with the single selection "XP preload"
 

  10. Booting for a OS/2 System on 2. HDD 

  11. On primary HDD:
      Add an extended partition as 4. Partition Table Entry in MBR and logical partitions

  12. assign drive letters and format the logical partitions / drives

  13. xcopy x:*.* Y*.* /H /O /T /S /E /R /V

      copy the contents of logical drives ( OS/2 systems, eCS systems and data volumes )
      from secondary HDD in UltraBay to primary HDD 
      

  14. shut down the system and remove secondary HDDs form UltraBay. 
 
       Resulting disk layout ( DFSee output ) of previous steps:
       ---------------------------------------------------------

       Pid03=   WARNING : IBM BootManager on disk 1 is not startable (active)
       Pid18=   WARNING : Not formatted or invalid boot record
       +---+--+-----------------+--+--------+--------+-----------+----------+--------+
       |ID |Dr|Type, description|ux|Format  |Related |VolumeLabel|LVM Volume|Size MiB|
       +---+----------+--------+-------------------+
       |01>|  |Prim 07 Inst-FSys| 1|NTFS    |Win NT  |IBM_PRELOAD|VN_IBM_PRE| 29996.3|
       |02 |  |Prim 12 Recovery | 2|FAT32   |MSWIN4.1|IBM_SERVICE|VN_IBM_Ser|  4776.7|
       |03 |  |Prim 0a IBM-BMGR | 3|BMGR    |LVM     |I13Xoption |BMGR_DFS_1|     7.4|
       |04*|G:|Log  07 Inst-FSys| 5|HPFS    |IBM 4.50|VL_G_HPFS  |VN_G_HPFS,|  1203.4|
       |05 |I:|Log  06 FAT16    | 6|FAT     |IBM 4.50|VL_I_FAT   |VN_I_FAT_T|  2000.7|

       ---> snip

       |15*|F:|Log  07 Inst-FSys|16|HPFS    |IBM 4.50|VL_F_HPFS  |VN_F_HPFS_|  1306.7|
       |16 |W:|Log  06 FAT16    |17|FAT     |IBM 4.50|VL_W_FAT   |VN_W_FAT_T|  2000.7|
       |17*|Y:|Log  06 FAT16    |18|FAT     |IBM 4.50|VL_Y_MAINT |VN_Y_Maint|   103.3|
       |18 |  |Log  07 Inst-FSys|19|-       |unknown |           |VN_x_NTFS_| 40000.0|
       |19 |Z:|Log  07 Inst-FSys|20|HPFS    |IBM 4.50|VL_S_AUX_H |VN_S_AUX_H| 20000.0|
       |20 |  |FreeSpace Logical|  |-- -- --|-- -- --|- - - - - -|          |106194.4|
       +---+--+-----------------+--+--------+--------+-----------+----------+--------+
       > = Active/Startable * = Bootable r = Removable R = Removable+Active/Bootable (possibly)
  
    
  15. Boot from primary HDD

      The XP Boot menu is displayed, select "IBM OS/2 MBR ....." 

      The IBM OS/2 Bootmanager menu with all the system - drives - 
      with LVM setting "boot menu" are displayed

      The Boot OS/2 record stored on C: for the XP boot menu is the unchanged version 
      form step 8 - MBR with 3 Partitions Table entry - without the 4. entry
      for the add extended partition at step 11! 
  
      Obviously no need to update the stored OS/2 MBR with the current PT entries.


   16. the selected OS/2 systems boots correctly. 
  
 
   17. Tip: Check the version of the MBR! 
            Is it the IBM XP Preload MBR or
            do you have the OS/2 LVM MBR on the primary HDD?
            Some how during the transfer of the systems , data
            in logical partition from secondary HDD to primary HDD,
            I managed to udpate the MBR :-)
            Restored the IBM XP Preload MBR from Backup via DFSee.

   18. All the tests / booting alternatives works as intended!

       1. Booting the XP system by selection at the XP boot menu

       2. Booting an OS/2 system via default entry XP boot menu
          "IBM OS/2 MBR with IBM OS/2 Bootmanager partition set to active in PT"
          and selection of the system at OS/2 Bootmanager menu    
         
       3. Press the "Access IBM" key during POST
          The XP PTE System IBM Rescue and Recovery is booting
          Working with the IBM Rescue and Recovery functions.
          Leaving the IBM Rescue and Recover System via menu entry "Neustart"
          The system does a warm reboot and the XP boot menu is displayed.

          The switch of the preload between XP and Service System does work!

       4. Press the "Access IBM" key during POST.
          The XP PTE System IBM Rescue and Recovery is booting
          Selecting to start the Diagnostic ( PC Doctor for the T43 / 43P )
          from the side menu.
          Replay yes to two message boxes.
          Restart the system via menu "Neustart". 
          At POST, power of / power on the system.
          The PC DOS 2000 system with the PC Doctor DOS 2.0.1381
          for the ThinkPad T43 / T43p is booting.
          Do some Diagnostics / Info menu entries.
          Exit the System via menu "REBOOT"
          The system  does a warm reboot.
          At POST, power of / power on the system.
          The XP boot menu is displayed

          The switch of the preload between XP, Service System and
          PC DOS 2000 PC Doctor Diagnostic does work!
    
 
   19.    next steps to do  Status per: 2010-12-19 14.00 Rainer
 
          - add more detailed description of the steps    
   
          - add the MBR Backup steps via DFSee 


-----------------------------------------------------------------------------

In Kalifornien bietet Neil Waldhauer ThinkPad T43 mit eCS 2.0 RC 6a Preload an.

http://www.blondeguy.com/computer/ThinkpadT43.html


ThinkPad T43p BIOS Startup sequence does not like HDD without MBR Code

If a HDD without MBR - Code ( e. g. a HDD out of the box ) is part of the boot start up sequence,

( either a primary or secondary HDD )

and no boot device ( system to boot ) found in sequence before the "blank" HDD,

the boot process stop with a blank screen with blinking cursor in home position.


The boot process does not skip the "blank" HDD and go to the next device in boot squence to test for a system to boot.


It a quirk :-)

Workaround: Put the system to boot (device) in sequence before the "blank" HDD.


Tested with ThinkPad 43p Type: 2668-H1G

Latest BIOS and Embedded Controller Program Version:

BIOS Version........................: 1YET65WW  (1.29)
BIOS Date...........................: 2006/08/21
Release Date........................: 2006/09/06

Embedded Controller Program Version : 1YHT29WW  (1.06)
Release Date........................: 2006/06/06


ThinkPad Hardware Information PCI Output / SNAP graphics.loge / USB Resource Manager

ThinkPad T23 Type 2647-9LG

 Lenovo Support T23 Type 2647-9LG (http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=26479LG&sitestyle=lenovo)

 Product: ThinkPad T23 2647-9LG 

 Original description: PIII-M 1.13GHz (512KB),
                       128MB RAM,
                       48.0GB HDD,
                       14.1 SXGA+(1400x1050) TFT LCD,
                       8x-3.3x DVD,
                       802.11b wireless,
                       Modem, Ethernet,
                       IBM Secure Chip,
                       TV out, Li-Ion battery,
                       Win2000

ThinkPad T23 Type 2647-9LG: PCI Output
 Wiki-eCS-OS/2-USB-Boot-en--Chapter Hardware Test Environment|Please see SubWiki: ThinkPad T23 Type 2647-9LG: PCI Output at Chapter 6.1: Hardware Test Environment   

ThinkPad T23 Type 2647-9LG: SNAP graphics.log
Wiki-eCS-OS/2-USB-Boot-en--ThinkPad T23 Type Type 2647-9LG SNAP graphics.log | Please see SubWiki: ThinkPad T43 Type 2647-9LG: SNAP graphics.log    

ThinkPad T23 Type 2647-9LG: USB Resource Manager Output
Wiki-eCS-OS/2-USB-Boot-en--ThinkPad T23 Type Type 2647-9LG USB Resource Manager Output | Please see SubWiki: ThinkPad T43 Type 2647-9LG: USB Resource Manager Output    

ThinkPad T43 Type 2668-71G

 Lenovo Support T43 Type 2668-71G (http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=266871G&sitestyle=lenovo)

 Product: ThinkPad T43 2668-71G 

 Original description: P M 760, 256MB RAM,
                       80GB 5400rpm HDD,
                       14.1 1400x1050 TFT LCD, 64MB ATI Radeon X300,
                       24x24x24x/8x CD-RW/DVD,
                       Intel 802.11a/b/g wireless,
                       Bluetooth/Modem,
                       1Gb Ether,
                       UltraNav, Sec Chip,
                       FPR, 6c Li-Ion,
                       WinXP Pro

ThinkPad T43 Type 2668-71G: PCI Output
Wiki-eCS-OS/2-USB-Boot-en--ThinkPad T43 Type 2668-71G PCI Output | Please see SubWiki: ThinkPad T43 Type 2668-71G: PCI Output    

ThinkPad T43 Type 2668-71G: SNAP graphics.log
Wiki-eCS-OS/2-USB-Boot-en--ThinkPad T43 Type Type 2668-71G SNAP graphics.log | Please see SubWiki: ThinkPad T43 Type 2668-71G: SNAP graphics.log    

ThinkPad T43 Type 2668-71G: USB Resource Manager Output
Wiki-eCS-OS/2-USB-Boot-en--ThinkPad T43 Type Type 2668-71G USB Resource Manager Output | Please see SubWiki: ThinkPad T43 Type 2668-71G: USB Resource Manager Output    

ThinkPad T43p Type 2668-H1G

 Lenovo Support T43p Type 2668-H1G (http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=2668H1G&sitestyle=lenovo)

 Product: ThinkPad T43p 2668-H1G 

 Original description: P M 770, 1 GB RAM,
                       60GB HDD,
                       15 UXGA(1600x1200) TFT LCD, 128MB ATI FireGL V3200,
                       24x24x24x/8x CD-RW/DVD,
                       Intel 802.11a/b/g wireless,
                       Bluetooth/Modem,
                       1Gb Ether,
                       UltraNav, Sec Chip,
                       FPR, 6c Li-Ion,
                       WinXP Pro
 
ThinkPad T43p Type 2668-H1G: PCI Output
Wiki-eCS-OS/2-USB-Boot-en--ThinkPad T43p Type 2668-H1G PCI Output | Please see SubWiki: ThinkPad T43p Type 2668-H1G: PCI Output    

ThinkPad T43p Type 2668-H1G: SNAP graphics.log
Wiki-eCS-OS/2-USB-Boot-en--ThinkPad T43p Type 2668-H1G SNAP graphics.log | Please see SubWiki: ThinkPad T43p Type 2668-H1G: SNAP graphics.log

ThinkPad T43p Type 2668-H1G: USB Resource Manager Output
 Wiki-eCS-OS/2-USB-Boot-en--ThinkPad T43p Type Type 2668-H1G USB Resource Manager Output | Please see SubWiki: ThinkPad T43p Type 2668-H1G: USB Resource Manager Output

ThinkPad T43p Type 2668-H1G: USB HCIMonit Output
[L:\]L:\OS2\HCIMONIT.EXE
You have 4 PCI USB UHCI host controller(s)
You have 1 PCI USB EHCI host controller(s)

[L:\]

ThinkPad T61p Type 6457-5KG

 Lenovo Support T61p Type 6457-5KG (http://www-307.ibm.com/pc/support/site.wss/quickPath.do?quickPathEntry=64575KG&sitestyle=lenovo)

Product: ThinkPad T61p 6457-5KG 

Original description: T7700(2.4GHz), 2GB RAM,
                      100GB 7200rpm HD,
                      15.4in 1920x1200 LCD,
                      256MB nVIDIA Quadro FX 570M,
                      CDRW/DVDRW,
                      Intel 802.11agn(n-disabled),
                      Bluetooth, Modem,
                      1Gb Ethernet,
                      UltraNav, Secure chip,
                      Fingerprint reader, 9c Li-Ion,
                      WinVista Ultimate
 
ThinkPad T61p Type 6457-5KG: PCI Output
Wiki-eCS-OS/2-USB-Boot-en--ThinkPad T61p Type 6457-5KG PCI Output | Please see SubWiki: ThinkPad T61p Type 6457-5KG: PCI Output    

ThinkPad T61p Type 6457-5KG: SNAP graphics.log
Wiki-eCS-OS/2-USB-Boot-en--ThinkPad T61p Type 6457-5KG SNAP graphics.log | Please see SubWiki: ThinkPad T61p Type 6457-5KG: SNAP graphics.log

ThinkPad T61p Type 6457-5KG: USB Resource Manager Output
 Wiki-eCS-OS/2-USB-Boot-en--ThinkPad T61p Type Type 6457-5KG USB Resource Manager Output | Please see SubWiki: ThinkPad T61p Type 6457-5KG: USB Resource Manager Output

ThinkPad T61p Type 6457-5KG: USB HCIMonit Output
 You have 5 PCI USB UHCI host controller(s)
  
 You have 2 PCI USB EHCI host controller(s)