clearlinux / clr-installer

Clear Linux* OS Installer
GNU General Public License v3.0
92 stars 42 forks source link

Can't install on laptop: Invalid "children" token ... Unknown block device type dm #775

Open rscm opened 2 years ago

rscm commented 2 years ago

Describe the bug Wanted to install on a laptop but the installer (GUI) didn't detected the drive. The drive is a SATA SSD disk, but I've also tested with the previous mechanical drive and the issue persisted. Then tried using a YAML file (clr install config) to define the drive on /dev/sda and for a moment worked and it created the partitions but then stopped with an error. (you can read the logs for more details about the error)

I've tried with multiple CLR Linux isos (previous versions) and the same happened

The install media is fine, I use Ventoy and I have a bunch of isos in it I use regularly

Thanks

To Reproduce Steps to reproduce the behavior:

  1. Connect the install media/USB Stick
  2. Boot into CLR
  3. Open the installer
  4. Enter the storage/partition options and see the error there saying it can not detect any drive

Expected behavior I expect that the installer detects the drive on /dev/sda and then let me install the OS

Environment (please complete the following information):

 ---

**Logs**
 ##### clr-installer.log

2022/05/24 06:41:30 [DBG] Log Level set to LogLevelDebug (4) 2022/05/24 06:41:30 [INF] clr-installer: 2.7.3, built on 2022-03-03_23:52:17_UTC 2022/05/24 06:41:30 [DBG] Loading config file: live-desktop.yaml 2022/05/24 06:41:30 [INF] Querying Clear Linux version 2022/05/24 06:41:30 [DBG] PrivateIP: Found IP: 52.89.132.254, Private IP?: false 2022/05/24 06:41:30 [DBG] PrivateIP: Found IP: 52.24.64.66, Private IP?: false 2022/05/24 06:41:30 [DBG] localectl list-keymaps --no-pager 2022/05/24 06:41:30 [DBG] Using default shellProxy.DefaultGetProxyValue 2022/05/24 06:41:30 [DBG] [Previous line repeated 4 times] 2022/05/24 06:41:30 [DBG] cmd.Env: [] 2022/05/24 06:41:30 [DBG] timedatectl list-timezones 2022/05/24 06:41:30 [DBG] Using default shellProxy.DefaultGetProxyValue 2022/05/24 06:41:30 [DBG] [Previous line repeated 4 times] 2022/05/24 06:41:30 [DBG] cmd.Env: [] 2022/05/24 06:41:31 [DBG] locale -a 2022/05/24 06:41:31 [DBG] Using default shellProxy.DefaultGetProxyValue 2022/05/24 06:41:31 [DBG] [Previous line repeated 4 times] 2022/05/24 06:41:31 [DBG] cmd.Env: [] 2022/05/24 06:41:31 [DBG] Unable to use language locale 'agr_PE.UTF-8' 2022/05/24 06:41:31 [DBG] Unable to use language locale 'ayc_PE.UTF-8' 2022/05/24 06:41:31 [DBG] Unable to use language locale 'ber_DZ.UTF-8' 2022/05/24 06:41:31 [DBG] Unable to use language locale 'ber_MA.UTF-8' 2022/05/24 06:41:31 [DBG] Unable to use language locale 'bhb_IN.UTF-8' 2022/05/24 06:41:31 [DBG] Unable to use language locale 'hne_IN.UTF-8' 2022/05/24 06:41:31 [DBG] Unable to use language locale 'miq_NI.UTF-8' 2022/05/24 06:41:31 [DBG] Unable to use language locale 'mjw_IN.UTF-8' 2022/05/24 06:41:31 [DBG] Unable to use language locale 'mnw_MM.UTF-8' 2022/05/24 06:41:31 [DBG] Unable to use language locale 'nhn_MX.UTF-8' 2022/05/24 06:41:31 [DBG] Unable to use language locale 'shs_CA.UTF-8' 2022/05/24 06:41:31 [DBG] Unable to use language locale 'the_NP.UTF-8' 2022/05/24 06:41:31 [DBG] Unable to use language locale 'unm_US.UTF-8' 2022/05/24 06:41:31 [DBG] Unable to use language locale 'yuw_PG.UTF-8' 2022/05/24 06:41:31 [DBG] Mass installer using defined media in YAML 2022/05/24 06:41:31 [WRN] validatePartitions: Skipping /boot size check due to skipSize 2022/05/24 06:41:31 [WRN] validatePartitions: Skipping swap size check due to skipSize 2022/05/24 06:41:31 [WRN] validatePartitions: Skipping / (root) size check due to zero size 2022/05/24 06:41:31 [DBG] Starting install 2022/05/24 06:41:31 [INF] Running pre-install hooks 2022/05/24 06:41:31 [DBG] Clear Linux OS version: latest 2022/05/24 06:41:31 [WRN] validatePartitions: Skipping /boot size check due to skipSize 2022/05/24 06:41:31 [WRN] validatePartitions: Skipping swap size check due to skipSize 2022/05/24 06:41:31 [WRN] validatePartitions: Skipping / (root) size check due to zero size 2022/05/24 06:41:31 [WRN] Flag --iso not valid for physical media; disabling 2022/05/24 06:41:31 [DBG] lsblk --exclude 1,2,11 -J -b -O /dev/sda 2022/05/24 06:41:31 [DBG] Using default shellProxy.DefaultGetProxyValue 2022/05/24 06:41:31 [DBG] [Previous line repeated 4 times] 2022/05/24 06:41:31 [DBG] cmd.Env: [] 2022/05/24 06:41:31 [INF] Cleaning disk(action): /dev/sda with ForceDestructive: false 2022/05/24 06:41:31 [DBG] lsblk --exclude 1,2,11 -J -b -O /dev/sda 2022/05/24 06:41:31 [DBG] Using default shellProxy.DefaultGetProxyValue 2022/05/24 06:41:31 [DBG] [Previous line repeated 4 times] 2022/05/24 06:41:31 [DBG] cmd.Env: [] 2022/05/24 06:41:31 [DBG] removePart: Found parent: /dev/sda for child: /dev/sda1 2022/05/24 06:41:31 [WRN] Deleting part: sda1 from disk: sda 2022/05/24 06:41:31 [DBG] parted /dev/sda --script -- rm 1 2022/05/24 06:41:31 [DBG] Using default shellProxy.DefaultGetProxyValue 2022/05/24 06:41:31 [DBG] [Previous line repeated 4 times] 2022/05/24 06:41:31 [DBG] cmd.Env: [] 2022/05/24 06:41:31 [INF] Writing partition table to: sda 2022/05/24 06:41:31 [DBG] parted -s /dev/sda mklabel gpt 2022/05/24 06:41:31 [DBG] Using default shellProxy.DefaultGetProxyValue 2022/05/24 06:41:31 [DBG] [Previous line repeated 4 times] 2022/05/24 06:41:31 [DBG] cmd.Env: [] 2022/05/24 06:41:31 [INF] Updating partition table for: sda 2022/05/24 06:41:31 [DBG] Partitions before sorting: 2022/05/24 06:41:31 [DBG] sda1: fsType=vfat, mount=/boot, size=157286400, type=part 2022/05/24 06:41:31 [DBG] sda2: fsType=swap, mount=, size=33554432, type=part 2022/05/24 06:41:31 [DBG] sda3: fsType=ext4, mount=/, size=0, type=part 2022/05/24 06:41:31 [DBG] Partitions after sorting: 2022/05/24 06:41:31 [DBG] sda1: fsType=vfat, mount=/boot, size=157286400, type=part 2022/05/24 06:41:31 [DBG] sda2: fsType=swap, mount=, size=33554432, type=part 2022/05/24 06:41:31 [DBG] sda3: fsType=ext4, mount=/, size=0, type=part 2022/05/24 06:41:31 [DBG] parted --machine --script -- /dev/sda unit B print 2022/05/24 06:41:31 [DBG] Using default shellProxy.DefaultGetProxyValue 2022/05/24 06:41:31 [DBG] [Previous line repeated 4 times] 2022/05/24 06:41:31 [DBG] cmd.Env: [] 2022/05/24 06:41:31 [DBG] WritePartitionTable: processing child: &{sda1 vfat /boot 157286400 part false false [] false true true false false 1 []} 2022/05/24 06:41:31 [DBG] WritePartitionTable: WholeDisk mode 2022/05/24 06:41:31 [DBG] WritePartitionTable: start: 0, end: 157286400 2022/05/24 06:41:31 [DBG] WritePartitionTable: mkPartCmd: mkpart EFI fat32 0% 157M 2022/05/24 06:41:31 [DBG] parted -a optimal /dev/sda unit MB --script -- mkpart EFI fat32 0% 157M 2022/05/24 06:41:31 [DBG] Using default shellProxy.DefaultGetProxyValue 2022/05/24 06:41:31 [DBG] [Previous line repeated 4 times] 2022/05/24 06:41:31 [DBG] cmd.Env: [] 2022/05/24 06:41:31 [DBG] parted --machine --script -- /dev/sda unit B print 2022/05/24 06:41:31 [DBG] Using default shellProxy.DefaultGetProxyValue 2022/05/24 06:41:31 [DBG] [Previous line repeated 4 times] 2022/05/24 06:41:31 [DBG] cmd.Env: [] 2022/05/24 06:41:31 [DBG] WritePartitionTable: processing child: &{sda2 swap 33554432 part false false [] false true true false false 2 []} 2022/05/24 06:41:31 [DBG] WritePartitionTable: WholeDisk mode 2022/05/24 06:41:31 [DBG] WritePartitionTable: start: 157286400, end: 190840832 2022/05/24 06:41:31 [DBG] WritePartitionTable: mkPartCmd: mkpart linux-swap 157M 190M 2022/05/24 06:41:31 [DBG] parted -a optimal /dev/sda unit MB --script -- mkpart linux-swap 157M 190M 2022/05/24 06:41:31 [DBG] Using default shellProxy.DefaultGetProxyValue 2022/05/24 06:41:31 [DBG] [Previous line repeated 4 times] 2022/05/24 06:41:31 [DBG] cmd.Env: [] 2022/05/24 06:41:31 [DBG] parted --machine --script -- /dev/sda unit B print 2022/05/24 06:41:31 [DBG] Using default shellProxy.DefaultGetProxyValue 2022/05/24 06:41:31 [DBG] [Previous line repeated 4 times] 2022/05/24 06:41:31 [DBG] cmd.Env: [] 2022/05/24 06:41:31 [DBG] WritePartitionTable: processing child: &{sda3 ext4 / 0 part false false [] false true true false false 3 []} 2022/05/24 06:41:31 [DBG] WritePartitionTable: WholeDisk mode 2022/05/24 06:41:31 [DBG] WritePartitionTable: start: 190840832, end: 190840832 2022/05/24 06:41:31 [DBG] WritePartitionTable: mkPartCmd: mkpart / 190M -1 2022/05/24 06:41:31 [DBG] parted -a optimal /dev/sda unit MB --script -- mkpart / 190M -1 2022/05/24 06:41:31 [DBG] Using default shellProxy.DefaultGetProxyValue 2022/05/24 06:41:31 [DBG] [Previous line repeated 4 times] 2022/05/24 06:41:31 [DBG] cmd.Env: [] 2022/05/24 06:41:31 [DBG] parted --machine --script -- /dev/sda unit B print 2022/05/24 06:41:31 [DBG] Using default shellProxy.DefaultGetProxyValue 2022/05/24 06:41:31 [DBG] [Previous line repeated 4 times] 2022/05/24 06:41:31 [DBG] cmd.Env: [] 2022/05/24 06:41:32 [INF] Setting GUIDs for device: /dev/sda 2022/05/24 06:41:32 [DBG] sgdisk /dev/sda --typecode=3:4F68BCE3-E8CD-4DB1-96E7-FBCAF984B709 2022/05/24 06:41:32 [DBG] Using default shellProxy.DefaultGetProxyValue 2022/05/24 06:41:32 [DBG] [Previous line repeated 4 times] 2022/05/24 06:41:32 [DBG] cmd.Env: [] 2022/05/24 06:41:33 [DBG] The operation has completed successfully. 2022/05/24 06:41:33 [DBG] sgdisk /dev/sda --typecode=1:C12A7328-F81F-11D2-BA4B-00A0C93EC93B 2022/05/24 06:41:33 [DBG] Using default shellProxy.DefaultGetProxyValue 2022/05/24 06:41:33 [DBG] [Previous line repeated 4 times] 2022/05/24 06:41:33 [DBG] cmd.Env: [] 2022/05/24 06:41:34 [DBG] The operation has completed successfully. 2022/05/24 06:41:34 [DBG] sgdisk /dev/sda --typecode=2:0657FD6D-A4AB-43C4-84E5-0933C84B4F4F 2022/05/24 06:41:34 [DBG] Using default shellProxy.DefaultGetProxyValue 2022/05/24 06:41:34 [DBG] [Previous line repeated 4 times] 2022/05/24 06:41:34 [DBG] cmd.Env: [] 2022/05/24 06:41:35 [DBG] The operation has completed successfully. 2022/05/24 06:41:35 [INF] Setting boot partition: sda1 [boot] 2022/05/24 06:41:35 [DBG] parted /dev/sda set 1 boot on 2022/05/24 06:41:35 [DBG] Using default shellProxy.DefaultGetProxyValue 2022/05/24 06:41:35 [DBG] [Previous line repeated 4 times] 2022/05/24 06:41:35 [DBG] cmd.Env: [] 2022/05/24 06:41:35 [DBG] Information: You may need to update /etc/fstab. 2022/05/24 06:41:35 [DBG]

