Steve, are you SURE you've been running Linux for only a few years? A Windows guru I knew you were, but the depth and breadth of your Linux knowledge after a few short years is truly amazing.
Announcement
Collapse
No announcement yet.
MBR vs GPT, BIOS and UEFI, Secureboot...what's "the best" combo for a Linux only box?
Collapse
This topic is closed.
X
X
-
Steve, are you SURE you've been running Linux for only a few years? A Windows guru I knew you were, but the depth and breadth of your Linux knowledge after a few short years is truly amazing."A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
– John F. Kennedy, February 26, 1962.
- Top
- Bottom
-
Pan-Galactic QuordlepleenSo Long, and Thanks for All the Fish
- Jul 2011
- 9524
- Seattle, WA, USA
- Send PM
- Top
- Bottom
Comment
-
OK, I went back and tried to use just rEFInd as my boot manager. I downloaded and installed refind 0.7.7, purged everything with "grub" in it's name, and rebooted. rEFInd came up with just one option, Ubuntu. After selecting my one option, Kubuntu's grub menu came up. So I thought I would be smart and delete everything with the name "grub" in it in the /boot partition. That gave me rEFInd with NO options, other than info, shutdown and reboot sub-options.... no OS's. So I booted up my kubuntu live-usb, repaired the boot with grub2 again, and started over. This time, instead of deleting everything named "grub", I started renaming things. I copied and renamed vmlinuz-3.12.0.7-generic to vmlinuz-3.12.0.7-generic.efi, I copied /boot/efi/EFI/ubuntu/grubx64.efi to just about every folder under /boot, including /boot. Doing both things still gave me a grub menu on reboot (with multiple Ubuntu boot options in rEFInd, all pointing back to grub). So, now I'm at a loss and started googling 'refind boots grub'. It appears that no one knows how to fix this. One poor soul posted that he installed refind, removed grub, got the grub menu and was told to remove grub.
Then I began my hunt to load just the stub (again). As far as I can tell, I SHOULD have the option for just the stub in rEFInd, but again, my only option is to boot into grubx64.efi. Under efibootmgr, I have the option to boot shimx64.efi, but then it starts babbling about keys, so I'm avoiding that for now.
- Top
- Bottom
Comment
-
Pan-Galactic QuordlepleenSo Long, and Thanks for All the Fish
- Jul 2011
- 9524
- Seattle, WA, USA
- Send PM
Uh, none of that manual work should have been necessary. What's the output of
Code:sudo efibootmgr -v
- Top
- Bottom
Comment
-
Code:pat@Pats-Main:~$ sudo efibootmgr -v [sudo] password for pat: BootCurrent: 0002 Timeout: 1 seconds BootOrder: 0002,0004,0008,000F,0000,0001 Boot0000* SATA: SanDisk SDSSDRC032G BIOS(11,0,00) Boot0001* SATA: HL-DT-ST DVDRAM GH24 BIOS(10,0,00) Boot0002* rEFInd Boot Manager HD(2,800,7ff800,0f31098a-7845-40ce-8e60-f6870a445677)File(\EFI\refind\refind_x64.efi) Boot0004* kubuntu HD(2,800,7ff800,0f31098a-7845-40ce-8e60-f6870a445677)File(\EFI\ubuntu\shimx64.efi) Boot0008* kubuntu HD(2,800,7ff800,0f31098a-7845-40ce-8e60-f6870a445677)File(\EFI\ubuntu\shimx64.efi) Boot000F* UEFI: Built-in EFI Shell Vendor(5023b95c-db26-429b-a648-bd47664c8012,)AMBO
- Top
- Bottom
Comment
-
Pan-Galactic QuordlepleenSo Long, and Thanks for All the Fish
- Jul 2011
- 9524
- Seattle, WA, USA
- Send PM
Next:
Code:sudo apt-get install tree tree /boot/efi
- Top
- Bottom
Comment
-
Pan-Galactic QuordlepleenSo Long, and Thanks for All the Fish
- Jul 2011
- 9524
- Seattle, WA, USA
- Send PM
-
Code:pat@Pats-Main:~$ tree /boot/efi /boot/efi ├── EFI │ ├── grubx64.efi │ ├── refind │ │ ├── drivers_x64 │ │ │ └── ext4_x64.efi │ │ ├── grubx64.efi │ │ ├── icons │ │ │ ├── arrow_left.icns │ │ │ ├── arrow_right.icns │ │ │ ├── boot_linux.icns │ │ │ ├── boot_win.icns │ │ │ ├── func_about.icns │ │ │ ├── func_exit.icns │ │ │ ├── func_firmware.icns │ │ │ ├── func_reset.icns │ │ │ ├── func_shutdown.icns │ │ │ ├── os_altlinux.icns │ │ │ ├── os_arch.icns │ │ │ ├── os_centos.icns │ │ │ ├── os_chrome.icns │ │ │ ├── os_debian.icns │ │ │ ├── os_ecomstation.icns │ │ │ ├── os_fatdog.icns │ │ │ ├── os_fedora.icns │ │ │ ├── os_freebsd.icns │ │ │ ├── os_freedos.icns │ │ │ ├── os_funtoo.icns │ │ │ ├── os_gentoo.icns │ │ │ ├── os_gummiboot.icns │ │ │ ├── os_haiku.icns │ │ │ ├── os_hwtest.icns │ │ │ ├── os_kubuntu.icns │ │ │ ├── os_legacy.icns │ │ │ ├── os_linux.icns │ │ │ ├── os_linuxmint.icns │ │ │ ├── os_lubuntu.icns │ │ │ ├── os_mac.icns │ │ │ ├── os_mandriva.icns │ │ │ ├── os_manjaro.icns │ │ │ ├── os_netbsd.icns │ │ │ ├── os_openbsd.icns │ │ │ ├── os_opensuse.icns │ │ │ ├── os_redhat.icns │ │ │ ├── os_refind.icns │ │ │ ├── os_refit.icns │ │ │ ├── os_slackware.icns │ │ │ ├── os_suse.icns │ │ │ ├── os_ubuntu.icns │ │ │ ├── os_unknown.icns │ │ │ ├── os_win.icns │ │ │ ├── tool_apple_rescue.icns │ │ │ ├── tool_memtest.icns │ │ │ ├── tool_mok_tool.icns │ │ │ ├── tool_part.icns │ │ │ ├── tool_shell.icns │ │ │ ├── tool_windows_rescue.icns │ │ │ ├── transparent.icns │ │ │ ├── vol_external.icns │ │ │ ├── vol_internal.icns │ │ │ └── vol_optical.icns │ │ ├── icons-backup │ │ │ ├── arrow_left.icns │ │ │ ├── arrow_right.icns │ │ │ ├── boot_linux.icns │ │ │ ├── boot_win.icns │ │ │ ├── func_about.icns │ │ │ ├── func_exit.icns │ │ │ ├── func_firmware.icns │ │ │ ├── func_reset.icns │ │ │ ├── func_shutdown.icns │ │ │ ├── os_altlinux.icns │ │ │ ├── os_arch.icns │ │ │ ├── os_centos.icns │ │ │ ├── os_chrome.icns │ │ │ ├── os_debian.icns │ │ │ ├── os_ecomstation.icns │ │ │ ├── os_fatdog.icns │ │ │ ├── os_fedora.icns │ │ │ ├── os_freebsd.icns │ │ │ ├── os_freedos.icns │ │ │ ├── os_funtoo.icns │ │ │ ├── os_gentoo.icns │ │ │ ├── os_gummiboot.icns │ │ │ ├── os_haiku.icns │ │ │ ├── os_hwtest.icns │ │ │ ├── os_kubuntu.icns │ │ │ ├── os_legacy.icns │ │ │ ├── os_linux.icns │ │ │ ├── os_linuxmint.icns │ │ │ ├── os_lubuntu.icns │ │ │ ├── os_mac.icns │ │ │ ├── os_mandriva.icns │ │ │ ├── os_manjaro.icns │ │ │ ├── os_netbsd.icns │ │ │ ├── os_openbsd.icns │ │ │ ├── os_opensuse.icns │ │ │ ├── os_redhat.icns │ │ │ ├── os_refind.icns │ │ │ ├── os_refit.icns │ │ │ ├── os_slackware.icns │ │ │ ├── os_suse.icns │ │ │ ├── os_ubuntu.icns │ │ │ ├── os_unknown.icns │ │ │ ├── os_win.icns │ │ │ ├── tool_apple_rescue.icns │ │ │ ├── tool_memtest.icns │ │ │ ├── tool_mok_tool.icns │ │ │ ├── tool_part.icns │ │ │ ├── tool_shell.icns │ │ │ ├── tool_windows_rescue.icns │ │ │ ├── transparent.icns │ │ │ ├── vol_external.icns │ │ │ ├── vol_internal.icns │ │ │ └── vol_optical.icns │ │ ├── keys │ │ │ ├── altlinux.cer │ │ │ ├── canonical-uefi-ca.der │ │ │ ├── fedora-ca.cer │ │ │ ├── openSUSE-UEFI-CA-Certificate.cer │ │ │ ├── refind.cer │ │ │ └── SLES-UEFI-CA-Certificate.cer │ │ ├── refind.conf │ │ ├── refind.conf-sample │ │ └── refind_x64.efi │ ├── tools │ └── ubuntu │ ├── grub.cfg │ ├── grubx64.efi │ ├── MokManager.efi │ └── shimx64.efi └── grubx64.efi 8 directories, 123 files pat@Pats-Main:~$ sudo dpkg -l | grep -i grub pat@Pats-Main:~$
Last edited by SteveRiley; Jan 04, 2014, 03:27 PM.
- Top
- Bottom
Comment
-
Pan-Galactic QuordlepleenSo Long, and Thanks for All the Fish
- Jul 2011
- 9524
- Seattle, WA, USA
- Send PM
Wow, so many copies of grubx64.efi. Weird. One more thing before we begin: have you disabled Secure Boot?
- Top
- Bottom
Comment
-
Pan-Galactic QuordlepleenSo Long, and Thanks for All the Fish
- Jul 2011
- 9524
- Seattle, WA, USA
- Send PM
Just copying files around is not the way to go. The .efi files need to be in certain places, and need to have matching entries in the NVRAM. Here's what I'd like you to do.
1. Clear out the entries for the "kubuntu" boot loaders.
Code:sudo efibootmgr -b 0004 -B sudo efibootmgr -b 0008 -B
Code:sudo rm /boot/efi/grubx64.efi /boot/efi/EFI/grubx64.efi /boot/efi/EFI/refind/grubx64.efi
Code:sudo rm -rfv /boot/efi/EFI/ubuntu
- Top
- Bottom
Comment
-
Pan-Galactic QuordlepleenSo Long, and Thanks for All the Fish
- Jul 2011
- 9524
- Seattle, WA, USA
- Send PM
Did you install rEFInd using the .deb file or the .zip file? Did you make any changes to the default /boot/efi/EFI/refind/refind.conf?
Please show:
Code:ls -al /boot lsblk
- Top
- Bottom
Comment
-
The deb file. I made no changes to any configs.
Give me a few more minutes, I'm still trying to fix boot on the main pc. I have to install and assemble raid0, ect al....Last edited by Buddlespit; Jan 04, 2014, 04:05 PM.
- Top
- Bottom
Comment
Comment