|  | 
| 本帖最后由 2011niumao 于 2013-4-22 22:08 编辑 
 原因就是找不到vhd文件。两种可能。一是把(hd0,5)改为(hd0,4)看看。一是使用search命令。在(hd0,5)那个语句上面加一条:
 search -f --set /ubuntu-1104-beta1-i386.vhd
 把(hd0,5)删除。那一行其余不变。
 还有一种可能---就是你下载vhd时候可能出现错误,vhd本身不对。复制代码menuentry "VHD ubuntu-1104-beta1-i386, Linux 2.6.38-7-generic" {
        insmod vhd
        search -f --set /ubuntu-1104-beta1-i386.vhd
        vhd vhd0 /ubuntu-1104-beta1-i386.vhd  --partitions
        linux (vhd0,1)/boot/vmlinuz-2.6.38-7-generic root=/dev/sda5 vloop=/ubuntu-1104-beta1-i386.vhd vlooppart=p1 quiet splash
        initrd (vhd0,1)/boot/initrd.img-2.6.38-7-generic
}
 另外 root=UUID=XXXXXXXXXXXXXXXX
 中所有英文字母必须改为对应大写字母。
 
 | 
 |