FS#57569 - Support disk UUID starting with zeroes

Attached to Project: Release Engineering
Opened by Jakub Fojtik (kubaf) - Monday, 19 February 2018, 14:17 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Wednesday, 28 February 2018, 15:10 GMT
Task Type Bug Report
Category ArchISO
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

When booting archlinux-2018.02.01-x86_64.iso from an USB drive with UUID 0123-4567:
It tries to mount /dev/by_uuid/1234-567 (trimming the zero and "adjusting" the UUID) as the root system and fails after the 30s waiting.
Manually mounting /dev/by_uuid/0123-4567 instead does not change anything, it still timeouts after 30s of waiting.

I am using Multibootusb to boot the ISO, just in case it could affect the UUID parsing.
This task depends upon

Closed by  Gerardo Exequiel Pozzi (djgera)
Wednesday, 28 February 2018, 15:10 GMT
Reason for closing:  Not a bug
Comment by Gerardo Exequiel Pozzi (djgera) - Wednesday, 21 February 2018, 00:00 GMT
what is the kernel command line?
Comment by Jakub Fojtik (kubaf) - Wednesday, 28 February 2018, 13:45 GMT
I reformatted the USB drive since, and am now unable to reproduce the bug.
That ISO now boots even in multiboot, even when i change the FAT serial number of the partition to 0123-4567 beforehand.

I am sorry for this useless bug report. The bug was probably on Multibootusb's side, since that changes the commandline from disklabel to device uuid in archlinux-2018.02.01-x86_64/loader/entries/archiso-x86_64.conf

Loading...