2022/05/24 06:41:35 [DBG] partprobe /dev/sda 2022/05/24 06:41:35 [DBG] Using default shellProxy.DefaultGetProxyValue 2022/05/24 06:41:35 [DBG] [Previous line repeated 4 times] 2022/05/24 06:41:35 [DBG] cmd.Env: [] 2022/05/24 06:41:39 [INF] Writing vfat file system to sda1 '/boot' 2022/05/24 06:41:39 [DBG] mkfs.vfat -F32 /dev/sda1 2022/05/24 06:41:39 [DBG] Using default shellProxy.DefaultGetProxyValue 2022/05/24 06:41:39 [DBG] [Previous line repeated 4 times] 2022/05/24 06:41:39 [DBG] cmd.Env: [] 2022/05/24 06:41:39 [DBG] mkfs.fat 4.2 (2021-01-31) 2022/05/24 06:41:39 [DBG] blkid --probe /dev/sda1 --output export 2022/05/24 06:41:39 [DBG] Using default shellProxy.DefaultGetProxyValue 2022/05/24 06:41:39 [DBG] [Previous line repeated 4 times] 2022/05/24 06:41:39 [DBG] cmd.Env: [] 2022/05/24 06:41:39 [DBG] updatePartitionInfo: Updated /dev/sda1 UUID: E239-7901 2022/05/24 06:41:39 [DBG] updatePartitionInfo: Ignoring unknown line: 2022/05/24 06:41:39 [INF] Writing swap file system to sda2 2022/05/24 06:41:39 [DBG] mkswap /dev/sda2 2022/05/24 06:41:39 [DBG] Using default shellProxy.DefaultGetProxyValue 2022/05/24 06:41:39 [DBG] [Previous line repeated 4 times] 2022/05/24 06:41:39 [DBG] cmd.Env: [] 2022/05/24 06:41:39 [DBG] Setting up swapspace version 1, size = 31 MiB (32501760 bytes) 2022/05/24 06:41:39 [DBG] no label, UUID=fb4b36f0-e07b-42e1-b9a7-03825e0a9d36 2022/05/24 06:41:39 [DBG] blkid --probe /dev/sda2 --output export 2022/05/24 06:41:39 [DBG] Using default shellProxy.DefaultGetProxyValue 2022/05/24 06:41:39 [DBG] [Previous line repeated 4 times] 2022/05/24 06:41:39 [DBG] cmd.Env: [] 2022/05/24 06:41:39 [DBG] updatePartitionInfo: Updated /dev/sda2 UUID: fb4b36f0-e07b-42e1-b9a7-03825e0a9d36 2022/05/24 06:41:39 [DBG] updatePartitionInfo: Ignoring unknown line: 2022/05/24 06:41:39 [INF] Writing ext4 file system to sda3 '/' 2022/05/24 06:41:39 [DBG] mkfs.ext4 -v -F -b 4096 /dev/sda3 2022/05/24 06:41:39 [DBG] Using default shellProxy.DefaultGetProxyValue 2022/05/24 06:41:39 [DBG] [Previous line repeated 4 times] 2022/05/24 06:41:39 [DBG] cmd.Env: [] 2022/05/24 06:41:39 [DBG] mke2fs 1.46.5 (30-Dec-2021) 2022/05/24 06:41:39 [DBG] fs_types for mke2fs.conf resolution: 'ext4' 2022/05/24 06:41:39 [DBG] Discarding device blocks: 0/122050048 2022/05/24 06:41:40 [DBG] 16252928/122050048 2022/05/24 06:41:40 [DBG] done
2022/05/24 06:41:40 [DBG] Filesystem label= 2022/05/24 06:41:40 [DBG] OS type: Linux 2022/05/24 06:41:40 [DBG] Block size=4096 (log=2) 2022/05/24 06:41:40 [DBG] Fragment size=4096 (log=2) 2022/05/24 06:41:40 [DBG] Stride=0 blocks, Stripe width=256 blocks 2022/05/24 06:41:40 [DBG] 30515200 inodes, 122050048 blocks 2022/05/24 06:41:40 [DBG] 6102502 blocks (5.00%) reserved for the super user 2022/05/24 06:41:40 [DBG] First data block=0 2022/05/24 06:41:40 [DBG] Maximum filesystem blocks=2271215616 2022/05/24 06:41:40 [DBG] 3725 block groups 2022/05/24 06:41:40 [DBG] 32768 blocks per group, 32768 fragments per group 2022/05/24 06:41:40 [DBG] 8192 inodes per group 2022/05/24 06:41:40 [DBG] Filesystem UUID: c8dc7124-adf3-4ec7-ac76-5e7ad9d22228 2022/05/24 06:41:40 [DBG] Superblock backups stored on blocks: 2022/05/24 06:41:40 [DBG] 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 2022/05/24 06:41:40 [DBG] 4096000, 7962624, 11239424, 20480000, 23887872 2022/05/24 06:41:40 [DBG] , 71663616, 78675968 2022/05/24 06:41:40 [DBG] , 2022/05/24 06:41:40 [DBG] 102400000 2022/05/24 06:41:40 [DBG] Allocating group tables: 0/3725 2022/05/24 06:41:40 [DBG] done
2022/05/24 06:41:40 [DBG] Writing inode tables: 0/3725 2022/05/24 06:41:40 [DBG] done
2022/05/24 06:41:40 [DBG] Creating journal (262144 blocks): 2022/05/24 06:41:42 [DBG] done 2022/05/24 06:41:42 [DBG] Writing superblocks and filesystem accounting information: 2022/05/24 06:41:42 [DBG] 0/3725 2022/05/24 06:41:42 [DBG]  2022/05/24 06:41:42 [DBG] done 2022/05/24 06:41:42 [DBG] blkid --probe /dev/sda3 --output export 2022/05/24 06:41:42 [DBG] Using default shellProxy.DefaultGetProxyValue 2022/05/24 06:41:42 [DBG] [Previous line repeated 4 times] 2022/05/24 06:41:42 [DBG] cmd.Env: [] 2022/05/24 06:41:42 [DBG] updatePartitionInfo: Updated /dev/sda3 UUID: c8dc7124-adf3-4ec7-ac76-5e7ad9d22228 2022/05/24 06:41:42 [DBG] updatePartitionInfo: Ignoring unknown line: 2022/05/24 06:41:42 [DBG] partprobe -s 2022/05/24 06:41:42 [DBG] Using default shellProxy.DefaultGetProxyValue 2022/05/24 06:41:42 [DBG] [Previous line repeated 4 times] 2022/05/24 06:41:42 [DBG] cmd.Env: [] 2022/05/24 06:41:42 [DBG] /dev/sda: gpt partitions 1 2 3 2022/05/24 06:41:42 [DBG] /dev/sdb: msdos partitions 1 2 2022/05/24 06:41:42 [DBG] udevadm settle --timeout 10 2022/05/24 06:41:42 [DBG] Using default shellProxy.DefaultGetProxyValue 2022/05/24 06:41:42 [DBG] [Previous line repeated 4 times] 2022/05/24 06:41:42 [DBG] cmd.Env: [] 2022/05/24 06:41:43 [DBG] lsblk --exclude 1,2,11 -J -b -O 2022/05/24 06:41:43 [DBG] Using default shellProxy.DefaultGetProxyValue 2022/05/24 06:41:43 [DBG] [Previous line repeated 4 times] 2022/05/24 06:41:43 [DBG] cmd.Env: [] 2022/05/24 06:41:43 [INF] Running post-image hooks 2022/05/24 06:41:43 [INF] Installation Steps Complete 2022/05/24 06:41:43 [WRN] Telemetry is not present in the installer, skip record generation 2022/05/24 06:41:43 [ERR] Invalid "children" token: Invalid "children" token: Unknown block device type: dm

