......
//下面是我自己加的
title windows xp
root(hd1,0)
makeactive
chainloader +1
......作者: jine6666 时间: 2009-07-17 09:45 标题: 串口硬盘 串口硬盘应该是SD作者: jine6666 时间: 2009-07-17 09:59
title windows xp
rootnoverify (sd0,0)
chainloader +1作者: streetboy85 时间: 2009-07-17 10:48
好像执行grub-setup还是grub-install,grub会自动识别安装到的系统的,规则不用自己写作者: luoqindong 时间: 2009-07-17 13:39
好的,谢谢大家!我试一下。作者: phoenixson 时间: 2009-07-17 16:24
就知道胡说八道的
map (hd0) (hd1)
map (hd1) (hd0)
去试试吧作者: luoqindong 时间: 2009-07-17 19:13
行了,在http://ubuntuguide.org/wiki/Ubun ... d1.2C_hd2.2C_etc.29上有解决的办法,在“1.17 Boot Menu 下的 How to boot into Windows installed on a seperate SATA drive”小节下,不过都是英文,下面是英文原文:
How to boot into Windows installed on a seperate SATA drive
Read #General Notes
Read #How to identify the name of the boot drive (hd0, hd1, hd2, etc)
This configuration applies to people who have Linux installed on a IDE drive, and Windows installed on a seperate SATA. The IDE drive boots first, so we need to add an entry to the boot menu on the Linux disk. Here we assume the name of your Windows drive is hd1. If you are not sure, click the link above to find out.
sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup
gksudo gedit /boot/grub/menu.lst
Append the following lines at the end of file.
title Windows XP on SATA drive
map (hd0) (hd1)
map (hd1) (hd0)
chainloader (hd1,0)+1
Save the edited file
Finally, do
sudo update-grub
This will update the grub bootloader and finalize any changes you made