Support both EFI and NT Disk Signature for passing to kernel as
root=PARTUUID=$val
Signed-off-by: Steve Kenton <address@hidden>
---
V3 revert bogus index change it V2, more style cleanups, skip nested partitions
This boots Ubuntu 16.04 properly, verified my checking /proc/cmdline
However, on an embedded system using Buildroot the system boots but shows this
message and sysfs does not get mounted, udev does not run etc. I thinks it's a
problem with Buildroot/Busybox but wanted to mention it. The system is usable
once sysfs is manually mounted on /sys.
mount: libmount/src/tab_parse.c:706: mnt_table_parse_stream: Assertion
`fs->refcount == 1' failed.