Bootcfg



áѯ Boot.ini ļá


Ҫ鿴﷨뵥


bootcfg addsw



ΪָĲϵͳӲϵͳѡ


﷨



bootcfg /addsw [/s Computer [/u Domain\User /p Password]] [/mm MaximumRAM] [/bv] [/so] [/ng]  /id OSEntryLineNum





/s Computer
ָԶ̼ƻ IP ַʹ÷бܣĬֵǱؼ

/u Domain\User
 user  domain\user ָûоʻȨ޵Ĭֵǵǰ¼ļûȨޡ

/p Password
ָûʻ룬ûʻ /u ָ

/mm MaximumRAM
 /maxmem ӵָ OSEntryLineNumòϵͳʹõڴ

/bv
 /basevideo ӵָ OSEntryLineNumӶƲϵͳʹѰװƵı׼ VGA ģʽ

/so
 /sos ӵָ OSEntryLineNumӶƲϵͳ豸Ƽʱʾǡ

/ng
 /noguiboot ӵָ OSEntryLineNumӶ CTRL+ALT+DEL ¼ʾ֮ǰʾ Windows XP Professional 

/id OSEntryLineNum
вϵͳ Boot.ini ļָ [operating systems] еĲϵͳкš[operating systems]  1

/?ʾʾ







ʾʹ bootcfg /addsw 

bootcfg /addsw /mm 64 /id 2
 bootcfg /addsw /so /id 3
 bootcfg /addsw /so /ng /s srvmain /u hiropln /id 2
 bootcfg /addsw /ng /id 2
 bootcfg /addsw /mm 96 /ng /s srvmain /u maindom\hiropln /p p@ssW23 /id 2 




bootcfg copy



ĲϵͳʵΪӿء


﷨



bootcfg /copy [/s Computer [/u Domain\User /p Password]] [/d Description] [/id OSEntryLineNum]






/s Computer
ָԶ̼ƻ IP ַʹ÷бܣĬֵǱؼ

/u Domain\User
 user  domain\user.ָûоʻȨ޵Ĭֵǵǰ¼ļûȨޡ

/p Password
ָûʻ룬ûʻ /u ָ

/d description
ΪµĲϵͳָ˵

/id OSEntryLineNum
ڸµ[ϵͳ]ڵ .ini ļָϵͳ¼кš[operating systems]  1

/?ʾʾ







ʾʹ bootcfg /copy 

bootcfg /copy /d "\ABC Server\" /id 1
 
bootcfg /copy /s srvmain /u maindom\hiropln /p p@ssW23 /d "Windows XP" /id 2
 bootcfg /copy /u hiropln /p p@ssW23 /d "AB Ver 1.001" /id  2 


bootcfg dbg1394



ΪָĲϵͳ 1394 ˿ڵԡ


﷨



bootcfg /dbg1394 {ON|OFF|EDIT} [/s Computer [/u Domain\User /p Password]] [/ch channel] /id OSEntryLineNum






ON|OFF|EDIT
ָ 1394 ˿ڵԵֵ


ֵ
˵


ON
ͨ /dbg1394 ӵָ OSEntryLineNumӶԶ̵֧֡


OFF
ͨ /dbg1394 شָ OSEntryLineNum ɾӶԶ̵֧֡


EDIT
ָͨ OSEntryLineNum  /dbg1394 йصŵֵӶ˿ںͲ÷仯



/s Computer
ָԶ̼ƻ IP ַʹ÷бܣĬֵǱؼ

/u Domain\User
 user  domain\user.ָûоʻȨ޵Ĭֵǵǰ¼ļûȨޡ

/p Password
ָûʻ룬ûʻ /u ָ

/ch channel
ָڵԵŵЧֵΪ 1  64 ֮ĳ 1394 ˿ڵԣҪʹ /ch channel 

/id OSEntryLineNum
 1394 ˿ڵѡ Boot.ini ļָ [operating systems] еĲϵͳкš[operating systems]  1

/?ʾʾ







ʾʹ bootcfg /dbg1394 

bootcfg /dbg1394 /id 2
 bootcfg /dbg1394 on /ch 1 /id 3
 bootcfg /dbg1394 edit /ch 8 /id 2
 bootcfg /s srvmain /u maindom\hiropln /p p@ssW23 /dbg1394 off /id 2 


bootcfg debug



ӻָϵͳĵá


﷨



bootcfg /debug {ON|OFF|EDIT} [/s Computer [/u Domain\User /p Password]] [/port {COM1|COM2|COM3|COM4}] [/baud {9600|19200|38400|57600|115200}] [/id OSEntryLineNum]






on | off
ָڵԵֵ


ֵ
˵


ON
ͨ /debug ӵָ OSEntryLineNumӶԶ̵֧֡


OFF
ͨ /debug شָ OSEntryLineNum ɾӶԶ̵֧֡


EDIT
ָͨ OSEntryLineNum  /debug йصֵӶ˿ںͲ÷仯



/s Computer
ָԶ̼ƻ IP ַʹ÷бܣĬֵǱؼ

