重装windows后grub的问题(是windows进不去了!!)
时间:2005-02-17
来源:互联网
原本WINDOWS和LINUXREDHAT9双系统.重装WINDOWS后,为了修复GRUB就按论坛上贴子的做法修复.
chroot /mnt/sysimage
grub-install /dev/hda1(曾为了尝试,打了很多hd*,hda0之类的)
现在引导画面和以前一样,LINUX和DOS,但是WINDOWS没有办法进去,选择后没有反映,还是在引导画面上.
我是菜鸟,请高手帮忙了!
附上grub.conf,不知道有没有帮助
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,6)
# kernel /boot/vmlinuz-version ro root=/dev/hda7
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd0,6)/boot/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)
root (hd0,6)
kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /boot/initrd-2.4.20-8.img
title DOS
rootnoverify (hd0,0)
chainloader +1
chroot /mnt/sysimage
grub-install /dev/hda1(曾为了尝试,打了很多hd*,hda0之类的)
现在引导画面和以前一样,LINUX和DOS,但是WINDOWS没有办法进去,选择后没有反映,还是在引导画面上.
我是菜鸟,请高手帮忙了!
附上grub.conf,不知道有没有帮助
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,6)
# kernel /boot/vmlinuz-version ro root=/dev/hda7
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd0,6)/boot/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)
root (hd0,6)
kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /boot/initrd-2.4.20-8.img
title DOS
rootnoverify (hd0,0)
chainloader +1
作者: 天涯VS星辰 发布时间: 2005-02-17
我又重装了次WINDOWSXP,在重新安装GRUB时候发现命令grub-install /dev/hda1应为hda,现在两个系统都可以进了.看来还是对MBR和HD*之类的不太了解.不过还是希望有高手解释下为什么HD1就不行了呢?为什么有双系统引导画面但WINDOWS进不去呢?
作者: 天涯VS星辰 发布时间: 2005-02-18
grub-install /dev/hda 是写入mbr的重装windows,mbr有可能被改写。
grub-install /dev/hda6 (hda6是 / )写入linxu分区,但要把活动分区改成此分区,就可以引导了
grub-install /dev/hda6 (hda6是 / )写入linxu分区,但要把活动分区改成此分区,就可以引导了
作者: LinuxBoy823 发布时间: 2005-02-18
多谢啊,我会44的
作者: 天涯VS星辰 发布时间: 2005-02-20
grub如何安装的?
作者: AiXiangsui 发布时间: 2005-02-20
grub-install就是安装了~~
楼主可以修改grub.conf 直接添上语句~引导windows
而gurb-install /dev/hda1就是把grub安装在第一块HD的第一个区上(非MBR)
而grub-install /dev/hda是把grub安装在MBR上
楼主可以修改grub.conf 直接添上语句~引导windows
而gurb-install /dev/hda1就是把grub安装在第一块HD的第一个区上(非MBR)
而grub-install /dev/hda是把grub安装在MBR上
作者: cxfcxf 发布时间: 2005-02-21
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28