无忧启动论坛

标题: vboot1.1 解决了VHD文件不在NTFS格式的主分区问题了吗? [打印本页]

作者: 2010kkfloat    时间: 2011-3-13 13:30
标题: vboot1.1 解决了VHD文件不在NTFS格式的主分区问题了吗?
vboot1.1 解决了VHD文件不在NTFS格式的主分区问题了吗?
作者: 2011huisinro    时间: 2011-3-14 04:37
I think so, make sure you use (UUID=) format, instead of (hdx,y) format.

(hdx, y) has different values for the same logical volume in GRUB2 and inside Windows kernel, whereas (UUID=) has same value for both GRUB2 and Windows kernel.

When you use "vbootedit create" to create a boot menu, UUID is automatically used.
作者: lianjiang    时间: 2011-3-14 09:50
原帖由 2011huisinro 于 2011-3-14 04:37 发表
I think so, make sure you use (UUID=) format, instead of (hdx,y) format.

(hdx, y) has different values for the same logical volume in GRUB2 and inside Windows kernel, whereas (UUID=) has same  ...


即使你按照grub2的格式要求指定vhd的路径,启动时虽然能找到文件,但是无法启动。
因此无法使用 (hdx,y)来指定路径,并非由于grub2的格式与windows的格式有不同造成的。
而是vboot本身不支持这种格式,是vboot的问题。
作者: lianjiang    时间: 2011-3-14 09:53
如果是因为指定了(hdx, y),找不到vhd,那是由于二者命名规则不同,指定错了参数造成的。
实际是,即使指定了正确的(hdx, y)参数,找到了vhd,也无法启动。
这就说明不是用户指定错了参数,而是vboot不支持,或者说支持的不够全面。
作者: 2011huisinro    时间: 2011-3-14 10:09
if you use (hdx,y) format, the vboot disk driver won't resolve the correct vhd path. You MUST use UUID= format.

For example, for logical drive D:, if you use (hd0,5) for GRUB2 inside grub.cfg, the vboot driver will use \Device\Harddisk0\Partition5 as the path for vhd, which is not correct.
作者: lianjiang    时间: 2011-3-14 10:25
原帖由 2011huisinro 于 2011-3-14 10:09 发表
if you use (hdx,y) format, the vboot disk driver won't resolve the correct vhd path. You MUST use UUID= format.

For example, for logical drive D:, if you use (hd0,5) for GRUB2 inside grub.cfg, the vboot driver will use \Device\Harddisk0\Partition5 as the path for vhd, which is not correct.


这正说明了不是2楼你解释的是grub2与windows的命名规则不同造成无法启动的。
而应是vboot与grub2的不协调造成的。
即vboot虽然基于grub2开发,但驱动处理中又采用了其他的规则来指定路径,造成无法正确识别grub2所指定的(hdxy),只能使用uuid来识别。

在说明文件中,是说可用uuid或者(hdx,y)格式来指定路径。并未说不能使用(hdx,y)来指定。
-------------------------------------------------
There are three formats:

作者: 2011huisinro    时间: 2011-3-14 10:27
ok, got what you meant. We will try to fix this bug, so vboot driver can use (hdx,y) format.
作者: appben    时间: 2011-3-15 15:11
啊,楼上的VBOOT的开发者?强人啊!
作者: lizj    时间: 2011-3-15 23:33
原帖由 2011huisinro 于 2011-3-14 10:27 发表
ok, got what you meant. We will try to fix this bug, so vboot driver can use (hdx,y) format.




谦虚使人进步!!
作者: 2010jct1982    时间: 2011-3-29 11:28
期待界面版...适合新手




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