Original problem is every boot ends with
With the current complication that rEFInd refuses to be found in the boot options list after a successful apt-get install, and continues to do so despite the efforts documented below.
[in sixth day of this insanity going on the seventh with no rest in sight. so desperate for help and understanding.]
Machine is a HP110-220z Desktop with an American Megitrends BIOS [In which I have to set or reset the boot order and system security settings each time I reboot a live DVD.]
A Lubuntu 16.1 install over Ubuntu 16.04.1was necissated and performed after using Gparted to remove the windows partitions [leaving the EFI partitition].
[Even with 8 GiB of RAM the dual 1.4 Ghz processors were causing Unity to crawl. ]
- One problem I have not corrected [if it is a problem] is the 1 GiB unasigned section between the EFI sector and the front of HDD sda2.
- sda1 somehow ended up between sda2 and sda5 when I deleted sda3 and sda4. This according to Gparted.
- I tried to create a partition out of that first unassigned 1 Gib, but was warned off because in moving sda2 EFI to create a minimum sized 1.95 Gib partition, I could "make the machine un-bootable."
- I am writing this with the Lubuntu live disk loaded.
Have 9 partitions or primary and logical drives from the dualboot install three years ago in this order:
1 gib unassigned
sda 02 EFI, 360 MiB sda 01 /temp, 40 GiB [Empty]*
sda 05 14.5 GiB [Hidden HP and win Recovery],
sda 06 1.95 GiB Win shared [fat32] contains files pertinate to this effort, reserved for Samba share at this time.
sda 07 /boot, 500 MiB [Empty]*
sda 08 /root, 21 GiB [Empty]*
sda 09 Swap, 2.0 GiB [Empty]*
sda 10 /var, 4.0 GiB [Empty]*
sda 11 /home 413 GiB [Files backed up except for a number where permission was denied [ownership problem]] * Formatted by Lubuntu install
Tried Boot-repair first
Boot repair left boot in same state.
Boot repair could not finish
"close all package managers ... because update manager running in background.
The instruction to download then click remind later didn't work because update kept requiring a reboot, which, of course, with a live DVD reboot in order to run boot-repair removed all updates.
"close all package managers ... "
Clicking reboot later, and killing update and stopping or killing update-notifier and rerunning Boot-repair again resulted in
"close all package managers ... "
I can only guess that be background package manager is hidden even from Lubuntu's task manager.
Reinstalled LuBuntu from live disk
still got grub>
So turned to REfind.
lubuntu@lubuntu:/$ sudo apt-get install refind Reading package lists... Done . . . Preparing to unpack .../refind_0.10.4-0ppa1_amd64.deb ... Unpacking refind (0.10.4-0ppa1) ... Setting up refind (0.10.4-0ppa1) ... Installing rEFInd to the ESP... Processing triggers for man-db (2.7.5-1) ... lubuntu@lubuntu:/$ $ sudo refind-mkdefault $: command not found lubuntu@lubuntu:/$ sudo refind-mkdefault **rEFInd was not found in the boot options list!** You should create a rEFInd entry with efibootmgr or by re-installing (with refind-install, for example) No changes saved. [Above and below are the record of a reinstall of refind, by the way] lubuntu@lubuntu:/$ sudo efibootmgr BootCurrent: 0012 Timeout: 0 seconds BootOrder: 0001,0002,000C,000D,0012,0013,0006,0007,0014 Boot0001* USB Floppy/CD Boot0002* USB Hard Drive Boot0006* USB Floppy/CD Boot0007* Hard Drive Boot000C UEFI: WDC WD5000AAKX-60U6AA0 Boot000D UEFI: WDC WD5000AAKX-60U6AA0 Boot0012* UEFI: hp DVD A DH16AESH Boot0013* CD/DVD Drive Boot0014* Realtek PXE B03 D00 lubuntu@lubuntu:/$
USB floppy/CD got in there twice while rEParted did not. Hmmm.
Could find no really detailed step by step instructions for using efibootmgr that I could feel confident in using to add rEFind to the boot list. All seemed to asume a level of programming knowledge I have being a basically hardware man. [in my brain Programming = chemistry = magic. and I'm cursed with being a "Mister Literal"]
No one seems to have had the same exact situation in the last 8 years either in askubuntu, ubuntuforums or elsewhere.
in sixth day of this insanity
and here I am with my little piccilo so to speak.
With a wife who has been very, very.., very...., patient.