You are not logged in.
hi, everyone
I had install archlinux.
In the arch-wiki, "Sync EFISTUB Kernel in UEFISYS partition using Systemd"
when i done..
# systemctl enable efistub-update.path
then
# systenctl status efistub-update.path
return:
Loaded: loaded(percorso...;enabled)
Active: inactive(dead)
when i done
system start efistub-update.path
return:
"Job for efistub-update.path failed"
help please
Offline
Depending on your system configuration, this may no longer be necessary. There's now an ext4fs driver for EFI, so if your kernel is on an ext4fs partition, you may be able to load that driver and read your kernel directly from your kernel's "natural habitat," as it were. This works most smoothly with rEFInd, which supports loading drivers, but it might work with gummiboot if you use a boot-time shell script to load the driver and launch gummiboot, or if your firmware provides a user interface to load drivers before launching your boot loader.
Unfortunately, this won't help if you're using another filesystem (JFS, XFS, or Btrfs) or if your ext4fs root (or /boot) filesystem is in a RAID or LVM setup. Even in these cases, though, you could use a separate /boot partition with FAT, HFS+, ext2fs, ext3fs, or ReiserFS.
Offline
As far as I can tell, this driver is not yet available in Arch. (Maybe in testing.) At least, I have:
$ ls /usr/lib/refind/drivers_x64/
ext2_x64.efi hfs_x64.efi iso9660_x64.efi reiserfs_x64.efi
which I guess means that my version doesn't yet feature this driver. (I installed refind-efi yesterday and did pacman -Syu today but I do not use testing.)
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
Please use [code ] [/code ] tags (w/o the spaces).
system start efistub-update.path
First, it should be
systemctl start efistub-update.path
Second, did you create the files this needs? What does:
cat /etc/systemd/system/efistub-update.*
give?
Note: I set this up yesterday for both the standard and LTS kernels following the wiki. I then updated the LTS kernel and checked things got properly synced. So the instructions definitely should work. (The LTS kernel is not relevant unless you installed it. I just mention it as that's the one which was updated.)
Last edited by cfr (2012-12-19 03:10:01)
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
As far as I can tell, this driver is not yet available in Arch. (Maybe in testing.) At least, I have:
$ ls /usr/lib/refind/drivers_x64/ ext2_x64.efi hfs_x64.efi iso9660_x64.efi reiserfs_x64.efi
which I guess means that my version doesn't yet feature this driver. (I installed refind-efi yesterday and did pacman -Syu today but I do not use testing.)
You can always grab it from the official rEFInd package. Even if you install the Arch package for rEFInd itself, dropping the driver file from my own rEFInd build onto your ESP should work fine. Alternatively, you could just wait; I'm sure the Arch package will be updated soon.
Offline
I can wait - I was just pointing out that the driver might not be in the current Arch installation.
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
As far as I can tell, this driver is not yet available in Arch. (Maybe in testing.) At least, I have:
$ ls /usr/lib/refind/drivers_x64/ ext2_x64.efi hfs_x64.efi iso9660_x64.efi reiserfs_x64.efi
which I guess means that my version doesn't yet feature this driver. (I installed refind-efi yesterday and did pacman -Syu today but I do not use testing.)
You can use aur/refind-efi-git pkg.
Offline
As far as I can tell, this driver is not yet available in Arch. (Maybe in testing.)
The updated driver has arrived in testing: https://www.archlinux.org/packages/test … efind-efi/
Under "Package Contents" you will find:
usr/lib/refind/drivers_x64/ext2_x64.efi
usr/lib/refind/drivers_x64/ext4_x64.efi
usr/lib/refind/drivers_x64/hfs_x64.efi
usr/lib/refind/drivers_x64/iso9660_x64.efi
usr/lib/refind/drivers_x64/reiserfs_x64.efi
But I have to ask: Does that mean that I no longer need "efistub-update.path" and "efistub-update.service" to be managed by systemd? If so, how does it work then to tell rEFInd that a new kernel has arrived?
Last edited by swordfish (2012-12-20 11:11: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
But I have to ask: Does that mean that I no longer need "efistub-update.path" and "efistub-update.service" to be managed by systemd? If so, how does it work then to tell rEFInd that a new kernel has arrived?
Be aware that, although I'm rEFInd's maintainer, I only have "one toe in the pool" as far as Arch goes. (I've got an Arch installation in a virtual machine, but it's fairly new, and I'm not yet very familiar with the Arch kernel update process.)
If rEFInd can read your kernels where they naturally "live," and if a new kernel replaces an old one, then no reconfiguration is required; rEFInd simply detects the new kernel and uses it instead of the old one.
If a kernel update results in a new kernel file, so that you've got two (or more) kernels, then it gets tricky, since rEFInd then can't distinguish which initrd file should be associated with any given kernel. In that case, you'd need some way to separate the kernels into different directories or create a manual configuration of some sort.
Offline
But you could use a static configuration to distinguish the two kernels and avoid having to copy them to the EFI partition, right? So it should avoid the need for the update service even in that case.
(I always have 2 arch kernels installed - the regular one and the LTS one just in case.)
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
But you could use a static configuration to distinguish the two kernels and avoid having to copy them to the EFI partition, right? So it should avoid the need for the update service even in that case.
Yes. You can do just about anything with manual boot stanzas in refind.conf. Their main drawbacks are the need to set them up manually and the fact that they don't dynamically track anything that changes (new kernels under new names, for instance). If your kernels' filenames remain constant, even if their contents change, then manual boot stanzas make a lot of sense.
Offline