PC Laptop Reconfiguration

April 3, 2011

Revised: May 31, 2014
Revised: March 18, 2018

Synopsis

This writing is a compilation of notes collected during my Windows PC laptop Partitioning, Upgrading, and Re-configuring exercises. The configurations discussed are the following:

    • Convert a single-boot XP laptop to a multi-boot configuration
    • Migrate a DOS / Win 3.1 PC desktop partition to the multi-boot laptop
    • Upgrading a Vista Home Premium 32-bit laptop to Vista Ultimate
    • Configuring XP, Vista Ultimate and Win 7 laptops on a Windows 2000 Server Domain
    • Migrating the DOS / Win 3.1 partition to an Oracle VM VirtualBox under Windows 10

Sony VGN B-100B Laptop Reconfiguration

Objectives

  1. Repartition a VGN B-100B laptop hard drive to accommodate multiple operating systems
  2. Identify and install a Boot Manager
  3. Clone a DOS 6.20 / Win 3.1 partition from a PC desktop to the Sony laptop

Constraints

The project started with a Pentium II 400 MHz tower PC running DOS 6.20 and Win 3.1 in a multi-boot configuration. The constraints were that I would accomplish this without buying additional hardware or software such as Norton Ghost to create a disk image. I also didn’t want to alter the current DOS partition. Since the laptop doesn’t have a 3.5” floppy drive, an external USB drive would need to be purchased in order to use 3.5” floppies. DOS doesn’t recognize USB devices without special drivers. There are USB drivers available, for example, USBASPI.SYS from Panasonic which is considered experimental and not supported. Another problem was how to handle the mouse. The laptop has a built-in mouse pad but no PS/2 mouse port. I was able to locate DOS USB drivers to use as a last resort: http://www.stefanthoolen.nl/darkehorse/PC/DOS/Drivers/USB/

Procedure

The following steps were taken in the order listed, more or less, to accomplish the objectives:

  • Booted into the XP partition and used xcopy to copy the files in the DOS620 partition to a thumb drive. First used C:\> dir /AHS to identify the hidden and system files.
C:\> xcopy *.* f:
C:\> xcopy *.* f: /H
  • The DOS partition was running System Commander as the boot manager. I also used Partition Magic but System Commander is no longer available and Partition Magic was acquired by Symantec. Since I refuse to use Symantec products I had no choice but to find alternatives. Searched the web to locate current commercial Boot Manager software offerings and found the following three candidates:

Acronis Disk Director 11
TeraByte BootIt Next Generation
Paragon Software Group Partition Manager

  • Disk Director seemed to be the most straightforward of the three. However, after reading some reviews on the Web where some users stated that the partitioning function was not reliable, I decided on the Partition Manager product.
  • Purchased Partition Manager Personal Edition (download) from the Paragon website while a special price was being offered.
  • Installed Partition Manager on my WinXP partition and created a recovery CD.
  • Created XP Recovery CDs from the Sony Recovery Partition.
  • Used Partition Manager to delete the Sony Recovery Partition (5GB).
  • Repartitioned the Hard Drive to reclaim the 5GB Recovery Partition. Allocated approximately 1.2GB at the beginning of the disk for the DOS partition formatted as FAT16.
  • What may or may not be obvious is that merely copying all the files from the thumb drive will not produce the desired result. Yes, the files will be copied but the partition won’t be bootable. There are probably several hacks available to get this working. I decided on using the tried and true Sys C: command. In order to run the Sys command you need to be booted from a DOS floppy, but the laptop doesn’t have one.
  • Decided to try and create a bootable CD with a DOS 6.20 system.
  • Searched the web for a decent image burner software and found two candidates:

ImgBurn
Magic ISO Maker

  • Decided to try Magic ISO Maker.
  • Used Magic ISO Maker to make a bootable ISO image from my DOS 6 installation floppy with the following results:

