You are not logged in.

#1 2016-05-12 15:46:54

Thorvald
Banned
Registered: 2015-10-27
Posts: 59

Stuck in enabling microcode Intel updates

I am at the step "Install a bootloader" from the Begginers' guide of arch.

I installed system-dboot without problems, I guess.

Now I have to enable microcode updates following https://wiki.archlinux.org/index.php/Mi … de_updates

I have two questions:

1. I have to add  /boot/intel-ucode.img as the first initrd in the bootloader config file. This is in addition to the normal initrd file.

So I want to know where is the "bootloader config file", and where is the "normal initrd file".

2. Since I installed system-dboot, I have to use the initrd option twice in /boot/loader/entries/entry.conf.

However, when I want to edit "entry".conf, there's no files to edit in this directory, so my question is what is the name that I have
to give it to this "entry".conf?

Extra:

I remeber mounted the EFI partition at /mnt/boot.

Last edited by Thorvald (2016-05-12 15:48:17)

Offline

#2 2016-05-12 16:16:26

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,612

Re: Stuck in enabling microcode Intel updates

1. 
systemd boot loader configuration files are in /boot/loader/entries/
The 'normal' initrd from inside your Arch Linux system /boot/vmlinuz-linux; but from the point of view of the boot loader it is just /vmlinuz-linux

ewaller@turing/home/ewaller % cat  /boot/loader/entries/arch.conf
title Arch Linux
linux /vmlinuz-linux
initrd /intel-ucode.img
initrd /initramfs-linux.img
options root=/dev/sda6 rw acpi_backlight=native


ewaller@turing/home/ewaller %

2.
You lost me.  What is the output of find /boot


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2016-05-12 16:31:35

Thorvald
Banned
Registered: 2015-10-27
Posts: 59

Re: Stuck in enabling microcode Intel updates

After creating the file arch.conf.

2. I have:

/boot/
/boot/vmlinuz-linux
/boot/initramfs-linux.img
/boot/initramfs-linux-fallback.img
/boot/intel-ucode.img
/boot/EFI
/boot/EFI/systemd/systemd/system-bootx64.efi
/boot/EFI/Boot
/boot/EFI/Boot/BOOTX64.EFI
/boot/loader
/boot/loader/entries
/boot/loader/entries/arch.config
/boot/loader/loader.conf

Last edited by Thorvald (2016-05-12 16:32:10)

Offline

#4 2016-05-12 16:34:31

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,694

Re: Stuck in enabling microcode Intel updates

Wait a minute, creating the arch.conf? If you didn't have it before, how are you booting your system?

Offline

#5 2016-05-12 16:35:58

Thorvald
Banned
Registered: 2015-10-27
Posts: 59

Re: Stuck in enabling microcode Intel updates

I haven't rebooted the system. The last time I did I switched from the arch image to the root via arch-root.

Offline

#6 2016-05-12 16:39:05

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,694

Re: Stuck in enabling microcode Intel updates

Ah, no wonder you were confused. You need to start here: https://wiki.archlinux.org/index.php/Systemd-boot before getting into the microcode part.

Offline

#7 2016-05-12 16:47:57

Thorvald
Banned
Registered: 2015-10-27
Posts: 59

Re: Stuck in enabling microcode Intel updates

Well, the only thing that differs from your link is that in /boot/EFI/systemd/ I have only systemd-bootx64.efi,
I am missing BOOTX64.EFI, but I suppose this is not necessary (right?)

Also I have created the file /boot/loader/loader.conf as it is suggested in your link.

On rebooting it returns:

Failed to open file: intramfs-linux.img
Trying to load files to higher address
Failed to open file: intramfs-linux.img

Last edited by Thorvald (2016-05-12 16:52:54)

Offline

#8 2016-05-12 17:15:52

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,612

Re: Stuck in enabling microcode Intel updates

I think /boot/loader/entries/arch.config should be /boot/loader/entries/arch.conf, but it may not matter.
What are the contents of that file?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#9 2016-05-13 17:29:05

Thorvald
Banned
Registered: 2015-10-27
Posts: 59

Re: Stuck in enabling microcode Intel updates

I copied (created by hand) the arch.config, from another arch machine,  as follows:

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

It boots now, strangely o.o

Offline

#10 2016-05-13 21:10:39

betseg
Member
From: Turkey
Registered: 2015-04-25
Posts: 182

Re: Stuck in enabling microcode Intel updates

BTW,

Wiki page Microcode#Enabling_Intel_microcode_updates wrote:

These updates must be enabled by adding /boot/intel-ucode.img as the first initrd in the bootloader config file. This is in addition to the normal initrd file. See below for instructions for common bootloaders.

Offline

#11 2016-06-08 00:05:58

rabarrett
Member
Registered: 2012-07-05
Posts: 99

Re: Stuck in enabling microcode Intel updates

Thorvald wrote:

Well, the only thing that differs from your link is that in /boot/EFI/systemd/ I have only systemd-bootx64.efi,
I am missing BOOTX64.EFI, but I suppose this is not necessary (right?)

Also I have created the file /boot/loader/loader.conf as it is suggested in your link.

On rebooting it returns:

Failed to open file: intramfs-linux.img
Trying to load files to higher address
Failed to open file: intramfs-linux.img

Note it appears the solution was fixing your typo:
It should not be

intramfs-linux.img

but rather

initramfs-linux.img

However, I'm happy you made that error because it was finding your article (by searching for "failed to open file: intramfs-linux.img") that led me to notice that I also made this typo.
Isn't that what actually solved this problem?

Offline

Board footer

Powered by FluxBB