Error Trace: storage.parseBlockDeviceType() /builddir/build/BUILD/clr-installer-2.7.3/storage/block_devices.go:336 storage.(*BlockDevice).UnmarshalJSON() /builddir/build/BUILD/clr-installer-2.7.3/storage/parse.go:134

Error Trace: storage.(BlockDevice).UnmarshalJSON() /builddir/build/BUILD/clr-installer-2.7.3/storage/parse.go:185 encoding/json.(decodeState).object() /usr/lib/golang/src/encoding/json/decode.go:609

Error Trace: storage.(BlockDevice).UnmarshalJSON() /builddir/build/BUILD/clr-installer-2.7.3/storage/parse.go:185 encoding/json.(decodeState).object() /usr/lib/golang/src/encoding/json/decode.go:609

Error Trace: errors.Wrap() /builddir/build/BUILD/clr-installer-2.7.3/errors/errors.go:85 storage.parseBlockDevicesDescriptor() /builddir/build/BUILD/clr-installer-2.7.3/storage/block_devices.go:694


 ##### clr-installer_terminal.log

clr-installer --config live-desktop.yaml Swupd auto-update set to off! Running pre-install hooks [success] Flag --iso not valid for physical media; disabling Cleaning disk /dev/sda [success] Writing partition table to: sda [success] Updating partition table for: sda [success] Setting boot partition: sda1 [boot] [success] Rescanning media [success] Writing vfat file system to sda1 '/boot' [success] Writing swap file system to sda2 [success] Writing ext4 file system to sda3 '/' [success] Running post-image hooks [success] Installation Steps Complete [success] ERROR: Installation has failed! Please report this crash using GitHub Issues: https://github.com/clearlinux/clr-installer/issues