Conversion seemed to work fine however the resulting CD wouldn’t boot
Created 4 coasters

  • Decided to Search the web for a DOS 6 bootable image that I could burn to a CD. Found one at http://www.allbootdisks.com/download/iso.html. This was all well and good but there wasn’t a 6.20 version available. So, I decided to download the 6.22 version even though it wasn’t the DOS version I was running.
  • I decided to trash Magic ISO Maker and downloaded ImgBurn.
  • ImgBurn created the bootable DOS CD successfully.
  • Booted from the DOS CD successfully and ran the Sys C: command to transfer the system to the hard disk partition.
  • Rebooted XP and installed Paragon Partition Manager. After reviewing the Paragon user guide, no mention was made of how to get Partition Manager to recognize an already installed operating system. However, it will guide you through the process of installing a new OS from scratch but that was not what I was trying to do. So, I de-installed Partition Manager.
  • Then decided to purchase Acronis Disk Director from Amazon.com for a much cheaper price than what was asked for on the Acronis website.
  • Installed the Acronis Disk Director Suite 10.0 and OS Selector.
  • On the first attempt Acronis was able to recognize both DOS and XP partitions and created the appropriate selections in the boot menu. However, after multiple re-boot attempts, Acronis would add another DOS selection in the boot menu. It was also creating a bizarre file structure in the XP partition which kept getting deeper and deeper after each re-boot. After some thrashing around trying to clean it up, the XP partition wouldn’t boot.
  • Re-installed Windows XP from the Vaio recovery DVD. I brought the entire system back over a weekend. The only data loss was my Outlook Address Book and emails that weren’t archived.
  • I still needed to acquire a reliable boot manager, so I purchased the Terabyte BootIt NG Boot Manager and Partition Tool. It is the most comprehensive utility out of the three that I tried but Terabyte has very good documentation and also a number of videos which step you through the installation and configuration process.
  • After studying the user guide and videos, I decided to install with the following options:

“No” to the enable more than 4 primary partitions option and
“Yes” to the install BootIt NG in its own partition

I chose these options because I wanted to maintain compatibility with FDISK and I didn’t want any debris lying around in my XP partition in case things went wrong.

  • Followed the User Guide and created a bootable CD. Installed BootIt NG and selected the Choose Partition Manually option. Created and formatted an 8MB primary partition for the BootIt EMBRM.
  • BootIt NG installed successfully and recognized both DOS and XP partitions. Re-booted multiple times to verify that each operating system could be booted and was operational.
  • The following is the result of the drive partitioning:

DOS

61.27GB FAT
16MB Unallocated

WINXP

39.18GB NTFS
34.05GB Unallocated
8MB BootIt EMBR
  • From XP on the laptop, copied the files from the thumb drive created from the original installation to the new DOS partition. Did not re-copy the system files: IO.SYS and MSDOS.SYS.
  • After copying the files and attempting to run a command, DOS complained with the error: “Incorrect DOS version” because the DOS system files are version 6.22 and command.com is version 6.20.
  • After searching the Web, found an MS-DOS 6.2 Step Up download from the Microsoft web site.
  • Booted from the DOS partition on the Pentium II PC and installed the MS-DOS 6.2 Step Up software.
  • Booted from the XP partition on the Pentium II PC and copied all DOS files except IO.SYS and MSDOS.SYS to the thumb drive.
  • From XP on the laptop, copied the new DOS files to the DOS partition. Re-booted into the DOS partition and verified the DOS commands were able to execute.
  • From DOS, removed the System Commander files.
  • The DOS installation also includes the QEMM memory manager. Attempted to run Optimize to reconfigure QEMM memory settings. The Optimize would always fail with the error:
    QEMM386: Warning: The EMS Page Frame has been put into conventional memory, thereby reducing the amount of conventional memory available. Press any key to continue…
  • Followed troubleshooting suggestions in the QEMM User Guide without success. Searched the Web for suggestions on how to resolve the error including removing QEMM and reinstalling to force the Optimize to run on a clean install all without success. Finally, I found a suggestion for changing the QEMM386.SYS parameters one by one to find the offending parameter. I tried this on a few of the parameters and then gave up.
  • After some deliberation, I decided to try using the DOS memaker utility which was supposed to be improved in DOS 6.22. Prior to running memaker, edited autoexec.bat and config.sys to remove references to QEMM.
  • The following are the contents of the original CONFIG.SYS and AUTOEXEC.BAT files:

CONFIG.SYS

