|
原帖由 <i>longlaozong</i> 于 2010-2-3 15:54 发表 <a href="http://bbs.wuyou.net/redirect.php?goto=findpost&pid=1882341&ptid=159866" target="_blank"><img src="http://bbs.wuyou.net/images/common/back.gif" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open(this.src);}" onmousewheel="return imgzoom(this);" alt="" /></a><br />
<br />
请问楼主GRUB如何直接引导DOS同时写一个autoexec.bat安装XP,是全部打包到img吗?能不能再详细介绍一下,谢谢。 <br />
autoexec.bat 举例如下:
@echo off
rem 可以自己建一个特别的文件名 比如 mycust.txt , 然后用以下指令, 来获得指定盘符.
rem for %%i in (c d e f g h i j k l m n o p q r s t u v w x y z) do if exist "%%i:\mycust.txt" set CDROM=%%i:
rem 本处以 winnt.exe 来查找并定位.
for %%i in (c d e f g h i j k l m n o p q r s t u v w x y z) do if exist "%%i:\i386\winnt.exe" set CDROM=%%i:
lh %CDROM%\dos\smartdrv a- b- c+ d+
rem 定位到xp安装包以后, 自动安装, 应答文件为\i386\winnt.sif
%CDROM%\i386\winnt /s:%CDROM%\i386 /unattend:%CDROM%\i386\winnt.sif |
|