无忧启动论坛

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

UUID表示路径?

[复制链接]
跳转到指定楼层
1#
发表于 2011-2-18 09:52:22 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
有点弄不明白~~vboot中怎样用UUID表示路径?比如下面红色标注的用UUID?
menuentry "XP Install Step 2" {
  vboot harddisk="(hd0,1)/winxp.vhd" cdrom=(hd0,1)/WIN.ISO boot=harddisk
}

刚学习VBOOT,测试了一下,感觉在xp系统的机器上从VHD启动好像没什么实际的用途。机器上两个硬盘,各3个分区,xp装在第一硬盘第一分区(c:\),虚拟磁盘创建在c:\
在VHD中又装了个xp(仅分一个分区),启动该系统后发现:虚拟磁盘变成了一个独立的磁盘。VHD系统中的系统分区变为了c:,原来的盘符c:调整到最后,第二硬盘的第一分区
却变成了d:其后是第二硬盘的其它分区两个分区和第一硬盘的第二第三分区最后的盘符才是原来的c:,顺序全乱了。
如果从VHD中启动系统,也就是说VHD中的系统接管控制整个机器,如果中了病毒,比如“熊猫”,“威金”一类的。那么其他盘中的文件不是一样被感染,即使再从原来的
系统启动一样玩完。
新人刚接触VBOOT瞎分析的。。。请高人指正吧


[ 本帖最后由 undo 于 2011-2-18 10:28 编辑 ]
2#
发表于 2011-2-18 10:14:29 | 只看该作者
# (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.

Each volume usually has a unique id after it has been formated. If you perform a reformat on the volume, this id will change.

To find the uuid for a volume on Windows, you can run this command:

vbootedit uuid C:

Inside VBoot Loader, you can enter this command to get the uuid for a volume:

probe -u (hd0,1)

# (LABEL=volume-label)/path/file.ext

The label format is similar to UUID format. You can find a volume's label by right click the properties dialog on Windows host.

For example, you can use (LABEL=OS)/vboot/win7.vhd to represent the same file as discussed in (1) and (2) above.
回复

使用道具 举报

3#
 楼主| 发表于 2011-2-18 10:31:19 | 只看该作者
@2011nmgn
谢谢,UUID明白了。补充了点疑惑,楼下继续指正。
回复

使用道具 举报

4#
发表于 2011-2-18 17:53:30 | 只看该作者
VHD的最大优点你还没有发觉呢~~~
可以全都放在隐藏分区运行的!!!
包括引导文件,VHD文件,所有的都可以放在隐藏分区!
回复

使用道具 举报

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

本版积分规则

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

闽公网安备 35020302032614号

GMT+8, 2024-6-12 04:34

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

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