initramfs-tools: UUID checks now fail for NTFS which has upper cases UUIDS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| initramfs-tools (Ubuntu) |
Critical
|
Andy Whitcroft |
Bug Description
The new code to lowercase all UUIDs is breaking NTFS mounts because those have UPPERcase UUIDs exclusivly. The correct fix would be to make blkid handle this as it knows what range of values the various UUIDs have and whether upper/lower casing them is even safe.
For initramfs-tools it is clear we should be checking that the UUIDs unmodified before attempting to change their case. This guearentees existing installs are never affected. We should likely also only case map those in a known UUID format which is case insensitive.
NOTE: the bug herein was only exposed in -proposed and found by testers on Bug #1548120, thanks goes to them.
Changed in initramfs-tools (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → Critical |
assignee: | nobody → Andy Whitcroft (apw) |
milestone: | none → ubuntu-16.03 |
Manoj Iyer (manjo) wrote : | #1 |
Manoj Iyer (manjo) wrote : | #2 |
I was able to boot with both upper and lowercase PARTUUID using:
$ apt-cache policy initramfs-tools
initramfs-tools:
Installed: 0.122ubuntu6~rc2
Candidate: 0.122ubuntu6~rc2
Version table:
*** 0.122ubuntu6~rc2 500
500 http://
syscon-hh (syscon-kono) wrote : | #3 |
Now I am able to boot the loop device located on a windows (10) *NTFS* partition:
laura@WUBI-UNITY:~$ sudo apt-cache policy initramfs-tools
[sudo] Passwort für laura:
initramfs-tools:
Installiert: 0.122ubuntu6~rc2
Installations
Versionstabelle:
*** 0.122ubuntu6~rc2 100
100 /var/lib/
0.122ubuntu5 500
500 http://
0.122ubuntu3 500
500 http://
laura@WUBI-UNITY:~$ cat /proc/cmdline
BOOT_IMAGE=
The XENIAL system is running well
Andy Whitcroft (apw) wrote : | #4 |
@manoj @syscon-hh -- thanks both for testing. I will get this uploaded and perhaps this time it can actually migrate.
description: | updated |
hakuna_matata (hakuna-matata) wrote : | #5 |
It works for me, too.
$ apt-cache policy initramfs-tools
initramfs-tools:
Installed: 0.122ubuntu6
Candidate: 0.122ubuntu6
Version table:
*** 0.122ubuntu6 500
500 http://
500 http://
100 /var/lib/
0.122ubuntu3 500
500 http://
500 http://
Many thanks for your prompt reaction,
Launchpad Janitor (janitor) wrote : | #6 |
This bug was fixed in the package initramfs-tools - 0.122ubuntu6
---------------
initramfs-tools (0.122ubuntu6) xenial; urgency=medium
[ Andy Whitcroft ]
* uuids: only apply case mapping to RFC#4122 format uuids (LP: #1553107,
#1548120)
[ Timo Aaltonen ]
* hooks/framebuffer: Copy kernel/ubuntu/i915 backport driver too. (LP:
#1500751)
initramfs-tools (0.122ubuntu5) xenial; urgency=medium
[ Andy Whitcroft ]
* uuids: busybox tr does not support symbolic ranges expand manually
(LP: #1548120)
[ Martin Pitt ]
* wait-for-root.c: Drop check if device is queued in udev (LP: #1539195)
initramfs-tools (0.122ubuntu4) xenial; urgency=medium
[ Manoj Iyer ]
* Add support for uppercase and lowercase uuids. (LP: #1548120)
-- Andy Whitcroft <email address hidden> Fri, 04 Mar 2016 10:12:42 +0000
Changed in initramfs-tools (Ubuntu): | |
status: | In Progress → Fix Released |
$ apt-cache policy initramfs-tools ppa.launchpad. net/apw/ initramfs- tools-test/ ubuntu xenial/main arm64 Packages
initramfs-tools:
Installed: 0.122ubuntu6~rc1
Candidate: 0.122ubuntu6~rc1
Version table:
*** 0.122ubuntu6~rc1 500
500 http://
root=PARTUUID= 7c5978e5- a56f-4c4c- a3f1-de1467d0b6 02 (lower case) works 7C5978E5- A56F-4C4C- A3F1-DE1467D0B6 02 (upper case) does not work.
root=PARTUUID=