You are not logged in.

#1 2013-01-02 21:01:15

swordfish
Member
Registered: 2012-01-14
Posts: 160

[SOLVED] How to handle new refind-efi package?

Hi there,

I'm using Arch with UEFI and rEFInd as bootloader. The setup is working and it is running pretty well. But I have a question regarding updates of the refind-efi package.

If an update of refind-efi is presented by some "pacman -Syu" I am doing this (as is explained in the Wiki):

1.

# cp /usr/lib/refind/refindx64.efi $esp/EFI/refind/refindx64.efi

2.

# cp /usr/lib/refind/config/refind.conf $esp/EFI/refind/refind.conf

3.

# cp -r /usr/share/refind/icons $esp/EFI/refind/icons

Now my question: Do I have to create a new entry for rEFInd, too?

I mean, every time pacman delivers a new update for refind-efi, do I have to type:

# modprobe efivars
# efibootmgr -c -g -d /dev/sda -p 1 -w -L "rEFInd" -l '\EFI\refind\refindx64.efi'

Until now I did it every time a new update appeared. But this makes me wonder:

$ sudo modprobe efivars
$ sudo efibootmgr -v
BootCurrent: 0003
Timeout: 5 seconds
BootOrder: 0003,0002,0004,0000,0001
Boot0000* rEFIND    HD(1,800,100000,0c483db9-c73b-48a5-ace9-f4cf4dfa78a9)File(\EFI\refind\refindx64.efi)
Boot0001* Hard Drive     BIOS(2,0,00)AMGOAMNO........o.S.A.M.S.U.N.G. .S.S.D. .8.3.0. .S.e.r.i.e.s....................A...........................>..Gd-.;.A..MQ..L.0.S.2.Z.S.N.C.A.0.8.2.2.1.1. . . . . . ......AMBO
Boot0002* rEFInd    HD(1,800,100000,0c483db9-c73b-48a5-ace9-f4cf4dfa78a9)File(\EFI\refind\refindx64.efi)
Boot0003* rEFInd    HD(1,800,100000,0c483db9-c73b-48a5-ace9-f4cf4dfa78a9)File(\EFI\refind\refindx64.efi)
Boot0004* rEFInd    HD(1,800,100000,0c483db9-c73b-48a5-ace9-f4cf4dfa78a9)File(\EFI\refind\refindx64.efi)

It looks as if I could delete Boot0002*, Boot0003* and Boot0004* - or am I wrong?

Last edited by swordfish (2013-01-03 10:54:35)


Arch_x64 on Thinkpad Edge E520 (Intel Core i5, 4 GB RAM, 128 GB Crucial M4 SSD) + ITX-Desktop (Asrock H77M-ITX, Intel Core i3-2120T, 8GB RAM, 64 GB Samsung 830 SSD)

Offline

#2 2013-01-02 21:04:38

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,168

Re: [SOLVED] How to handle new refind-efi package?

You are right. And you don't need to add a new entry each time.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#3 2013-01-02 21:17:42

swordfish
Member
Registered: 2012-01-14
Posts: 160

Re: [SOLVED] How to handle new refind-efi package?

cfr wrote:

You are right. And you don't need to add a new entry each time.

Sounds good - thanks a lot wink


Arch_x64 on Thinkpad Edge E520 (Intel Core i5, 4 GB RAM, 128 GB Crucial M4 SSD) + ITX-Desktop (Asrock H77M-ITX, Intel Core i3-2120T, 8GB RAM, 64 GB Samsung 830 SSD)

Offline

Board footer

Powered by FluxBB