Comment 0 for bug 1818209

Revision history for this message
Jóhann Friðriksson (johann-fridriksson) wrote :

While installing Ubuntu Server 18.04.2: curtin seems to compose the serial (id) for my NVMe storage incorrectly.
Right after I give the installer the go-ahead to perform the installation (with nothing but default values) the command: ['curtin', 'block-meta', 'simple'] fails. The tracedump says:
ValueError: no disk with serial 'THNSN5512GPU7_NVMe_TOSHIBA_512GB_________76KS12H7T5ZV' found.
Under '/dev/disk/by-id' there indeed is no "nvme-THNSN5512GPU7_NVMe_TOSHIBA_512GB_________76KS12H7T5ZV" but rather "nvme-THNSN5512GPU7_NVMe_TOSHIBA_512GB__76KS12H7T5ZV" (missing 7 of the underscores)

Workaround:
Rebooting back to the installer, and before doing anything else, switch to a different terminal and manually create a symlink with the name curtis expects to find: cd /dev/disk/by_id ; ln -s ../../nvme0n1 THNSN5512GPU7_NVMe_TOSHIBA_512GB_________76KS12H7T5ZV
After that the installation goes fine.