Include the following as attachments to enable diagnosis: /root/pre-install-clr-installer.yaml /root/clr-installer.log

You may need to remove any personal data of concern from the attachments. The Installer will now exit. Invalid "children" token: Invalid "children" token: Unknown block device type: dm

Error Trace: storage.parseBlockDeviceType() /builddir/build/BUILD/clr-installer-2.7.3/storage/block_devices.go:336 storage.(*BlockDevice).UnmarshalJSON() /builddir/build/BUILD/clr-installer-2.7.3/storage/parse.go:134

Error Trace: storage.(BlockDevice).UnmarshalJSON() /builddir/build/BUILD/clr-installer-2.7.3/storage/parse.go:185 encoding/json.(decodeState).object() /usr/lib/golang/src/encoding/json/decode.go:609

Error Trace: storage.(BlockDevice).UnmarshalJSON() /builddir/build/BUILD/clr-installer-2.7.3/storage/parse.go:185 encoding/json.(decodeState).object() /usr/lib/golang/src/encoding/json/decode.go:609

Error Trace: errors.Wrap() /builddir/build/BUILD/clr-installer-2.7.3/errors/errors.go:85 storage.parseBlockDevicesDescriptor() /builddir/build/BUILD/clr-installer-2.7.3/storage/block_devices.go:694

