]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
Fix UUID command. Reported by: Jordan Uggla
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 15 Sep 2010 00:16:12 +0000 (02:16 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 15 Sep 2010 00:16:12 +0000 (02:16 +0200)
grub-core/lib/legacy_parse.c

index 5b5b4d6e224a05798cd525c3765fedb04b2fbd46..7ecd1c74fe592abeba011aed27b67127fa612437 100644 (file)
@@ -275,8 +275,8 @@ struct legacy_command legacy_commands[] =
      "Unhide PARTITION by clearing the \"hidden\" bit in its"
      " partition type code."},
     /* FIXME: uppermem unsupported.  */
-    {"uuid", "search -u '%s'\n", NULL, 0, 1, {TYPE_VERBATIM}, 0, "UUID",
-     "Find root by UUID"},
+    {"uuid", "search --set=root --fs-uuid '%s'\n", NULL, 0, 1, {TYPE_VERBATIM},
+     0, "UUID", "Find root by UUID"},
     /* FIXME: support MODE.  */
     {"vbeprobe", "vbeinfo\n", NULL, 0, 0, {}, 0, "[MODE]",
      "Probe VBE information. If the mode number MODE is specified, show only"