/u Domain\User
 user  domain\user.ָûоʻȨ޵Ĭֵǵǰ¼ļûȨޡ

/p Password
ָûʻ룬ûʻ /u ָ

/port {COM1|COM2|COM3|COM4}
ָڵԵ COM ˿ڡԱãҪʹ /port 

/baud {9600|19200|38400|57600|115200}
ָڵԵĲʡõԣҪʹ /baud 

/id OSEntryLineNum
еѡ Boot.ini ļָ [operating systems] еĲϵͳкš[operating systems]  1

/?ʾʾ




ע


Ҫ 1394 ˿ڵԣʹ bootcfg /dbg1394






ʾʹ bootcfg /debug 

bootcfg /debug on /port com1 /id 2
 bootcfg /debug edit /port com2 /baud 19200 /id 2
 bootcfg /s srvmain /u maindom\hiropln /p p@ssW23 /debug off /id 2 


bootcfg default



ָΪĬָɵĲϵͳ


﷨



bootcfg /default [/s Computer [/u Domain\User /p Password]] [/id OSEntryLineNum]







/s Computer
ָԶ̼ƻ IP ַʹ÷бܣĬֵǱؼ

/u Domain\User
 user  domain\user.ָûоʻȨ޵Ĭֵǵǰ¼ļûȨޡ

/p Password
ָûʻ룬ûʻ /u ָ

/id OSEntryLineNum
 Boot.ini ļָ [operating systems] еΪĬίɵĲϵͳкš[operating systems]  1

/?ʾʾ







ʾʹ bootcfg /default 

bootcfg /default /id 2
 bootcfg /default /s srvmain /u maindom\hiropln /p p@ssW23 /id 2



bootcfg delete



ɾ Boot.ini ļλ [operating systems] εĳϵͳ


﷨



bootcfg /delete [/s Computer [/u Domain\User /p Password]] [/id OSEntryLineNum]






/s Computer
ָԶ̼ƻ IP ַʹ÷бܣĬֵǱؼ

/u Domain\User
 user  domain\user.ָûоʻȨ޵Ĭֵǵǰ¼ļûȨޡ

/p Password
ָûʻ룬ûʻ /u ָ

/id OSEntryLineNum
 Boot.ini ļָ [operating systems] ҪɾĲϵͳкš[operating systems]  1

/?ʾʾ







ʾʹ bootcfg /delete 

bootcfg /delete /id 1
 bootcfg /delete /s srvmain /u maindom\hiropln /p p@ssW23 /id 3 


bootcfg ems



ûӻĽ EMS ̨ضԶ̼áͨ EMS Boot.ini ļ [boot loader] ӡredirect=Port#УָĲϵͳ /redirect ءֻڷϲſ EMS ܡ


﷨


bootcfg /ems {ON|OFF|EDIT} [/s Computer [/u Domain\User /p Password]] [/port {COM1|COM2|COM3|COM4|BIOSSET}] [/baud {9600|19200|38400|57600|115200}] [/id OSEntryLineNum] 






on | off
ָ EMS ضֵ


ֵ
˵


ON
Ϊָ OSEntryLineNum Զ /redirect ӵָ OSEntryLineNumҽ redirect=comX ӵ [boot loader] ΡcomX ֵ /port á


OFF
Զ̼ /redirect شָ OSEntryLineNum ɾ redirect=comX ô [boot loader] ɾ


EDIT
ͨ [boot loader] е redirect=comX Ķ˿ácomX ֵָΪ /port ֵָ



/s Computer
ָԶ̼ƻ IP ַʹ÷бܣĬֵǱؼ

/u Domain\User
 user  domain\user.ָûоʻȨ޵Ĭֵǵǰ¼ļûȨޡ

/p Password
ָûʻ룬ûʻ /u ָ

/port {COM1|COM2|COM3|COM4|BIOSSET}
ָض COM ˿ڡBIOSSET  EMS  BIOS ȷضĶ˿ڡԶ̹벻Ҫʹ /port 

/baud {9600|19200|38400|57600|115200}
ָضĲʡԶ̹벻Ҫʹ /baud 

/id OSEntryLineNum
ָ Boot.ini ļ [operating systems] УҪ EMS ѡĲϵͳкš[operating systems]  1 EMS ֵ ON  OFF ʱҪʹøò

/?ʾʾ




ע


йؽ (EMS) ϸϢġ֧ġ







ʾʹ bootcfg /ems 

bootcfg /ems on /port com1 /baud 19200 /id 2
 bootcfg /ems on /port biosset /id 3
 bootcfg /s srvmain /ems off /id 2
 bootcfg /ems edit /port com2 /baud 115200
 bootcfg /s srvmain /u maindom\hiropln /p p@ssW23 /ems off /id 2 






bootcfg query



ѯʾ Boot.ini ļ [boot loader] Լ [operating systems] 


﷨



bootcfg /query [/s Computer [/u Domain\User /p Password]]






/s Computer
ָԶ̼ƻ IP ַʹ÷бܣĬֵǱؼ

/u Domain\User
 user  domain\user.ָûоʻȨ޵Ĭֵǵǰ¼ļûȨޡ

