无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站广告联系 微信:wuyouceo QQ:184822951
查看: 3383|回复: 6

关于 GRUB4DOS的UUID命令

[复制链接]
发表于 2009-5-22 20:17:07 | 显示全部楼层 |阅读模式
我试着直接通过UUID来进入系统  发现不行 是我的命令有问题 还是目前不支持??

未命名.jpg

未命名.jpg

[ 本帖最后由 shb110119 于 2009-5-22 20:20 编辑 ]
 楼主| 发表于 2009-5-23 07:12:37 | 显示全部楼层
这里高人那么多 没人知道么?
回复

使用道具 举报

发表于 2009-5-23 09:15:32 | 显示全部楼层
好像没人跟你说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 号。
回复

使用道具 举报

 楼主| 发表于 2009-5-23 10:02:21 | 显示全部楼层
弱弱的问下 “根” 是什么概念?
回复

使用道具 举报

发表于 2009-5-23 10:27:49 | 显示全部楼层
不知楼主的用法是从哪里看到的。
很有创造性。
回复

使用道具 举报

发表于 2009-5-23 13:07:30 | 显示全部楼层
need test again

u r fine
回复

使用道具 举报

发表于 2009-5-23 17:56:23 | 显示全部楼层
原帖由 shb110119 于 2009-5-23 10:02 发表
弱弱的问下 “根” 是什么概念?

根就是linux的/

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

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

使用道具 举报

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

本版积分规则

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

闽公网安备 35020302032614号

GMT+8, 2024-4-18 21:49

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

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