cgpt: Change stateful partition type GUID to TYPE_LINUX_FS

The TYPE_BASIC_DATA (called TYPE_LINUX_DATA before) is used by both
Windows and Linux systems, and has caused problems when dual-booting.
Modern Linux systems have been changed to TYPE_LINUX_FS.

In Chrome OS, we usually find the stateful partition by number (1)
instead of searching by type, so it should be fine simply replacing
default mapping in the cgpt tool.

TEST=sudo emerge vboot_reference; make runtests

Change-Id: If18ff5180cbae5cdea8104f36203cffcf34db934
Signed-off-by: Hung-Te Lin <>
Reviewed-by: Furquan Shaikh <>
Reviewed-by: Matt Delco <>
Reviewed-by: Mike Frysinger <>
3 files changed