/p Password
ָûʻ룬ûʻ /u ָ

/?ʾʾ




ע


 bootcfg /query һʾس
--------------------
timeout: 30
default:multi(0)disk(0)rdisk(0)partition(1)\WINDOWS

Ŀ
------------
Ŀ ID   1
üǵƣ"Microsoft Windows XP Professional"
·multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
OS ѡ:/fastdetect /debug /debugport=com1:
 bootcfg query سòʾ Boot.ini  [boot loader] е
 bootcfg query ʾ Boot.ini  [operating systems] еЩϵͳ IDѺ·Լ OS 






ʾʹ bootcfg /query 

bootcfg /query
 bootcfg /query /s srvmain /u maindom\hiropln /p p@ssW23
 bootcfg /query /u hiropln /p p@ssW23 


bootcfg raw



ַʽ Boot.ini ļ [operating systems] ϵͳָĲϵͳ


﷨



bootcfg [/s Computer [/u Domain\User /p Password]] /raw OSLoadOptionsString [/id OSEntryLineNum]






/s Computer
ָԶ̼ƻ IP ַʹ÷бܣĬֵǱؼ

/u Domain\User
 user  domain\user.ָûоʻȨ޵Ĭֵǵǰ¼ļûȨޡ

/p Password
ָûʻ룬ûʻ /u ָ

OSLoadOptionsString
ָҪӵϵͳĲϵͳЩκеĺ͸òϵͳйصļOSLoadOptions ûеõȷϡ

/id OSEntryLineNum
ָ Boot.ini ļ [operating systems]ҪµĲϵͳкš[operating systems]  1

/?ʾʾ




ע


Bootcfg raw ɽıӵĳϵͳĩβù̻ḲκеĲϵͳѡӵıӦЧ OS  /debug/fastdetect/nodebug/baudrate/crashdebug Լ /sos ȡʹɽ/debug /fastdetectӵ׸ϵͳĩβǰκβϵͳѡ

bootcfg /raw "/debug /fastdetect" /id 1
йؿѡ OS Լ Windows ڼʹ Boot.ini ļϸϢ Microsoft Knowledge Base бΪ Q170756 ļ£ΪWindows NT Boot.ini ļĿÿ
(http://www.microsoft.com/)







ʾʹ bootcfg /raw 

bootcfg /raw "/debug /sos" /id 2
 bootcfg /raw /s srvmain /u maindom\hiropln /p p@ssW23 "/crashdebug " /id 2 


bootcfg rmsw



ɾָϵͳĲϵͳ


﷨



bootcfg /rmsw [/s Computer [/u Domain\User /p Password]] [/mm] [/bv] [/so] [/ng]  /id OSEntryLineNum





/s Computer
ָԶ̼ƻ IP ַʹ÷бܣĬֵǱؼ

/u Domain\User
 user  domain\user.ָûоʻȨ޵Ĭֵǵǰ¼ļûȨޡ

/p Password
ָûʻ룬ûʻ /u ָ

/mm
ָ OSEntryLineNum ɾ /maxmem ؼڴֵ/maxmem ָϵͳʹõڴ

/bv
ָ OSEntryLineNum ɾ /basevideo ء/basevideo ؿƲϵͳʹѰװƵı׼ VGA ģʽ

so
ָ OSEntryLineNum ɾ /sos ء/sos ؿƲϵͳ豸ʱʾЩơ

/ng
ָ OSEntryLineNum ɾ /noguiboot ء/noguiboot ؽ CTRL+ALT+DEL ¼ʾ֮ǰֵ Windows XP Professional 

/id OSEntryLineNum
ָ Boot.ini ļ [operating systems] УҪɾ OS Ĳϵͳкš[operating systems]  1

/?ʾʾ







ʾʹ bootcfg /rmsw 

bootcfg /rmsw /mm 64 /id 2
 bootcfg /rmsw /so /id 3
 bootcfg /rmsw /so /ng /s srvmain /u hiropln /id 2
 bootcfg /rmsw /ng /id 2
 bootcfg /rmsw /mm 96 /ng /s srvmain /u maindom\hiropln /p p@ssW23 /id 2




bootcfg timeout



Ĳϵͳʱֵ


﷨



bootcfg /timeout TimeOutValue [/s Computer [/u Domain\User /p Password]] 







TimeOutValue
 ָλ [boot loader] εĳʱֵֵʾ NTLDR ĬϵĲϵͳ֮ǰɹûسѡϵͳֵΪ 0 NTLDR ʾسֱĬϵĲϵͳ

/s Computer
ָԶ̼ƻ IP ַʹ÷бܣĬֵǱؼ

/u Domain\User
 user  domain\userָûоʻȨ޵Ĭֵǵǰ¼ļûȨޡ

/p Password
ָûʻ룬ûʻ /u ָ

/?ʾʾ







ʾʹ bootcfg /timeout 

bootcfg /timeout 30
 bootcfg /s srvmain /u maindom\hiropln /p p@ssW23 /timeout 50 

XOX