SHELL=C:\QEMM\LOADHI.COM /R:2 C:\DOS\COMMAND.COM C:\DOS /p /e:1024
device=c:\qemm\dosdata.sys
DEVICE=C:\DOS\SETVER.EXE
DEVICE=C:\QEMM\QEMM386.SYS RAM R:1
device=c:\qemm\dos-up.sys @c:\qemm\dos-up.dat
DEVICE=C:\CTCM\CTCM.EXE
DOS=HIGH, UMB
FILES=100
BUFFERS=10
DEVICE=C:\CDROM\CDTECH.SYS /D:MSCD001 /UDMA2 /V
LASTDRIVE=M
STACKS=9,256

AUTOEXEC.BAT

SET COBDIR=C:\COBOL\BINB;C:\COBOL\BINR;
SET COBHNF=C:\COBOL\HELP;
PATH=C:\QEMM;C:\VEDIT;C:\WASM;C:\COBOL\BINB;C:\COBOL\BINR;C:\GUPTA;C:\PROFILER\BIN\;C:\C700\BIN;
C:\WINDOWS;C:\DOS;C:\TP;C:\TP\UTILS;C:\MOUSE
Set LIB=C:\COBOL\LIB;C:\C700\LIB;C:\C700\MFC\LIB
Set INCLUDE=C:\C700\INCLUDE;C:\C700\MFC\INCLUDE;C:\COBOL\SOURCE
Set HELPFILES=C:\COBOL\HELP;C:\PROFILER\HELP\*.HLP;C:\C700\HELP\*.HLP
Set INIT=C:\COBOL\INIT;C:\PROFILER\INIT\;C:\C700\INIT
Set TMP=C:\C700
SET CTCM=C:\CTCM
C:\CTCM\CTCU /S /W=C:\WINDOWS
@if exist c:\checkmbr.exe c:\checkmbr quiet (Validate MBR, not a TSR)
C:\QEMM\LOADHI /R:2 /LO C:\DOS\SMARTDRV.EXE /X
@ECHO OFF
PROMPT $p$g
SET TEMP=C:\DOS
C:\QEMM\LOADHI /R:2 C:\DOS\MSCDEX.EXE /D:MSCD001 /M:10
SET lmouse=c:\mouse
c:\qemm\loadhi /r:1 /lo c:\mouse\mouse.exe

The following are the contents of the modified CONFIG.SYS and AUTOEXEC.BAT files:

CONFIG.SYS

DEVICE=C:\DOS\HIMEM.sys
DEVICE=C:\DOS\EMM386.EXE NOEMS
BUFFERS=10,0
FILES=100
DOS=UMB
LASTDRIVE=M
FCBS=4,0
SHELL=C:\DOS\COMMAND.COM C:\DOS /p /e:1024
DEVICEHIGH /L:2,12048 =C:\DOS\SETVER.EXE
;DEVICE=C:\CTCM\CTCM.EXE
DOS=HIGH
DEVICEHIGH /L:1,25120 =C:\CDROM\CDTECH.SYS /D:MSCD001 /UDMA2 /V
STACKS=9,256

AUTOEXEC.BAT

SET COBDIR=C:\COBOL\BINB;C:\COBOL\BINR;
SET COBHNF=C:\COBOL\HELP;
PATH=C:\VEDIT;C:\WASM;C:\COBOL\BINB;C:\COBOL\BINR;C:\GUPTA;C:\PROFILER\BIN\;C:\C 700\BIN;C:\WINDOWS;C:\DOS;C:\TP;C:\TP\UTILS;C:\MOUSE
Set LIB=C:\COBOL\LIB;C:\C700\LIB;C:\C700\MFC\LIB
Set INCLUDE=C:\C700\INCLUDE;C:\C700\MFC\INCLUDE;C:\COBOL\SOURCE
Set HELPFILES=C:\COBOL\HELP;C:\PROFILER\HELP\*.HLP;C:\C700\HELP\*.HLP
Set INIT=C:\COBOL\INIT;C:\PROFILER\INIT\;C:\C700\INIT
Set TMP=C:\C700
::SET CTCM=C:\CTCM
::C:\CTCM\CTCU /S /W=C:\WINDOWS
@if exist c:\checkmbr.exe c:\checkmbr quiet (Validate MBR, not a TSR)
LH /L:0 C:\DOS\SMARTDRV.EXE /X
@ECHO OFF
PROMPT $p$g
SET TEMP=C:\DOS
C:\DOS\MSCDEX.EXE /D:MSCD001 /M:10
SET lmouse=c:\mouse
c:\mouse\mouse.exe
  • After running memaker successfully, the next step was to verify that Windows 3.1 would still work. From DOS, ran the win command to invoke Windows 3.1. Since the file 386PART.PAR file was also copied into the DOS partition, Windows complained that it was missing or corrupted. Fortunately, Windows prompts you for permission to recreate it.
  • Success! DOS and Windows 3.1 are both fully functional including the Windows apps.

