当前位置: 技术问答>linux和unix
高手帮帮忙,我装了linux7.3(用grub引导)后进不了winxp了
来源: 互联网 发布时间:2014-12-19
本文导语: 请问怎么办? 是不是要修改grub.conf文件,但是怎么该,他的格式好像跟lilo.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 pa...
请问怎么办?
是不是要修改grub.conf文件,但是怎么该,他的格式好像跟lilo.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 (hd1,0)
# kernel /boot/vmlinuz-version ro root=/dev/hdb1
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd1,0)/boot/grub/splash.xpm.gz
password --md5 $1$RRXKf.lz$3AJAFYHjfpP9y.bxIVb18.
title Red Hat Linux (2.4.18-3)
root (hd1,0)
kernel /boot/vmlinuz-2.4.18-3 ro root=/dev/hdb1
initrd /boot/initrd-2.4.18-3.img
title win
...这一后怎么写
我有两个硬盘:hda 和 hdb,linux装载在hdb上.
linux是否带有修改引导文件的工具?
急急....................
是不是要修改grub.conf文件,但是怎么该,他的格式好像跟lilo.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 (hd1,0)
# kernel /boot/vmlinuz-version ro root=/dev/hdb1
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd1,0)/boot/grub/splash.xpm.gz
password --md5 $1$RRXKf.lz$3AJAFYHjfpP9y.bxIVb18.
title Red Hat Linux (2.4.18-3)
root (hd1,0)
kernel /boot/vmlinuz-2.4.18-3 ro root=/dev/hdb1
initrd /boot/initrd-2.4.18-3.img
title win
...这一后怎么写
我有两个硬盘:hda 和 hdb,linux装载在hdb上.
linux是否带有修改引导文件的工具?
急急....................
|
Suppose XP is installed in hda, partition 0
title win
root (hd0,0)
makeactive
chainloader +1
You can "info grub" for details.
Good Luck!
title win
root (hd0,0)
makeactive
chainloader +1
You can "info grub" for details.
Good Luck!