以下是從Topologilinux 4.0 CD-Rom上拷下來的install.bat (Install GRUB for DOS):
=============================================
echo off
attrib -r -h -s c:\boot\stage1
attrib -r -h -s c:\boot\stage2
c:\boot\flushdrv.exe
c:\boot\ntfsinstall -d (hd0,0) -1 c:/boot/stage1 -2 c:/boot/stage2 -m c:/boot/menu.lst
c:\boot\flushdrv.exe
attrib +r +h +s c:\boot\stage1
attrib +r +h +s c:\boot\stage2
find "Topologilinux 4" C:\boot.ini
if ERRORLEVEL 1 goto install_boot_ini
goto skip_boot_ini
:install_boot_ini
echo "installing in boot.ini"
attrib -r -h -s C:\boot.ini
copy C:\boot.ini C:\boot_ini.bak
echo C:\boot\stage1="Topologilinux 4" >> C:\boot.ini
attrib +r +h +s C:\boot.ini
:skip_boot_ini
=====================================
為甚麼要 "ntfsinstall -d (hd0,0) -1 c:/boot/stage1 -2 c:/boot/stage2 -m c:/boot/menu.lst" 這一行,它會改變stage1和stage2的內容嗎?
當run "c:\boot\ntfsinstall -d (hd0,0) -1 c:/boot/stage1 -2 c:/boot/stage2 -m c:/boot/menu.lst" 這一行時出現"blocklist failed"