根据他说的,很容易就判定,装windows的时候,把linux的引导区MBR给取消了,首先,在windows下装上一个 Grub for dos 地址是:
- Grup>root (hd0,6)
- Grup>kernel /boot/xen.gz-2.6.18-8.el5
- Grup>module /boot/vmlinuz-2.6.18-8.el5xen ro root=LABEL=/ rhgb quiet
- Grup>module /boot/initrd-2.6.18-8.el5xen.img
- Grup>boot
这样,你的linux就已经启动了,然后linux下找到/boot/grub/grub.conf,编辑它:是内容类似
- default=0 # 默认的启动系统序号
- timeout=5 #等待时间
- splashimage=(hd0,6)/boot/grub/splash.xpm.gz #设置splashimage
- hiddenmenu #显示模式为折叠
- title Red Hat Enterprise "" target="_blank" title="" class="mykeyword">Linux Server (2.6.18-8.el5xen) #标题
- root (hd0,6) #根分区
- kernel /boot/xen.gz-2.6.18-8.el5 #内核路径
- module /boot/vmlinuz-2.6.18-8.el5xen ro root=LABEL=/ rhgb quiet #虚拟机路径
- module /boot/initrd-2.6.18-8.el5xen.img # 镜像路径
- title Other # windows标题
- rootnoverify (hd0,0)
- chainloader +1
ok,到这里就可以高枕无忧了!