呆水瓶 |
2009-05-16 13:31 |
BCD文件配置 以Windows7的BCD文件
W7 & 08R2 BCD文件比Vista & Server2008多出了 recoverysequence & recoveryenabled 這就是W7 (08R2) 的 Windows Recovery Environment bcdedit /displayorder {d6be0d12-413a-11de-b285-b6ee0ebcf10e} /addfirst bcdedit /displayorder {d6be0d13-413a-11de-b285-b6ee0ebcf10e} /addfirst 再次执行 bcdedit 显示出 W7 隐藏项目
开机菜单就出现Ramdisk Options选项,这就是Windows7集成的Windows Recovery Environment 那Vista & Server2008也能有此功能吗??? 是可以的....
如何添加旧版系统启动菜单(ntldr) bcdedit /create {ntldr} /d "Microsoft Windows XP" bcdedit /set {ntldr} device partition=C: bcdedit /set {ntldr} path \ntldr bcdedit /displayorder {ntldr} /addfirst
以上就完成旧版系统菜单添加...
如何快速添加一个系统菜单....
复制代码 set id={67fa717b-3cc3-11de-8405-001e8c0051ef} bcdedit /create %id% /d "Windows 7" /application osloader bcdedit /set %id% locale zh-cn bcdedit /set %id% device partition=C: bcdedit /set %id% osdevice partition=C: bcdedit /set %id% path \Windows\system32\winload.exe bcdedit /set %id% inherit {bootloadersettings} bcdedit /set %id% systemroot \windows bcdedit /set %id% nx OptOut bcdedit /displayorder %id% /addfirst
|
以上就完成添加...
如何给两个独立硬碟建立启动菜单导引 两个硬碟各自完成系统安装 WindowsXP & Windows7
WindowsXP 本身没有这两个命令,添加两个命令至System32文件夹 [attachment=51029] & [attachment=51030]
一.以安装WindowsXP为主硬碟 C碟为XP D碟为Windows7
首先须将WindowsXP的启动环境变更为bootmgr来管理
复制代码-
md %Systemdrive%:\boot xcopy D:\boot %Systemdrive%\boot /e /h xcopy D:\bootmgr %Systemdrive%\ /h /y bcdedit /store D:\boot\bcd bcdedit /import D:\boot\bcd bcdedit /set {bootmgr} device boot bcdedit /create {ntldr} /d "Microsoft Windows XP" bcdedit /set {ntldr} device boot bcdedit /set {ntldr} path \ntldr bcdedit /displayorder {ntldr} /addfirst bcdedit /default {ntldr} bcdedit /timeout 10 bootsect /nt60 sys
|
二.以安装Windows7为主硬碟 C碟为Windows7 D碟为XP
添加旧版系统菜单...
复制代码-
bcdedit /create {ntldr} /d "Microsoft Windows XP" bcdedit /set {ntldr} device boot bcdedit /set {ntldr} path \ntldr bcdedit /displayorder {ntldr} /addfirst
|
请确认主硬碟是否有 ntldr boot.ini bootfont.bin config.sys io.sys msdos.sys 等文件...
引用 註:bcdedit 中device 可以使用 boot 這是通用變數 Partition=\device\harddiskVolume1 Partition=C: vhd=C:\xxx.vhd W7(08R2)才有的功能
|
|