While I try my best to ensure the accuracy of every blogs posted, I cannot guarantee that it will suit your environment or platform. © Copyright 2008-2024 JackNg C. H.. All Rights Reserved.
Using shsurdrv.exe to create a ramdrive in MSDOS on pc with memory greater than 2 GB (Rev: 1.1)
I created a MSDOS boot CDROM disc to run ghost.exe so that I can backup or restore computer. I used WinZip to compress ghost.exe as ghost.zip in order to reduce the ghost file size. Then, I used xmsdsk.exe v1.9I (a ramdrive application) to create a ramdrive in MSDOS so that I can unzip the ghost.zip to the ramdrive as shown below in the autoexec.bat (no need to configure xmsdsk.exe in the config.sys):
autoexec.bat
---------------
set ramdrv=r:
rem To create a 16 MB ramdrive at r drive
rem on top of the XMS memory (/t)
xmsdsk.exe 16384 %ramdrv% /y /t
if exist ghost.zip pkunzip.exe -e ghost.zip %ramdrv%
However, xmsdsk.exe does not function correctly on computer with memory greater than 2 GB because it will produce a "XMS get free mem error". On computer with less than or equal to 2 GB of RAM, xmsdsk.exe runs OK without the "XMS get free mem error". Removing the /t parameter (top of the XMS memory) in xmsdsk.exe also has the same "XMS get free mem error".
Hence, I removed xmsdsk.exe and try using another ramdrive application, shsurdrv.exe v1.11 in MSDOS. I added shsurdrv.exe in the config.sys (no need to add shsurdrv.exe in the autoexec.bat) as shown below:
config.sys
------------
files=40
buffers=30
lastdrive=z
dos=high,umb
device=himem.sys
device=emm386.exe
rem Create a 16 MB ramdrive quietly at r drive
install=shsurdrv.exe 16384K,R: /Q
SHELL=COMMAND.COM /E:4096 /P
However, I encountered the "too big for memory" error when running shsurdrv.exe in MSDOS on a Dell Optiplex 755 or Optiplex 960 computer with 4 GB memory. On computers (eg: Dell Optiplex GX620 with 1 GB RAM or Dell Optiplex GX270 with 2 GB) with less than or equal to 2 GB of RAM, shsurdrv.exe runs OK without showing the "too big for memory" error.
I commented out the running of "device=emm386.exe" in the config.sys and the "too big for memory" error when running shsurdrv.exe in MSDOS on a Dell Optiplex 755 or Optiplex 960 computer with 4 GB memory did not appeared. I have no problem running ghost.exe in the ramdrive (r: drive), except that it is a bit slow (about 4 to 5 seconds) waiting for the ghost program to start.
Hence, you should add shsurdrv.exe in the config.sys and deleted the "device=emm386.exe" as shown below:
config.sys
------------
files=40
buffers=30
lastdrive=z
dos=high,umb
device=himem.sys
rem Create a 16 MB ramdrive quietly at r drive
install=shsurdrv.exe 16384K,R: /Q
SHELL=COMMAND.COM /E:4096 /P
autoexec.bat
----------------
set ramdrv=r:
if exist ghost.zip pkunzip.exe -e ghost.zip %ramdrv%
Subscribe to:
Post Comments (Atom)
Please donate. Thanks.
paypal.me/jackngch
(PayPal-to-Paypal account only)
Popular Posts
-
If you spend long hours looking at your pc monitor screen daily, you might want to protect your eyes by changing the background colour o...
-
There are 3 partitions in the Dell Optiplex 9010 pc [Intel Core i7-3770 (3.40 Ghz) CPU, 32 GB DDR3 1600 Mhz memory, 1 TB SATA hardisk dr...
-
Assume running Windows 7 Enterprise x86 Operating System (OS) and had already installed the original RTM version (10.0.26624.0) of Window...
-
Microsoft KB2592687 is the Remote Desktop Protocol 8.0 update for the Windows 7 SP1 Operating System (OS) and Windows Server 2008 R2 S...
-
After login to the Windows 7 Home Premium x64 Operating system (OS) of the Acer Aspire X5900 pc [Intel i5-650, 3.20 GHz, Western Digital ...
-
I had bought the Roman Duo DeliCooker HL-400 ( S$1288.00 including 7% GST & delivery) on March 2014. I had found a Vees Electric Ho...
-
Diagram 1: Capacitor voltage (V C ) and current (I) waveforms In a capacitor, current (I) flows across the capacitor leads the capacitor v...
-
If you are searching for information on a mobile phone number, it will not be freely available in the public domain databases because of ...
-
Situation When I tried to add the " Chinese (PRC) - Chinese (Simplified) - Micosoft Pinyin IME 3.0 " keyboard layout to the Langua...
-
During SolidWorks 2019 SP2 installation, the below error message pop-up: SOLIDWORKS Installation Manager Microsoft SQL Server failed to...
No comments:
Post a Comment