首页 > linux, windows > grub引导windows7

grub引导windows7

2009年12月12日 admin 发表评论 阅读评论

  前两天在自己的电脑上安装了CentOS5.4测试,但之前安装了WindowsXP 与Windows seven,所以安装装成CentOS5.4之后就没有了Windows Seven的bootmgt启动菜单,变成了CentOS的grub引导了,所以得在/boot/menu.lst添加Windows XP与Windows 7的启动菜单项,虽然之前写过这方面的文章,今天再记录下吧.

方法1:直接在grub的command处输入以下命令就可启动,但前提得清楚自己的XP或7安装在那个盘,如我的安装在(hd0,0)

rootnoverify (hd0,0)
chainloader +1
boot

可以在输入以上命令前使用find /ntldr或find /bootmgr查询系统的安装分区.

方法2:写入/boot/menu.lst文件
title Microsoft Windows XP
find --set-root /ntldr
chinaloader +1
boot

保存后执行reboot重启即可完成了.

title Microsoft Windows Seven
find –set-root /bootmgr
chainload +1
boot

分类: linux, windows 标签: ,
  1. 2009年12月12日23:03 | #1

    哦这是增加多操作系统的开机选项吗?

    [回复]

  2. yan
    2009年12月14日15:24 | #2

    你好,看了你博客上的文章,但是没能解决问题。
    我是先装了win7,今天中午硬盘安装fedora12,结果没有win7的启动项了,只有fedora的,我试了你的方法,还是没能启动win7。
    我是菜鸟,想向你请教下。 :D

    [回复]

  3. 2009年12月15日09:20 | #3

    win7老黑屏 郁闷又换回来了!

    [回复]

  4. 2009年12月16日11:23 | #4

    很简单,先进入fedora,在/boot/grub/menu.lst添加
    title Microsoft Windows Seven
    find –set-root /bootmgr
    chainload +1
    即可,假如你的win7安装在hd0,0分区,也可这要写
    title Microsoft Windows Seven
    rootnoverify (hd0,0)
    chainloader +1

    [回复]

  5. 2009年12月20日05:54 | #5

    其实微软的 Bootmgr界面要帅些

    [回复]

  1. 本文目前尚无任何 trackbacks 和 pingbacks.