当前位置:Linux教程 - Linux文化 - 分别将linux和windows装到两块硬盘上如何设置grub引导

分别将linux和windows装到两块硬盘上如何设置grub引导


>>> 此贴的回复 >> 修改menu.lst内容如下,引导问题可解决 title Microsoft Windows 2000 Advanced Server root (hd1,0) savedefault makeactive map (hd0) (hd1) map (hd1) (hd0) chainloader +1

资料,修改原因如下: If you have installed DOS (or Windows) on a non-first hard disk, you have to use the disk swapping technique, because that OS cannot boot from any disks but the first one. The workaround used in GRUB is the command map (see map), like this:

grub> map (hd0) (hd1) grub> map (hd1) (hd0)

就是hd0的分区变成了hd1的,而hd1的分区变成了hd0的,用map命令可以虚拟掉换两硬盘的id.

[ 关闭窗口 ]

Copyright © 1999-2000 LSLNET.COM. All rights reserved. 蓝森林网站 版权所有。 E-mail : [email protected]