You are not logged in.
Pages: 1
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
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
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.confLast edited by Thorvald (2016-05-12 16:32:10)
Offline
Wait a minute, creating the arch.conf? If you didn't have it before, how are you booting your system?
Offline
I haven't rebooted the system. The last time I did I switched from the arch image to the root via arch-root.
Offline
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
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.imgLast edited by Thorvald (2016-05-12 16:52:54)
Offline
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
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 rwIt boots now, strangely o.o
Offline
BTW,
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
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.imgbut rather
initramfs-linux.imgHowever, 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
Pages: 1