Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in

Issue 2832078: Export the kernel partition's UniqueGuid to the kernel command line. (Closed)

9 years, 1 month ago by Bill Richardson
8 years, 2 months ago
Base URL:


Export the kernel partition's UniqueGuid to the kernel command line. This will cause a %U in the kernel command line to be replaced with the human-readable form of the kernel partition's UniqueGuid, which is passed from the Chrome OS BIOS. If the BIOS doesn't pass this information (older ones don't), %U expands to 00000000-0000-0000-0000-000000000000. BUG=chromium-os:4941

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -5 lines) Patch
M bootstub.c View 7 chunks +71 lines, -5 lines 0 comments Download


Total messages: 3 (0 generated)
Bill Richardson
9 years, 1 month ago (2010-07-23 01:27:07 UTC) #1
9 years, 1 month ago (2010-07-23 01:43:50 UTC) #2
Bill Richardson
9 years, 1 month ago (2010-07-23 01:47:34 UTC) #3

This is a multiple-repository change set. All three of these
changes must have landed before any changes will be visible:

AND a Chrome OS BIOS that incorporates CL 3056014 must also
be used.

If all that has happened, boot the device, log in, switch to
a console, and run

  cat /proc/cmdline

You should see a term something like this (the actual
numbers will be different):


That GUID should correspond to the kernel partition, which
you can display using the cgpt tool. For example,

  sudo cgpt show /dev/sda

Of course, you'll want to replace /dev/sda with the actual
root device (which you can find by running "rootdev").

If the kern_guid numbers are all zeros or a simple '%U' or
is not present at all, not all changes have landed (or
something is broken).

Powered by Google App Engine
This is Rietveld 408576698