win7和xp的启动文件不一样,用grub4dos启动时是这样设置的

title     启动 Windows 7
find --set-root /bootmgr
chainloader /bootmgr

title     启动 Windows XP
find --set-root /ntldr
chainloader /ntldr


On Mon, Apr 23, 2012 at 10:34 PM, 依云 <lilyd...@gmail.com> wrote:

> On Mon, Apr 23, 2012 at 09:51:32PM +0800, 刘洋 wrote:
> > On Mon, Apr 23, 2012 at 09:31:47PM +0800, 张晓瑞 wrote:
> > > 能详细得说一下该如何操作么?
> > >
> > 首先明确是Grub还是Grub2,
> > grub大概就是:
> > rootnoverify PARTATION
> > chainloader +1
> > boot
> > 这样
> > grub2要复杂些
> > insmod命令插入对应分区的支持模块,
> > set root='(hd0,msdos1)'这样设置root变量
> > search命令来找启动信息
> > drivemap -s (hd0) ${root}设置启动分区
> > chainloader +1
> > boot
> > 这样
> >
> > 大致是这流程了,具体还是自己google或者看手册吧,网上信息还是挺多的。
>
> 一般不是直接 chainloader 就可以了吗?
>
> --
> Best regards,
> lilydjwg
>
> Linux Vim Python 我的博客:
> http://lilydjwg.is-programmer.com/
> --
> A: Because it obfuscates the reading.
> Q: Why is top posting so bad?
>
> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>
-------------- 下一部分 --------------
一个HTML附件被移除...
URL: 
<https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20120425/97351dab/attachment.html>
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh

回复