$ sudoaptinstallrefind
Reading package lists... DoneBuilding dependency tree Reading state information... DoneStarting pkgProblemResolver with broken count: 0Starting 2 pkgProblemResolver with broken count: 0DoneThe following packages were automatically installed and are no longer required: libuv1 linux-signed-image-generic-hwe-16.04Use 'sudo apt autoremove' to remove them.The following NEW packages will be installed: refind0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.Need to get 3 780 kB of archives.After this operation, 5 301 kB of additional disk space will be used.Get:1 http://ppa.launchpad.net/rodsmith/refind/ubuntu xenial/main amd64 refind amd64 0.11.0-0ppa1 [3 780 kB]Fetched 3 780 kB in 5s (717 kB/s) Preconfiguring packages ...Selecting previously unselected package refind.(Reading database ... 140977 files and directories currently installed.)Preparing to unpack .../refind_0.11.0-0ppa1_amd64.deb ...Unpacking refind (0.11.0-0ppa1) ...Processing triggers for man-db (2.7.5-1) ...Setting up refind (0.11.0-0ppa1) ...Installing rEFInd to the ESP...Generating a 2048 bit RSA private key.................................................+++....................................+++writing new private key to '//etc/refind.d/keys/refind_local.key'-----./refind-install: line 1213: 10125 Segmentation fault "$Efibootmgr" -b $ExistingEntryBootNum -B &> /dev/nullProgress: [ 66%]
Notebook is Samsung NP305V5A, OS is KDE Neon Linux.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That doesn't look like a bug in rEFInd or refind-install per se; it appears to be a bug in efibootmgr or something it depends on. That said, it's possible that refind-install has computed and is feeding an invalid entry to efibootmgr. Even so, a segfault should not result, but an installation failure might. I'd need more information to determine if that's the case. If you care to investigate, try this:
Replace the refind-install script in the .zip file with this version. (You may need to make it executable by typing chmod a+x refind-install in the directory where it resides after downloading it.)
As a workaround, you could try installing rEFInd from another OS or environment (including another Linux distribution or another version of the one you're using). You could also see if any updates are available to the efibootmgr package, and if so, install the updates.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Notebook is Samsung NP305V5A, OS is KDE Neon Linux.
That doesn't look like a bug in rEFInd or
refind-install
per se; it appears to be a bug inefibootmgr
or something it depends on. That said, it's possible thatrefind-install
has computed and is feeding an invalid entry toefibootmgr
. Even so, a segfault should not result, but an installation failure might. I'd need more information to determine if that's the case. If you care to investigate, try this:.zip
file from here..zip
file.refind-install
script in the.zip
file with this version. (You may need to make it executable by typingchmod a+x refind-install
in the directory where it resides after downloading it.)refind-install
script, as described in detail on the rEFInd installation page.As a workaround, you could try installing rEFInd from another OS or environment (including another Linux distribution or another version of the one you're using). You could also see if any updates are available to the
efibootmgr
package, and if so, install the updates.