← Back to team overview

touch-packages team mailing list archive

[Bug 1531928] [NEW] [Xenial] root=PARTUUID=<partuuid> is not recognized as valid syntax.

 

You have been subscribed to a public bug:

As per kernel source init/do_mounts.c root=PARTUUID=<partuuid> is acceptable format to pass root= option on command line to boot a system. But due to a bug in initramfs-tools this syntax does not work 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=801154

/*
 *      Convert a name into device number.  We accept the following variants:
 *
 *      1) <hex_major><hex_minor> device number in hexadecimal represents itself
 *         no leading 0x, for example b302.
 *      2) /dev/nfs represents Root_NFS (0xff)
 *      3) /dev/<disk_name> represents the device number of disk
 *      4) /dev/<disk_name><decimal> represents the device number
 *         of partition - device number of disk plus the partition number
 *      5) /dev/<disk_name>p<decimal> - same as the above, that form is
 *         used when disk name of partitioned disk ends on a digit.
 *      6) PARTUUID=00112233-4455-6677-8899-AABBCCDDEEFF representing the
 *         unique id of a partition if the partition table provides it.
 *         The UUID may be either an EFI/GPT UUID, or refer to an MSDOS
 *         partition using the format SSSSSSSS-PP, where SSSSSSSS is a zero-
 *         filled hex representation of the 32-bit "NT disk signature", and PP
 *         is a zero-filled hex representation of the 1-based partition number.
 *      7) PARTUUID=<UUID>/PARTNROFF=<int> to select a partition in relation to
 *         a partition with a known unique id.
 *      8) <major>:<minor> major and minor number of the device separated by
 *         a colon.
 *

Please merge the patch from debian in xenial to support PARTUUID in
initramfs.

** Affects: initramfs-tools (Ubuntu)
     Importance: Undecided
     Assignee: Andy Whitcroft (apw)
         Status: In Progress

-- 
[Xenial] root=PARTUUID=<partuuid>  is not recognized as valid syntax.
https://bugs.launchpad.net/bugs/1531928
You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu.