Notice how the name is truncated after partition 9.
I believe the error has happened at this point.
Where the partition count has gone above a single digit.
Correction: this is only a display error. PART_COUNT has not yet been effected.
edit: after more reading
the truncated error is line 1256; 1258
if [[ $dev = /dev/nvme* ]]; then
model=$(lsblk -lno MODEL "${dev%p[1-9]}" | awk '{gsub(/ |\t/, "_"); print}')
At this point all partitions are counted, just not displayed in the full format. That should also happen for the following screens. But it doesn’t; somewhere PART_COUNT get set below 10 before Swap Setup is called.
Yeah --I tried changing 9 to 10 on the fly. Maybe I did it wrong but no joy so far. Really appreciate all the time folks are spending taking a look at this
Respectfully, no. This is so much fun; I’m gunna keep digging. See I’m a hardware guy. I did a little 6501/6510 assembler programming back 40+ years ago; late '70’s. and nothing since. Never worked with BASH. So this is really interesting.
I tried 20. it stopped listing the partition names at 2. So it looks like the variable can only accept a single digit integer, or what ever the lingo is.
Thanks chroot. I ran the script in debug mode from inside my current install and captured the output to a text file. Studying it and trying to figure it out.