To my surprise, both the attached USB Mouse and the laptop Touchpad Mouse both work in DOS SHELL and Windows. Obviously, the Alps touchpad in the laptop uses the standard PS2 interface as does the keyboard.

Eventually gave in and purchased an external USB 3.5” floppy drive, just in case…

Upgrading Vista Home Premium

Objectives

Update a Gateway laptop running Vista Home Premium 32-bit to Vista Ultimate.

Constraints

Upgrade the current installation in place without having to perform a clean install.

Procedure

  • The first problem was finding a Vista Ultimate Upgrade version. The Microsoft website was not helpful because Windows 7 was already released and they want you to upgrade to Win7.
  • Found a version on Amazon.com for under $100, Windows Vista Ultimate (Product) REDTM on DVD (no longer available).
  • Before placing the order, read all the customer reviews to verify that the upgrade will in fact allow you to upgrade from a current Vista installation. The reviews seemed to indicate that you could upgrade Vista.
  • After attempting to install the Upgrade, the definition of upgrade became obvious; Microsoft doesn’t consider a Vista-to-Vista upgrade as an upgrade at all but as a new install. The following are your options:
  • Upgrade—clean install to Vista Ultimate 32-bit
  • Clean install to 64-bit not allowed—the Product is an Upgrade
  • Upgrade to 64-bit not allowed—must be currently running a 64-bit OS
  • No other option
  • Clean install to Vista Ultimate 32-bit SP1 successful.

Connecting XP, Vista and Win7 to a Domain on a Win 2000 Server

Objectives

Connect three laptops to a Windows 2000 Advanced Server domain.

Constraints

None

Procedure—Windows XP Professional

  • From the Control Panel select “Network Connections”
  • Right-click on the network you want to configure and select “Properties”
  • Select “Internet Protocol (TCP/IP)” and click Properties.
  • On the Properties dialog box, click the General tab.
  • On the General tab, select “Use the following DNS server addresses” and enter the router’s IP address in the Preferred DNS Server field and the Server DNS in the Alternate DNS Server field, click OK to complete the changes.
  • From the Control Panel select “System”
  • On the System Properties dialog box, click the Computer Name tab.
  • Select “Change” To rename this computer or join a domain.
  • On the Computer Name Changes dialog, Member of option, select “Domain” and enter the domain name.
  • Enter a username/password when prompted.

Procedure—Windows Vista Ultimate

  • From the Control Panel select “Network and Sharing Center”
  • Click Manage Network Connections.
  • Right-click on the network you want to configure and select “Properties”
  • Select “Internet Protocol Version 4 (TCP/IPv4)” and click Properties.
  • On the Properties dialog box, click the General tab.
  • On the General tab, select “Use the following DNS server addresses” and enter the router’s IP address in the Preferred DNS Server field and the Server DNS in the Alternate DNS Server field, click OK to complete the changes.
  • From the Network and Sharing Center, make the following selections shown in Figure 1.
  • In the Network Discovery section, Click Change Settings.
  • On the System Properties dialog box, click the Computer Name tab.
  • Select “Change” To rename this computer or change its domain or workgroup.
  • On the Computer Name Changes dialog, Member of option, select “Domain” and enter the domain name.
  • Enter a username / password when prompted.
Figure 1
Figure 1

