SP3 OS On Dell

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Wednesday, May 19, 2010

Using shsurdrv.exe to create a ramdrive in MSDOS on pc with memory greater than 2 GB (Rev: 1.1)

Posted on 2:37 AM by Unknown


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%
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Solved Windows Defender "ERROR: Signature Update failed with hr=800106BA" & "Windows Update cannot currently check for updates because the service is not running" errors in Acer Aspire X5900 pc with Windows 7 Home Premium x64 OS (Rev: 1.0)
    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 1 T...
  • Solved changing SATA operation mode in BIOS from IDE to AHCI without reinstalling Windows XP x64 OS for ASUS P8H77-M motherboard (Rev: 1.0)
    Before the Windows XP x64 Operating System (OS) installation process on Asus P8H77-M motherboard computer that has Intel H77 Express Chipse...
  • Solved People Express Management Flight Simulator software 16 bit Windows Subsystem error when login as a local user account in Windows XP Professional SP3 x86 OS (Rev: 1.1)
    After installed the People Express Management Flight Simulator (PEMFS) v1.02 on a Windows XP Professional SP3 x86 OS using an administrator ...
  • Solved syntax error when printing a pdf file to HP Laserjet 8150 printer (Rev: 1.1)
    When printing a pdf file entitled "On the concept of 'tractor beams'" (by S. Sukhov and A. Dogariu*)  to HP Laserjet 8150 ...
  • Photos/Contact Me (Rev: 1.74)
    A brief introduction of myself: Jack Ng Singaporean Diploma in Electrical Engineering Professional Diploma in Management Degree of Bachelor ...
  • Solved Chinese (PRC) keyboard layout error (Rev: 1.2)
    Situation When I tried to add the " Chinese (PRC) - Chinese (Simplified) - Micosoft Pinyin IME 3.0 " keyboard layout to the Langua...
  • Remote Desktop Connection (Rev: 1.89)
    Remote Desktop Connection (RDC) is a technology that allows you to sit at a computer/notebook and connect to a remote computer/server in a d...
  • Series RC circuit (Rev: 1.41)
    Diagram 1: Capacitor voltage (V C ) and current (I) waveforms In a capacitor, current (I) flows across the capacitor leads the capacitor v...
  • Set a light green desktop background colour to protect your eyes through long hours of looking at the pc monitor (Rev: 1.0)
    If you spend long hours looking at your pc monitor screen daily, you might want to protect your eyes by changing the background colour of yo...
  • "Fan error" in IBM T42 notebook (Rev: 1.2)
    JackNg updates on 7 January 2010: I have changed to a known good fan from another IBM T42 notebook. The " fan error " is solved as...

Blog Archive

  • ►  2013 (8)
    • ►  May (2)
    • ►  April (3)
    • ►  March (2)
    • ►  February (1)
  • ►  2012 (26)
    • ►  December (5)
    • ►  October (1)
    • ►  September (3)
    • ►  August (2)
    • ►  July (6)
    • ►  June (2)
    • ►  March (4)
    • ►  February (1)
    • ►  January (2)
  • ►  2011 (13)
    • ►  November (1)
    • ►  October (5)
    • ►  September (1)
    • ►  June (2)
    • ►  May (2)
    • ►  March (1)
    • ►  January (1)
  • ▼  2010 (14)
    • ►  December (1)
    • ►  November (2)
    • ►  October (1)
    • ►  June (3)
    • ▼  May (3)
      • Solved "BOOTMGR is missing" error in Windows 7 OS...
      • Using shsurdrv.exe to create a ramdrive in MSDOS o...
      • 现代名句精华 (Rev: 1.0)
    • ►  April (1)
    • ►  March (1)
    • ►  February (1)
    • ►  January (1)
  • ►  2009 (16)
    • ►  December (1)
    • ►  October (1)
    • ►  September (1)
    • ►  August (3)
    • ►  July (1)
    • ►  June (1)
    • ►  May (2)
    • ►  February (5)
    • ►  January (1)
  • ►  2008 (44)
    • ►  December (4)
    • ►  November (7)
    • ►  September (2)
    • ►  August (7)
    • ►  July (3)
    • ►  June (3)
    • ►  May (2)
    • ►  April (1)
    • ►  March (9)
    • ►  February (6)
Powered by Blogger.

About Me

Unknown
View my complete profile