|
如下配置的电脑- 惠普 Pavilion dv5-1107TX
- CPU:Intel Core2 Duo P8400(2.26G)
- 内存:2G DDR2
- 硬盘:320G SATA 5400转
- 屏幕尺寸:15.4寸
- 显示芯片:独立,Nvidia GeForce 9600M GT
- 光驱类型:内置,DVD刻录机,支持光雕刻录
复制代码 autoexec.bat- @ECHO OFF
- CLS
- SET PROMPT=$P$G
- SET TEMP=Y:
- SET TMP=Y:
- SET RAMD=Y:
- SET CDROM=Z
- PATH A:\;%RAMD%\;%CDROM%:\;%PATH%
- LH SMARTDRV.EXE 20480 >NUL
- LH CTMOUSE.EXE >NUL
- XMSDSK.exe 20480 %RAMD% /y /t >NUL
- SET COMSPEC=%RAMD%:\COMMAND.COM >NUL
- COPY EXTRACT.EXE %RAMD%\ >NUL
- COPY COMMAND.COM %RAMD%\ >NUL
- COPY MYGHOST.BAT %RAMD%\ >NUL
- EXTRACT.EXE /E /Y /L %RAMD%\ GHOST.CAB >NUL
- %RAMD%\
- MYGHOST.BAT
复制代码 config.sys- DEVICE=HIMEM.SYS /TESTMEM:OFF
- DEVICEHIGH=EMM386.EXE NOEMS
- DOS=HIGH,UMB
- files=60
- buffers=20
- dos=high,umb
- stacks=9,256
- lastdrive=z
复制代码 帖上myghost.bat源码- REM "备份和恢复分区为第1磁盘,第4分区;目录 \backup.xyz"
- @echo off
- tw /np>nul
- cls
- wbat Menu @Myghost:drmenu> %temp%\wtemp.bat
- call %temp%\wtemp.bat
- if %?%==1 goto baksystem
- if %?%==2 goto Restore
- if %?%==3 goto manual
- goto exit;
- :baksystem
- tw /q >nul
- cls
- REM ghost83 -dd >NUL
- REM set p=1
- REM call FindLast.bat 1 2 3 4 5 6 7 8 9 10 11 12 13 14
- GHOST.EXE -CLONE,MODE=PDUMP,SRC=1:1,DST=1:4\backup.xyz -sure -Z6 -FX -PWD
- goto exit;
- :Restore
- tw /q >nul
- cls
- REM ghost83 -dd >NUL
- REM set p=1
- REM call FindLast.bat 1 2 3 4 5 6 7 8 9 10 11 12 13 14
- GHOST.EXE -CLONE,MODE=PLOAD,SRC=1:4\backup.xyz:1,DST=1:1 -sure -FX -RB
- goto exit;
- :manual
- tw /q >nul
- cls
- GHOST.EXE
- goto exit
- :drmenu "please choice " [x]
- [自动备份 (&B)]
- [自动恢复 (&R)]
- [手动 Ghost (&C)]
- [退出到 Dos (&E)]
-
- [建议密码:8888888888]
- 哪哪哪哪哪哪哪哪哪哪哪哪哪哪
- modify: jason Author: wangsea 2007
- ::
- goto exit
- :exit
- for %%a in (wbat wcb1 wcb2) do set %%a=
- set ?=
- if exist %temp%\wtemp.bat del %temp%\wtemp.bat
- tw /q >nul
- cls
复制代码 在我的HP 4411上测试成功,但在这款机器一直黑屏,光标左上标闪,采用硬盘GRUB加载IMG的引导方式。
这会是什么问题呢?
我个人的理解是肯定还没有加载到“drmenu”这里,因为界面没有出现过。
[ 本帖最后由 jasonwang 于 2010-8-29 21:14 编辑 ] |
|