Procedure —Windows 7 Professional

  • From the Control Panel select “Network and Sharing Center”
  • Click Change adapter settings.
  • Right-click on the network you want to configure and select “Properties”
  • Select “Internet Protocol Version 4 (TCP/IPv4)” and click Properties.
  • On the Properties dialog box, click the General tab.
  • On the General tab, select “Use the following DNS server addresses” and enter the router’s IP address in the Preferred DNS Server field and the Server DNS in the Alternate DNS Server field, click OK to complete the changes.
  • From Network and Sharing Center, click Change advanced sharing settings.
  • Expand the Home or Work section.
  • Make the following selections shown in Figure 2.
  • Save Changes.
  • From the Control Panel select “System”
  • Click Change Settings in the Computer name, domain and workgroup settings area.
  • On the System Properties dialog box, click the Computer Name tab.
  • Click Change To rename this computer or change its domain or workgroup.
  • On the Computer Name Changes dialog, Member of option, select “Domain” and enter the domain name.
  • Enter a username / password when prompted.
  • From the Control Panel select “Network and Sharing Center”
  • Click Change advanced sharing settings.
  • Expand the Domain section.
  • Verify the following selections shown in Figure 3.
win7_network_figure2
Figure 2
win7_network_figure3
Figure 3

Migrating a DOS / Win 3.1 Partition to Oracle VM VirtualBox

Objectives

Create a virtual machine using the existing DOS / Win 3.1 partition exactly under Oracle VirtualBox.

Constraints

None

Procedure

  • Downloaded and installed the latest VirtualBox version from https://www.virtualbox.org/.
  • Since Windows 3.1x requires DOS to be installed first, the temptation is to create a DOS virtual machine first. This is incorrect. Create the new machine as Windows 3.1, then install DOS.
  • My running DOS version is MS DOS 6.22, but I don’t have the 3.5” installation diskettes anymore. I found a site, https://www.kirsle.net/msdos, that provided the disk images I needed to install the VM.
  • Installation from a virtual install disk is lightning fast.
  • The next step is getting Windows 3.1 installed. Again, I don’t have the original installation diskettes so I had to download the disk images also.
  • I downloaded Windows 3.11 images and installed those. However, my running version was Windows 3.1 so I was out of sync.
  • During my previous exercise with migrating to a PC laptop, I purchased a USB 3.5” floppy drive. That’s all well and good but I don’t have all the application and development tools diskettes that I would need to install from scratch. Even if I did have the diskettes, reading the USB floppy drive from within a virtual machine is slow beyond belief.
  • Then I remembered that I had a CD-ROM driver, CDTECH.SYS, in my running DOS partition so I copied the folder to a real 3.5” floppy using the USB drive and copied the folder to my DOS VM.
  • Ran the install in DOS which updated my AUTOEXEC.BAT and CONFIG.SYS files. The CD-ROM drive was recognized by the driver so I was ready to go.
  • I booted my laptop into Windows XP and copied all files and folders from the DOS partition to a USB thumb drive. Then I took the thumb drive to my Windows 10 PC that my VMs are running on and burned a CD from the thumb drive.
  • Then, from within the DOS VM, I used XCOPY to copy each folder except WINDOWS and DOS to the DOS VM.
  • I then used MOVE to rename my existing AUTOEXEC.BAT, CONFIG.SYS and WINDOWS folder as a backup.
  • Finally, I copied AUTOEXEC.BAT, CONFIG.SYS and WINDOWS folder to my DOS VM.
  • After restarting the DOS VM, I noticed an error on the CD-ROM driver. Also, some of my applications were throwing errors in Windows. I troubleshooted the problems by doing a stare-and-compare between the file systems on the real DOS partition and the DOS VM.
  • As expected, after typing WIN from the DOS prompt, Windows complained about a corrupted swap file. Fortunately, Windows guides you through the steps needed to correct the issue.
  • After testing out my apps in Windows, I discovered that XCOPY was a little wonky. My C:\CDROM folder had another subfolder with all the files so they weren’t found during startup. My Automap application had a folder named USA.MAP which XCOPY created as USA_MAP so the map wouldn’t run and finally, I found many files containing a dash (“-“) were created with an underscore (“_”).
  • After correcting the issues, I was in Fat City.
Digiprove sealCopyright secured by Digiprove © 2020 Gerard Sczepura

Leave a Reply

Your email address will not be published. Required fields are marked *