查看完整版本: [-- 启动菜单建立&修复... --]

秋无痕论坛 -> 『WINDOWS 7 专区』 -> 启动菜单建立&修复... [打印本页] 登录 -> 注册 -> 回复主题 -> 发表主题

呆水瓶 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

以上就完成旧版系统菜单添加...

如何快速添加一个系统菜单....
复制代码

  1. 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来管理
复制代码

  1. 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

添加旧版系统菜单...
复制代码

  1. 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)才有的功能

进款 2013-03-11 20:21
支持一下了,

网侠 2013-03-26 20:33
安装双系统,看看

zaq4736 2013-06-09 18:37
这个要好好学!有用啊!

hexj9 2013-06-09 18:57
这个先看看了 啊


查看完整版本: [-- 启动菜单建立&修复... --] [-- top --]



Powered by PHPWind v7.3.2 Code © 2003-08 PHPWind
Time 0.027234 second(s),query:3 Gzip enabled

You can contact us