jtru commented 2 years ago

I also hit this bug when trying to install Clear Linux on the machine next to me. If I locally patch lsblk to not emit a "type": "dm" element, I can choose between all available physical block devices in the system and continue with the installation.

I don't think it's a sensible idea to have block_devices.go keep an internal list of expected values that lsblk might produce, especially when it is not exhaustive. Simply skipping over "unknown" elements would be a better solution, instead of having the parser report an error condition. If you disagree, this patch:

diff --git a/storage/block_devices.go b/storage/block_devices.go
index 4746183..44e97bc 100644
--- a/storage/block_devices.go
+++ b/storage/block_devices.go
@@ -197,6 +197,7 @@ var (
                BlockDeviceTypeRAID5:      "raid5",
                BlockDeviceTypeRAID6:      "raid6",
                BlockDeviceTypeRAID10:     "raid10",
+               BlockDeviceTypeUnknown:    "dm",
                BlockDeviceTypeUnknown:    "",
        }
        aliasPrefixTable = map[string]string{

... could probably fix the problem for this instance of an unexpected value.

Ftr, a workaround to fix the live environment could be this:

sudo mv /usr/sbin/lsblk /usr/sbin/lsblk.real
base64 -d <<EOF > /tmp/lsblk_patched
IyEvYmluL2Jhc2gKL3Vzci9zYmluL2xzYmxrLnJlYWwgIiR7QH0iIHwgc2VkICdzLyJ0eXBlIjog
ImRtIi8idHlwZSI6ICJwYXJ0Ii8nCg==
EOF
sudo cp /tmp/lsblk_patched /usr/sbin/lsblk
chmod 0755 /usr/sbin/lsblk

which will result in /usr/sbin/lsblk become this crude shellscript:

#!/bin/bash
/usr/sbin/lsblk.real "${@}" | sed 's/"type": "dm"/"type": "part"/'

I could complete the installation after performing this unholy procedure. Ymmv.