Wednesday, May 26, 2010

Solved "BOOTMGR is missing" error in Windows 7 OS (Rev: 1.0)



After the Dell Optiplex GX620 pc with Windows 7 Enterprise x86 Operating System (OS) was powered on and had completed the Power On Self Test (POST), the "BOOTMGR is missing. Press Ctrl+Alt+Del to restart" error message appeared. I performed the below to solve the "BOOTMGR is missing" error:

  1. Booted up the Dell Optiplex GX620 pc from the Windows 7 Enterprise DVD. When the "Press any key to boot from CD or DVD" message appeared, simply press any key. After Windows 7 had finished loading files, it will start Windows. Kindly click "Next" when it prompt the 'Enter your language and other preferences and click "Next" to continue'.

  2. Clicked the "Repair your computer" options. At the "System Recovery Options" dialog box, I chose the "Windows found problems with your computer's startup options. Do you want to apply repairs and restart your computer ?" and clicked the "Repair and restart" button. After a while, the pc restarted but it still had the "BOOTMGR is missing" error.

  3. Hence, I boot the pc from the Windows 7 Enterprise DVD again. I clicked the "Repair your computer" options. At the "System Recovery Options" dialog box, I chose the "Use recovery tools that can help fix problems starting windows. Select an operating system to repair. If your operating system isn't listed, click Load Drivers and then install drivers for your hard disks", select the "Windows 7 Enterprise (recovered)" OS and clicked "Next".

  4. At the "System Recovery Options" dialog box, I clicked "Startup Repair" -> "Automatically repair". After a while, I restarted the computer to complete the repairs by clicking the "Finish" button. The Dell Optiplex GX620 pc boot up Windows 7 Enterprise OS normally without showing the "BOOTMGR is missing" error.

    Notes:

    At the "Click here for diagnostic & repair details",

    Session details
    ---------------
    System Disk = \Device\Harddisk0"
    Windows directory = c:\windows
    AutoChk Run = 0
    Number of root causes = 1

    Boot caused found:
    ------------------
    Boot manager is missing or corrupt.
    Repair action: File repair
    Result: Completed successfully. Error code = 0x0

Wednesday, May 19, 2010

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%

Monday, May 3, 2010

现代名句精华 (Rev: 1.0)



• 樹多必有枯枝,人多必有白癡。
• 君子報仇,三年不晚。小人報仇,一天到晚。
• 帥有個屁用!到頭來還不是被卒吃掉!
• 騎白馬的不一定是王子,可能是唐僧。
• 帶翅膀的不一定是天使,也可能是 "鳥人"。
• 就算是Believe, 中間還是有個 lie。
• 就算是Friend, 最後還是會有個 end
• 就算是Lover, 最後還是會 over。
• 就算是forget, 也要先 get才行。
• 就算有個wife, 心裡也要假設 if。
• 樹不要皮,必死無疑。人不要臉,天下無敵。
• 人生 (人蔘),不過比當歸長一點。
• 懷才就像懷孕,時間久了才能讓人看出來。
• 上帝給了我們七情六慾,我們卻把它們變成了色情和暴力。
• 最浪漫的三個字不是 "我愛你",而是 "在一起"。
• 前程四緊就是:手頭緊、眉頭緊、衣服緊、時間緊。
• 青春就像衛生紙。看著挺多的,用著用著就不夠了。
• 女人的愛是用說的,男人的愛是用做的。
• 幸福離我們很近,但,我們都忘了靠近。
• 天底下沒有所謂複雜的事情,是人的思維和感情把它複雜化了。
• 福利不是問題,問題是沒福利。錢不是問題,問題是沒錢。
• 今日事今日畢,過了今日就不必。
• 皮夾裡的發票永遠比鈔票多。
• 我不是隨便的人,但我隨便起來不是人。