比如 有A B C 三硬盘 分别安装 A LINUX B XP C VISTA
grub设置如下
default=0
timeout=500
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.27.25-170.2.72.fc10.i686)
root (hd0,0)
kernel /vmlinuz-2.6.27.25-170.2.72.fc10.i686 ro root=UUID=127b113b-8fc4-4a4e-a20c-6e3b28815b85 rhgb quiet
initrd /initrd-2.6.27.25-170.2.72.fc10.i686.img
title Fedora (2.6.27.5-117.fc10.i686)
root (hd0,0)
kernel /vmlinuz-2.6.27.5-117.fc10.i686 ro root=UUID=127b113b-8fc4-4a4e-a20c-6e3b28815b85 rhgb quiet
initrd /initrd-2.6.27.5-117.fc10.i686.img
title Windows XP Windows VISTA
map (hd0) (hd1)
map (hd1) (hd0)
chainloader (hd1)+1
rootnoverify (hd0)
title Windows VISTA
map (hd0) (hd1)
map (hd1) (hd0)
chainloader (hd2)+1
rootnoverify (hd2)
如果有第四块硬盘win7的话我猜
title Windows 7
map (hd0) (hd1)
map (hd1) (hd0)
chainloader (hd3)+1
rootnoverify (hd3)
阅读(1123) | 评论(0) | 转发(0) |