yannmrn / boot-repair

BR packaging
36 stars 15 forks source link

Boot Repair hangs on NVME drives #7

Open Jarrod-RDS opened 1 year ago

Jarrod-RDS commented 1 year ago

Boot-repair hangs (says this may take several minutes, but is still running over an hour later) when used with NVME disks

From /var/log/boot-repair/20221229_144703/boot-repair.log : ...

SET@_progressbar1.pulse()

Recommended repair: ____________________________________________________________

The default repair of the Boot-Repair utility will reinstall the grub-efi of
nvme0n1p7,
using the following options:  nvme0n1p6/boot nvme0n1p1/boot/efi
Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file

/usr/share/boot-sav/gui-actions.sh: line 234: ${LISTOFPARTITIONS[$PARTTOUNFLAG}: bad substitution
SET@_progressbar1.pulse()

...

line 234 PARTB=${LISTOFPARTITIONS[$PARTTOUNFLAG} #sdXY

gui-actions.sh appears to not handle NVME disks and their unique disk naming properly.

I have this problem and See it documented by other users, unresolved here: https://askubuntu.com/questions/1428127/boot-repair-fails-due-to-bad-substitution-in-gui-actions-sh

a 'work-around' seems to have been provided here, but boot-repair was not used and is still not functioning as a result: https://ubuntuforums.org/showthread.php?t=2475984