- 论坛徽章:
- 0
|
Sample TextSample TextSample Text blueSample Text
问题描述: 硬盘:sata 160G 三星
分区顺序及大小: sda1 c: 10G
sda7 /boot 200M
sda5 fat32 E:
sda6 FAT32 F:
sda8 swap 2G
sda9 / ext3
以上分区顺序严格按照盘的物理顺序排列,只应winxp的分区是先分的,linux是预留后分的,所以序号有些颠倒.
1.先安装了winxp
2.安装linux企业版
3.启动直接进入winxp
4.用linux rescue 将grub写入sda1,如下:
> chroot /mnt/sysimage
# grub-install /dev/sda1
然后重起动,选择界面倒是出来了,可是选择WINXP 时,黑屏一下又回到选择界面,选择linux选项倒是可以正常进入,我的/boot/grub/grup.conf文件如下:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,6)
# kernel /vmlinuz-version ro root=/dev/sda9
# initrd /initrd-version.img
#boot=/dev/sda7
default=0
timeout=10
splashimage=(hd0,6)/grub/splash.xpm.gz
title Red Hat Enterprise Linux WS (2.4.21-4.ELsmp)
root (hd0,6)
kernel /vmlinuz-2.4.21-4.ELsmp ro root=LABEL=/
initrd /initrd-2.4.21-4.ELsmp.img
title Red Hat Enterprise Linux WS-up (2.4.21-4.EL)
root (hd0,6)
kernel /vmlinuz-2.4.21-4.EL ro root=LABEL=/
initrd /initrd-2.4.21-4.EL.img
title winxp
rootnoverify (hd0,0)
chainloader +1
请大家给看看,问题出在那? 谢谢!! |
|