无忧启动论坛

标题: 关于 GRUB4DOS的UUID命令 [打印本页]

作者: shb110119    时间: 2009-5-22 20:17
标题: 关于 GRUB4DOS的UUID命令
我试着直接通过UUID来进入系统  发现不行 是我的命令有问题 还是目前不支持??





[ 本帖最后由 shb110119 于 2009-5-22 20:20 编辑 ]
作者: shb110119    时间: 2009-5-23 07:12
这里高人那么多 没人知道么?
作者: yjd    时间: 2009-5-23 09:15
好像没人跟你说uuid能直接启动吧。你自己的问题,估计不点大人看了会晕倒
启动是用chainloader
官方的说明:
-----------------
******************************************************************************
***              New command 'uuid' to identify partitions                 ***
******************************************************************************
                 确认分区的新命令 'uuid'

Usage:
用法:

        uuid [DEVICE] [UUID]

If DEVICE is not specified, search for filesystem with UUID in all partitions
and set the partition containing the filesystem as new root (if UUID is
specified), or just list uuid's of all filesystems on all devices (if UUID is
not specified). If DEVICE is specified, return true or false according to
whether or not the DEVICE matches the specified UUID (if UUID is specified),
or just list the uuid of DEVICE (if UUID is not specified).
如果 DEVICE 选项未被指定,将在所有分区中搜索指定的 UUID 号的文件系统,
然后把包含这个文件系统的分区设置为新的根 (如果 uuid 被指定时),或者只列举所
有设备上的文件系统的 uuid 号(如果 uuid 未被指定时)。
如果 DEVICE 选项被指定了,将返回 真 或 假 ,对应于指定的设备是否与指定的 UUID
号相符(如果uuid被指定时),或者仅仅列举指定设备的uuid 号(uuid 未被指定时)。

Example 1:
示例 1:

        find --set-root uuid () 7f95820f-5e33-4e6c-8f50-0760bf06d79c

which will find a partition with uuid=7f95820f-5e33-4e6c-8f50-0760bf06d79c
and set the partition as root if found.
这将查找 uuid 等于 7f95820f-5e33-4e6c-8f50-0760bf06d79c的分区,然后将这个发
现的分区设置为根。

Example 2:
示例 2:
        uuid ()

which will print the uuid of the current root device.
这将显示当前根设备的 uuid 号。
作者: shb110119    时间: 2009-5-23 10:02
弱弱的问下 “根” 是什么概念?
作者: lianjiang    时间: 2009-5-23 10:27
不知楼主的用法是从哪里看到的。
很有创造性。
作者: mimami    时间: 2009-5-23 13:07
need test again

u r fine
作者: fujianabc    时间: 2009-5-23 17:56
原帖由 shb110119 于 2009-5-23 10:02 发表
弱弱的问下 “根” 是什么概念?

根就是linux的/

windows/dos下基本无需此概念,我看楼主把ntfs分区设为root,接着是想启动windows吧?
其实启动windows,直接chainloader即可,无需设root

如果想启动linux,用楼主的命令来设root到有新意。




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