无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站广告联系 微信:wuyouceo QQ:184822951
查看: 4078|回复: 9
打印 上一主题 下一主题

vboot1.1 解决了VHD文件不在NTFS格式的主分区问题了吗?

[复制链接]
跳转到指定楼层
1#
发表于 2011-3-13 13:30:35 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
vboot1.1 解决了VHD文件不在NTFS格式的主分区问题了吗?
2#
发表于 2011-3-14 04:37:25 | 只看该作者
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.
回复

使用道具 举报

3#
发表于 2011-3-14 09:50:49 | 只看该作者
原帖由 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的问题。
回复

使用道具 举报

4#
发表于 2011-3-14 09:53:21 | 只看该作者
如果是因为指定了(hdx, y),找不到vhd,那是由于二者命名规则不同,指定错了参数造成的。
实际是,即使指定了正确的(hdx, y)参数,找到了vhd,也无法启动。
这就说明不是用户指定错了参数,而是vboot不支持,或者说支持的不够全面。
回复

使用道具 举报

5#
发表于 2011-3-14 10:09:49 | 只看该作者
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.
回复

使用道具 举报

6#
发表于 2011-3-14 10:25:33 | 只看该作者
原帖由 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:
  • (hdx,y)/path/file.ext x is the disk number starting from 0, and y is the partition number starting from 1, the rest is the absolute path in UNIX format.
    For example, the path (hd0,1)/vboot/win7.vhd indicates the file win7.vhd is inside /vboot folder on hard disk 0 and partition 1.
  • (UUID=16-hex-bytes)/path/file.ext UUID is a 16 bytes hex digit id for the volume. For example, you can use (UUID=c6803bae803ba439)/vboot/win7.vhd to represent the same file as mentioned above format.
回复

使用道具 举报

7#
发表于 2011-3-14 10:27:54 | 只看该作者
ok, got what you meant. We will try to fix this bug, so vboot driver can use (hdx,y) format.
回复

使用道具 举报

8#
发表于 2011-3-15 15:11:05 | 只看该作者
啊,楼上的VBOOT的开发者?强人啊!
回复

使用道具 举报

9#
发表于 2011-3-15 23:33:57 | 只看该作者
原帖由 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.




谦虚使人进步!!
回复

使用道具 举报

10#
发表于 2011-3-29 11:28:32 | 只看该作者
期待界面版...适合新手
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2024-5-16 15:20

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表