|
ntldr和grub是两种引导方式, 两种都可以引导系统,而且两种都可以互相切换引导.
ntldr -> grub: 在boot.ini中添加 c:\grldr="GRUB Boot Menu"
grub -> ntldr: 在menu.lst中添加:
title Goto NTLDR Boot(For windows nt/xp)
find --set-root /ntldr #This maybe delete if you know where it is
chainloader /ntldr
boot
至于grldr的改名一般有两种: 一种利用32位编辑器进行改名,这样改名只能也是5个字符
另外一种参考grub4dos说明中的内容:
******************************************************************************
*** How to rename grldr ***
******************************************************************************
grldr and grldr.mbr use internal boot file name to decide which file to load,
so if you want to change the name, you must also change the embeded setting.
You can do this with the help of grubinst, which can be downloaded at:
http://download.gna.org/grubutil/
grubinst can generate customized grldr.mbr:
grubinst -o -b=mygrldr C:\mygrldr.mbr
grubinst can also edit existing grldr/grldr.mbr:
grubinst -e -b=mygrldr C:\mygrldr
grubinst -e -b=mygrldr C:\mygrldr.mbr
In this case, you must use a grubinst that is compatible with the version of
grub4dos, otherwise the edit will fail.
So, in order to load mygrldr instead of grldr, you can use one of the
following methods:
1. Use customized grldr.mbr to load mygrldr. In this case, you need to change
the embeded boot file name in grldr.mbr. The name of grldr.mbr can be changed
at will.
2. Use mygrldr directly. In this case, you need to change the embeded boot
file name in mygrldr to match its new name.
Notice: The boot file name must conform to the 8.3 naming convention. |
|