You are not logged in.

#1 2014-12-27 19:34:04

tamimym
Member
Registered: 2014-12-27
Posts: 2

Tried replacing gummiboot with rEFInd, cannot detect boot media.

I wanted to change my UEFI boot manager from gummiboot to rEFInd. So I installed it and did a manual entry in refind.conf. I think I got confused with the wiki because my boot partition(/dev/sda1) is on /boot rather than /boot/efi. So I added this entry:

menuentry "Arch Linux" {
             volume    5E9E-54B7
             loader    /boot/vmlinuz-linux
             icon      /EFI/Boot/icons/os_arch.png
             initrd    /boot/initramfs-linux.img
             options   "root=/dev/sda2 rw initrd=/boot/intel-ucode.img"
}

Then I uninstalled gummiboot and rebooted.
When I rebooted, my computer couldn't detect my boot device so it didn't boot. I thought maybe I had been confused by the directories so I edited the entry:

menuentry "Arch Linux" {
             volume    5E9E-54B7
             loader    vmlinuz-linux
             icon      /EFI/Boot/icons/os_arch.png
             initrd    initramfs-linux.img
             options   "root=/dev/sda2 rw initrd=intel-ucode.img"
}

It didn't work. Still couldn't find the boot partition.  I need help fixing rEFInd.

vmlinuz-linux, initramfs-linux.img and intel-ucode.img are found in /boot.
refind.conf is in /boot/EFI/Boot.
BOOTX64.EFI is also in /boot/EFI/Boot.

If it helps, I also ran efibootmgr and got:

EFI variables are not supported on this system.

This is probably not a good thing. Not really sure what it means though.

Offline

#2 2014-12-27 19:36:18

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Tried replacing gummiboot with rEFInd, cannot detect boot media.

Post your previously working gummiboot entry for comparison.


Not an Installation issue, moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2014-12-27 19:49:02

tamimym
Member
Registered: 2014-12-27
Posts: 2

Re: Tried replacing gummiboot with rEFInd, cannot detect boot media.

My gummiboot entry was:

title          Arch Linux
linux          /vmlinuz-linux
initrd         /intel-ucode.img
initrd         /initramfs-linux.img
options        root=/dev/sda2 rw

Offline

#4 2014-12-27 19:54:17

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Tried replacing gummiboot with rEFInd, cannot detect boot media.

The paths are different between the two: /vmlinuz-linux (working in gummiboot) and /boot/vmlinuz-linux (not working in refind). This may be because the refind conf is in a different location, but you should ensure that the path is actually correct...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2014-12-27 20:06:12

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: Tried replacing gummiboot with rEFInd, cannot detect boot media.

Why are you replacing gummiboot in the first place?


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#6 2014-12-28 01:42:09

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,536

Re: Tried replacing gummiboot with rEFInd, cannot detect boot media.

rEFInd has several tools to configure and auto-detecting the installation. It would be good to revise your procedure with wiki handy.


do it good first, it will be faster than do it twice the saint wink

Offline

#7 2014-12-28 04:15:43

Buddlespit
Member
From: Chesapeake, Va.
Registered: 2014-02-07
Posts: 507

Re: Tried replacing gummiboot with rEFInd, cannot detect boot media.

Mr.Elendig wrote:

Why are you replacing gummiboot in the first place?

Why not? That's the beauty of Linux in general... you can do whatever your heart desires. And if you screw it up, there's usually someone who's also tried it and has figured it out or has tried it and says it can't be done.


An old man, trying to stay sane

Offline

#8 2014-12-29 13:47:33

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: Tried replacing gummiboot with rEFInd, cannot detect boot media.

Also, you can have BOTH gummiboot and rEFInd installed at the same time. Obviously, only one will boot at a time, but you don't have to uninstall one to test/use the other.


Matt

"It is very difficult to educate the educated."

Offline

#9 2014-12-30 03:11:13

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,536

Re: Tried replacing gummiboot with rEFInd, cannot detect boot media.

mrunion wrote:

Also, you can have BOTH gummiboot and rEFInd installed at the same time

That's true.
The option remains to choose it from the BIOS menu.
So at certain point every software can boot. My choice was to get the first of the list, the BIOS, three entry there and all is done


do it good first, it will be faster than do it twice the saint wink

Offline

Board footer

Powered by FluxBB