无忧启动论坛

标题: 为何Vboot启动VHD一定要在主分区 [打印本页]

作者: 2010kkfloat    时间: 2010-12-30 22:50
标题: 为何Vboot启动VHD一定要在主分区
为何Vboot启动VHD一定要在主分区
作者: tpss12    时间: 2010-12-30 23:37
I think you should try LABEL or UUID:

C:\vboot>vbootedit.exe uuid c:
VMLite VBoot Loader Configuration Edit Utility version 1.0
www.vmlite.com

The uuid for volume c: is: c080c5ba80c5b766
C:\vboot>vbootedit.exe uuid d:
VMLite VBoot Loader Configuration Edit Utility version 1.0
www.vmlite.com

The uuid for volume d: is: 689cc0da9cc0a442

Suppose you installed vboot to c:\vboot, and you put winxp.vhd in C:\ and WinXP.iso in D:\, then you can use:

menuentry "XP VHD" {
vboot harddisk="(UUID=c080c5ba80c5b766)/winxp.vhd"
}
作者: 2010kkfloat    时间: 2011-1-2 12:22
menuentry "Ubuntu 10.04, Linux 2.6.32-21-generic" {
insmod vhd
vhd vhd0 (UUID=34ace0c8ace085a8)/ubuntu-1004/ubuntu-1004-desktop-i386.vhd --partitions
linux (vhd0,1)/boot/vmlinuz-2.6.32-21-generic root=/dev/sda2 vloop=/ubuntu-1004/ubuntu-1004-desktop-i386.vhd vlooppart=p1 quiet splash
initrd (vhd0,1)/boot/initrd.img-2.6.32-21-generic
}

其中 UUID=34ace0c8ace085a8 是我的D盘,依然失败,好像是报“error you need to load your kernel first " , 我的D盘是NTFS格式但不是主分区。哈哈,看来主分区是关键




欢迎光临 无忧启动论坛 (http://wuyou.net./) Powered by Discuz! X3.3