【问题标题】:restore windows 7 bootloader after installing Centos安装 Centos 后恢复 Windows 7 引导程序
【发布时间】:2014-01-21 19:51:23
【问题描述】:

好的,那,我在硬盘上安装了 Windows 7,并且有空闲的逻辑磁盘,所以我决定在这里安装 Centos 6.4。但安装后我看到引导显示Centos 6.4Other。如果我选择 Other ,我无法加载窗口。我记得,在安装 Centos 时,我选择默认启动作为 Windows 启动。

那么,现在,我应该如何修复 Windows 引导程序?

编辑:

[root@dhcppc0 grub]# fdisk -l

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000953c6

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1       15678   125931520    5  Extended
/dev/sda2   *       15678       15691      102400   42  SFS
/dev/sda3           15691       36189   164645888   42  SFS
/dev/sda4           36189      121602   686080728   42  SFS
/dev/sda5               1          65      512000   83  Linux
/dev/sda6              65        7897    62914560   83  Linux
/dev/sda7            7897       15156    58306560   83  Linux
/dev/sda8           15156       15678     4193280   82  Linux swap / Solaris

【问题讨论】:

  • CentOS 有哪些引导加载程序?蛴螬?您可能需要手动添加 Windows 条目。
  • 是的,Grub。但是我如何手动添加 Windows 条目?
  • 好吧,我不知道在 CentOS 中,但它们是网络上的几个教程。您需要修改配置文件。
  • 我没有看到任何 NTFS 分区。我错过了什么吗?

标签: linux windows windows-7 operating-system centos6


【解决方案1】:

我记得几年前曾经遇到过这个问题。 这是我解决问题的方法:

插入 Windows 安装光盘并单击直到您到达带有“立即安装”按钮的屏幕。但不要单击该按钮,而是单击更下方的“修复您的计算机”。然后选择“使用恢复工具..”,然后点击命令提示符按钮。

在 CMD 中输入:bootrec /fixmbr

这应该会修复主引导记录。

【讨论】:

  • 我会试试这个,但 Windows 仍然无法启动。
  • 如果它成功了,那么 CentOS 将无法启动。 Windows 不能很好地与其他操作系统配合使用 - 您必须先安装 Windows,然后安装其他操作系统,然后修复 Grub 以便它能够识别两者。
【解决方案2】:

Windows 7 引导加载程序问题

  1. 插入 Windows 7 安装 DVD 或可启动 USB
  2. 选择修复您的计算机选项窗口需要一些时间来加载任何错误 只需点击 OKNEXT
  3. 进入系统恢复选项屏幕后,点击 命令提示符继续

输入以下命令

Bootrec /Fixmbr

如果不行就试试

Bootsect /nt60 c:

【讨论】:

    猜你喜欢
    • 2019-06-27
    • 1970-01-01
    • 1970-01-01
    • 2023-03-03
    • 1970-01-01
    • 2020-04-10
    • 1970-01-01
    • 2019-07-24
    • 2021-02-04
    相关资源
    最近更新 更多