更新grldr到03-30-2007的简体中文版
更新eb-net.lil支持更多的千兆网卡。
更新rtl 8111b网卡的pxe引导代码。
加入AFUDOS.exe,可刷写ami 8.0的bios文件。
删除unflash,它根本不运行。
加入xcp拷贝工具,详细看
http://www.cn-dos.net/forum/viewthread.php?tid=29092&fpage=1
加入站长用upx压缩的ntfs4dos.这是本dos启动包里唯一一个用upx压缩过的程序.
更新HX DOS Extender运行库文件
更新PWD_CHNG.EXE,现在它可以在dos下完美的修改vista 2003 xp的系统密码了
删除了linux版修改系统密码的工具,因为它的新版暂时不支持vista,目前PWD_CHNG.EXE很完美了。
加入PTD注册版,它以修正分区表,文件分配表的错误,如ghost 恢复文件过程中失败,可用它试试修复分区表。
更新效率源到2004版
更新GHSTWALK,来自ghost 11,它可以在纯dos下修改vista xp 2003的计算机名。
加入ghost 11,同时保留ghost 8.3,ghost8.3文件名是ghost.exe,ghost11文件名是ghost11.exe.
更新TESTDISK.EXE,PHOTOREC.EXE,在dos修改硬盘数据的工具。
更新CWSDPMI.EXE ver :0.6B
加入站长提供的PCMOUSE.EXE,来自论坛的下载专区。
加入IELDR.EXE用于在DOS下加载并引导ISO文件.
加入LOADLIN.EXE 1.6c用于在 DOS下加载并引导linxu内核镜像.
修正netset的一些小错误.
现在进入DOS提示符后光标默认是插入状态.
加入DPMIONE.EXE,它可以支持DPMI 1.0标准,经测试很不完善
换用另一个Etherboot代码,文件名为eb-net.lil
更新memtestp 1.7,支持FB-DIMM内存了.
修正安装到硬盘.cmd脚本的一些错误:很可能会造成boot.ini的系统,只读,隐藏属性没有.
GRUB4DOS的图形背景文件改为redhat-9.xpm.gz,现在看上去更简洁了.
syslinxu部分相关文件更新3.36正式版.memdisk兼容性很好。
附上安装到c:\boot.ini文件的脚本,同类软件都采用exe打包程序安装到c:\boot,再向注册表写入反安装信息,有些还带有流氓插件。
该脚本实现了安装到boot.ini,可设置系统选择菜单超时时间,可设置grub4dos的菜单编缉密码,进入dos的密码,可以从硬盘中反安装。
@echo off
:start
echo.
echo ************************************
echo * *
echo * 1、安装"GRUB 启动"到启动菜单 *
echo * 2、删除"GRUB 启动"和相关文件 *
echo * 3、退出 *
echo * *
echo ************************************
set UserChoice=
set /p UserChoice= 请选择 默认为1:
echo.
if /i "%UserChoice%"=="" goto 1
if /i "%UserChoice%"=="1" goto 1
if /i "%UserChoice%"=="2" goto 2
if /i "%UserChoice%"=="3" goto :eof
echo 无效的选择! 请重新选择
echo.
goto start
:1
if not exist C:\boot.ini echo 没有找到 c:\boot.ini 文件! &goto start
rem findstr /C:"C:\grldr=GRUB 启动" c:\boot.ini
echo 备份 C:\boot.ini 为 C:\boot-ini.bak
type C:\boot.ini>C:\boot-ini.bak
echo.
set second=2
set /p second= 请设置显示操作系统列表的时间,默认为2秒:
attrib -s -h -r C:\boot.ini
type C:\boot-ini.bak|find "boot loader" /i>C:\boot.ini
echo timeout=%second% >>C:\boot.ini
echo.
echo 修改操作系统菜单超时间为%second%秒
type C:\boot-ini.bak|find "boot loader" /i /v|find "timeout" /i /v>>C:\boot.ini
set yet=
for /f "delims=" %%l in (c:\boot.ini) do (
echo.%%l|find /i "C:\grldr=GRUB 启动">nul && set yet=1
)>nul
if "%yet%"=="1" goto yet
echo C:\grldr=GRUB 启动>>C:\boot.ini
attrib +s +h +r C:\boot.ini
echo.
echo 添加"GRUB 启动"菜单项成功.
goto yeta
:yet
attrib +s +h +r C:\boot.ini
echo.
echo 已经添加了"GRUB 启动"到 OS 选择菜单,不需要再添加.
echo.
:yeta
echo 为了系统安全,请设置进入交互式菜单编辑功能的密码
echo.
:inputpass1
set pass1=
set pass2=
set /p pass1= 请输入交互式菜单编辑功能的密码:
set /p pass2= 请再次输入交互式菜单编辑功能的密码:
echo.
if "%pass1%"=="%pass2%" goto variance1
if not "%pass1%"=="%pass2%" echo 两次输入密码不相同,请重新输入密码.
echo.
goto inputpass1
:variance1
if "%pass1%"=="" goto spacepass1
goto md51
:spacepass1
echo 没有密码
echo.
set h=
goto nonepass1
:md51
md5+.exe %pass1% >c:\aaabbb.tmp
for /f %%i in (c:\aaabbb.tmp) do set h=%%i
rem set /a h=%h%+1
if exist c:\aaabbb.tmp del c:\aaabbb.tmp
echo MD5加密字符串是:%h%
:nonepass1
echo.
echo 为了硬盘数据的安全,请设置进入网络DOS的密码
echo.
:inputpass2
set pass3=
set pass4=
set /p pass3= 请输入网络DOS系统的密码:
set /p pass4= 请再次输入网络DOS系统的密码:
echo.
if "%pass3%"=="%pass4%" goto variance2
if not "%pass3%"=="%pass4%" echo 两次输入密码不相同,请重新输入密码.
echo.
goto inputpass2
:variance2
if "%pass3%"=="" goto spacepass2
goto md52
:spacepass2
echo 没有密码
echo.
set i=
goto nonepass2
:md52
md5+.exe %pass3% >c:\aaabbb.tmp
for /f %%i in (c:\aaabbb.tmp) do set i=%%i
rem set /a i=%i%+1
if exist c:\aaabbb.tmp del c:\aaabbb.tmp
echo MD5加密字符串是:%i%
:nonepass2
if exist c:\grub\menu.lst del /q c:\grub\menu.lst
if not exist c:\grub md c:\grub >nul
if not "%h%"=="" (set pass1=password --md5 %h%) else set pass1=##password1 --md5
if not "%i%"=="" (set pass2=password --md5 %i%) else set pass2=##password2 --md5
for /f "delims=" %%l in (grub\menu.lst) do (
echo.%%l|find /i "##password">nul && echo.%%l|find /i "##password1" >nul && echo %pass1% || echo.%%l|find /i "##password2" >nul && echo %pass2% ||echo.%%l
)>>c:\grub\menu.lst
echo.
:copyfile
if not exist c:\grldr goto ngrldr
set /p UserChoice= 检测到GRUB4DOS相关文件,请 Y 键进行覆盖安装,否则退出:
if /i not "%UserChoice%"=="y" goto start
:ngrldr
echo 开始复制文件到c:\grub目录
if not exist c:\grub md c:\grub >nul
attrib +s +h +r c:\grub
if exist c:\grldr attrib -s -h -r c:\grldr >nul
copy /y grub\grldr c:\grldr
attrib +s +h +r c:\grldr
copy /y eb-net.lil c:\grub\
copy /y grub\fonts c:\grub\
copy /y hddscan.img c:\grub\
copy /y memdisk c:\grub\
copy /y memtestp c:\grub\
rem copy /y grub\menu.lst c:\grub\
copy /y pxe.img c:\grub\
copy /y pxeboot.zip c:\grub\
copy /y grub\redhat-9.xpm.gz c:\grub\
copy /y windiag.img c:\grub\
echo 复制相关文件完成.
goto start
:2
if not exist C:\boot.ini echo 没有找到 c:\boot.ini 文件! &goto start
echo 备份 C:\boot.ini 为 C:\boot-ini.bak
type C:\boot.ini>C:\boot-ini.bak
attrib -s -h -r C:\boot.ini
set yet=
for /f "delims=" %%l in (c:\boot.ini) do (
echo.%%l|find /i "C:\grldr=GRUB 启动">nul && set yet=1
)>nul
if not "%yet%"=="1" goto yet0
type c:\boot-ini.bak | findstr /v /i "C:\grldr=GRUB 启动" >C:\boot.ini
attrib +s +h +r C:\boot.ini
echo.
echo 从 OS 选择菜单中删除"GRUB 启动"成功.
echo.
set /p UserChoice= 是否删除c:\grldr和c:\grub目录?请 Y 键确认删除,否则退出:
echo.
if /i not "%UserChoice%"=="y" goto start
echo 开始删除相关的文件...
if exist c:\grldr attrib -s -h -r c:\grldr
del /q c:\grldr
if exist c:\grub\eb-net.lil del /q c:\grub\eb-net.lil
if exist c:\grub\fonts>nul del /q c:\grub\fonts
if exist c:\grub\hddscan.img del /q c:\grub\hddscan.img
if exist c:\grub\memdisk del /q c:\grub\memdisk
if exist c:\grub\memtestp del /q c:\grub\memtestp
if exist c:\grub\menu.lst del /q c:\grub\menu.lst
if exist c:\grub\pxe.img del /q c:\grub\pxe.img
if exist c:\grub\pxeboot.zip del /q c:\grub\pxeboot.zip
if exist c:\grub\redhat-9.xpm.gz del /q c:\grub\redhat-9.xpm.gz
if exist c:\grub\windiag.img del /q c:\grub\windiag.img
if exist c:\grub attrib -s -h -r c:\grub
rd /q c:\grub
echo 删除相关文件完成.
goto start
:yet0
attrib +s +h +r C:\boot.ini
echo.
echo 没有找到"GRUB 启动"菜单项,不需要删除.
goto start
Last edited by xugaohui on 2007-4-9 at 06:16 AM ]
Update grldr to the simplified Chinese version of 03-30-2007.
Update eb-net.lil to support more gigabit network cards.
Update the PXE boot code for the rtl 8111b network card.
Add AFUDOS.exe, which can flash the ami 8.0 bios file.
Delete unflash, as it doesn't run at all.
Add the xcp copy tool, see the detailed
http://www.cn-dos.net/forum/viewthread.php?tid=29092&fpage=1
Add the ntfs4dos compressed by the webmaster with upx. This is the only program compressed with upx in this DOS boot package.
Update the HX DOS Extender runtime files.
Update PWD_CHNG.EXE, now it can perfectly change the system passwords of vista 2003 xp under DOS.
Delete the tool for modifying the system password in the linux version, because the new version of it doesn't support vista temporarily, and currently PWD_CHNG.EXE is perfect.
Add the registered version of PTD, which can correct errors in the partition table and file allocation table. For example, if there is a failure during the ghost recovery file process, you can try to use it to repair the partition table.
Update the efficiency source to version 2004.
Update GHSTWALK, from ghost 11, which can change the computer name of vista xp 2003 under pure DOS.
Add ghost 11, and keep ghost 8.3. The file name of ghost8.3 is ghost.exe, and the file name of ghost11 is ghost11.exe.
Update TESTDISK.EXE, PHOTOREC.EXE, tools for modifying hard disk data under DOS.
Update CWSDPMI.EXE ver :0.6B
Add the PCMOUSE.EXE provided by the webmaster, from the download section of the forum.
Add IELDR.EXE for loading and booting ISO files under DOS.
Add LOADLIN.EXE 1.6c for loading and booting the linux kernel image under DOS.
Correct some small errors in netset.
Now the cursor is in insert mode by default after entering the DOS prompt.
Add DPMIONE.EXE, which can support the DPMI 1.0 standard, and it has been tested to be very imperfect.
Replace with another Etherboot code, the file name is eb-net.lil.
Update memtestp 1.7, which supports FB-DIMM memory.
Correct some errors in the install to hard disk.cmd script: it may cause the system, read-only, and hidden attributes of boot.ini to be missing.
The graphic background file of GRUB4DOS is changed to redhat-9.xpm.gz, which now looks more concise.
Some related files of syslinxu are updated to version 3.36 official version. memdisk has good compatibility.
Attach the script for installing to the c:\boot.ini file. Similar software all use exe packaging programs to install to c:\boot, and write uninstall information to the registry, and some also have rogue plugins.
This script realizes installation to boot.ini, can set the timeout period of the system selection menu, can set the menu editing password of grub4dos, the password to enter DOS, and can be uninstalled from the hard disk.
@echo off
:start
echo.
echo ************************************
echo * *
echo * 1、Install "GRUB Boot" to boot menu *
echo * 2、Delete "GRUB Boot" and related files *
echo * 3、Exit *
echo * *
echo ************************************
set UserChoice=
set /p UserChoice= Please choose , default is 1:
echo.
if /i "%UserChoice%"=="" goto 1
if /i "%UserChoice%"=="1" goto 1
if /i "%UserChoice%"=="2" goto 2
if /i "%UserChoice%"=="3" goto :eof
echo Invalid choice! Please rechoose
echo.
goto start
:1
if not exist C:\boot.ini echo No c:\boot.ini file found! &goto start
rem findstr /C:"C:\grldr=GRUB Boot" c:\boot.ini
echo Back up C:\boot.ini to C:\boot-ini.bak
type C:\boot.ini>C:\boot-ini.bak
echo.
set second=2
set /p second= Please set the time to display the operating system list, default is 2 seconds:
attrib -s -h -r C:\boot.ini
type C:\boot-ini.bak|find "boot loader" /i>C:\boot.ini
echo timeout=%second% >>C:\boot.ini
echo.
echo Modify the operating system menu timeout to %second% seconds
type C:\boot-ini.bak|find "boot loader" /i /v|find "timeout" /i /v>>C:\boot.ini
set yet=
for /f "delims=" %%l in (c:\boot.ini) do (
echo.%%l|find /i "C:\grldr=GRUB Boot">nul && set yet=1
)>nul
if "%yet%"=="1" goto yet
echo C:\grldr=GRUB Boot>>C:\boot.ini
attrib +s +h +r C:\boot.ini
echo.
echo Successfully added the "GRUB Boot" menu item.
goto yeta
:yet
attrib +s +h +r C:\boot.ini
echo.
echo "GRUB Boot" has been added to the OS selection menu, no need to add again.
echo.
:yeta
echo For system security, please set the password for entering the interactive menu editing function
echo.
:inputpass1
set pass1=
set pass2=
set /p pass1= Please enter the password for the interactive menu editing function:
set /p pass2= Please enter the password for the interactive menu editing function again:
echo.
if "%pass1%"=="%pass2%" goto variance1
if not "%pass1%"=="%pass2%" echo The two entered passwords are not the same, please re-enter the password.
echo.
goto inputpass1
:variance1
if "%pass1%"=="" goto spacepass1
goto md51
:spacepass1
echo No password
echo.
set h=
goto nonepass1
:md51
md5+.exe %pass1% >c:\aaabbb.tmp
for /f %%i in (c:\aaabbb.tmp) do set h=%%i
rem set /a h=%h%+1
if exist c:\aaabbb.tmp del c:\aaabbb.tmp
echo MD5 encrypted string is:%h%
:nonepass1
echo.
echo For the security of hard disk data, please set the password for entering the network DOS
echo.
:inputpass2
set pass3=
set pass4=
set /p pass3= Please enter the password for the network DOS system:
set /p pass4= Please enter the password for the network DOS system again:
echo.
if "%pass3%"=="%pass4%" goto variance2
if not "%pass3%"=="%pass4%" echo The two entered passwords are not the same, please re-enter the password.
echo.
goto inputpass2
:variance2
if "%pass3%"=="" goto spacepass2
goto md52
:spacepass2
echo No password
echo.
set i=
goto nonepass2
:md52
md5+.exe %pass3% >c:\aaabbb.tmp
for /f %%i in (c:\aaabbb.tmp) do set i=%%i
rem set /a i=%i%+1
if exist c:\aaabbb.tmp del c:\aaabbb.tmp
echo MD5 encrypted string is:%i%
:nonepass2
if exist c:\grub\menu.lst del /q c:\grub\menu.lst
if not exist c:\grub md c:\grub >nul
if not "%h%"=="" (set pass1=password --md5 %h%) else set pass1=##password1 --md5
if not "%i%"=="" (set pass2=password --md5 %i%) else set pass2=##password2 --md5
for /f "delims=" %%l in (grub\menu.lst) do (
echo.%%l|find /i "##password">nul && echo.%%l|find /i "##password1" >nul && echo %pass1% || echo.%%l|find /i "##password2" >nul && echo %pass2% ||echo.%%l
)>>c:\grub\menu.lst
echo.
:copyfile
if not exist c:\grldr goto ngrldr
set /p UserChoice= GRUB4DOS related files detected, please press Y to overwrite and install, otherwise exit:
if /i not "%UserChoice%"=="y" goto start
:ngrldr
echo Start copying files to c:\grub directory
if not exist c:\grub md c:\grub >nul
attrib +s +h +r c:\grub
if exist c:\grldr attrib -s -h -r c:\grldr >nul
copy /y grub\grldr c:\grldr
attrib +s +h +r c:\grldr
copy /y eb-net.lil c:\grub\
copy /y grub\fonts c:\grub\
copy /y hddscan.img c:\grub\
copy /y memdisk c:\grub\
copy /y memtestp c:\grub\
rem copy /y grub\menu.lst c:\grub\
copy /y pxe.img c:\grub\
copy /y pxeboot.zip c:\grub\
copy /y grub\redhat-9.xpm.gz c:\grub\
copy /y windiag.img c:\grub\
echo File copying completed.
goto start
:2
if not exist C:\boot.ini echo No c:\boot.ini file found! &goto start
echo Back up C:\boot.ini to C:\boot-ini.bak
type C:\boot.ini>C:\boot-ini.bak
attrib -s -h -r C:\boot.ini
set yet=
for /f "delims=" %%l in (c:\boot.ini) do (
echo.%%l|find /i "C:\grldr=GRUB Boot">nul && set yet=1
)>nul
if not "%yet%"=="1" goto yet0
type c:\boot-ini.bak | findstr /v /i "C:\grldr=GRUB Boot" >C:\boot.ini
attrib +s +h +r C:\boot.ini
echo.
echo Successfully deleted "GRUB Boot" from the OS selection menu.
echo.
set /p UserChoice= Do you want to delete the c:\grldr and c:\grub directories? Please press Y to confirm deletion, otherwise exit:
echo.
if /i not "%UserChoice%"=="y" goto start
echo Start deleting related files...
if exist c:\grldr attrib -s -h -r c:\grldr
del /q c:\grldr
if exist c:\grub\eb-net.lil del /q c:\grub\eb-net.lil
if exist c:\grub\fonts>nul del /q c:\grub\fonts
if exist c:\grub\hddscan.img del /q c:\grub\hddscan.img
if exist c:\grub\memdisk del /q c:\grub\memdisk
if exist c:\grub\memtestp del /q c:\grub\memtestp
if exist c:\grub\menu.lst del /q c:\grub\menu.lst
if exist c:\grub\pxe.img del /q c:\grub\pxe.img
if exist c:\grub\pxeboot.zip del /q c:\grub\pxeboot.zip
if exist c:\grub\redhat-9.xpm.gz del /q c:\grub\redhat-9.xpm.gz
if exist c:\grub\windiag.img del /q c:\grub\windiag.img
if exist c:\grub attrib -s -h -r c:\grub
rd /q c:\grub
echo Related files deleted completed.
goto start
:yet0
attrib +s +h +r C:\boot.ini
echo.
echo "GRUB Boot" menu item not found, no need to delete.
goto start
Last edited by xugaohui on 2007-4-9 at 06:16 AM ]