Artix Linux Forum

Artix Linux => Installation / Migration / Configuration => Topic started by: fried0 on 10 May 2021, 08:16:43

Title: Issues with Libreboot
Post by: fried0 on 10 May 2021, 08:16:43
I have a Lenovo Thinkpad X200 shipped with Libreboot. After installing Artix Linux runit on it and rebooted the following message appears when booting to the OS:


Code: [Select]
Booting `Load Operating System (incl. fully encrypted disks) 

error: disk `ata0' not found.
error: disk `lvm/matrix-rootvol' not found.
error: disk `lvm/matrix-boot' not found.
error: no such partition.
error: disk `ata0,1' not found.
error: no such partition.
error: disk `ata0,2' not found.
error: no such partition.
error: disk `ata0,3' not found.
error: no such partition.
error: disk `ata0,4' not found.
error: disk `ata0,5' not found.
error: disk `ahci1,1' not found.
error: disk `ata1,1' not found.
error: disk `ahci1,2' not found.
error: disk `ata1,2' not found.
error: disk `ahci1,3' not found.
error: disk `ata1,3' not found.
error: disk `ahci1,4' not found.
error: disk `ata1,4' not found.
error: disk `ahci1,5' not found.
error: disk `ata1,5' not found. 
Press any key to continue...

Also when booting from USB i get the message

Code: [Select]
error: file '/boot/grub/i386-coreboot/font.mod' not found
before I get to the normal boot menu.


I've seen a thread (https://www.reddit.com/r/libreboot/comments/a82ule/issues_with_parabola/) on the problem on reddit and it is basically the same but with Parabola but as a complete newbie I have no clue what to do and therefore this guide (https://libreboot.org/docs/gnulinux/grub_cbfs.html) didn't help.

I have set up my Artix according to the Artix Installation Guide with sda1 as BOOT, sda2 SWAP, sda3 root and sda4 home and I didn't use encryption

Thanks in advance your help would be greatly appreciated.
Title: Re: Issues with Libreboot
Post by: jrballesteros05 on 10 May 2021, 13:17:32
Hi, honestly I am looking for a Libreboot machine too but I can't at the moment. Related about your problem I suggest you to boot the system manually. With the information you gave, which I assume you have a GPT partition, and the grub.cfg I have I guess you should follow these steps: 

1. Press "c" and then type.

Code: [Select]

grub> set root=(hda0,gpt1)
grub> linux /vmlinuz-linux root=/dev/sda3
grub> initrd  /initramfs-linux.img
grub> boot


2. Now you have booted the system manually you should read the steps given by Libreboot.

Title: Re: Issues with Libreboot
Post by: alium on 10 May 2021, 13:58:54
You just copied grub.cfg?  Without editing it for your computer?  or what you did? please more precise explain what you did and how you configured your system (MBR vs. GPT, etc.), thank you... ;)
Title: Re: Issues with Libreboot
Post by: jnv on 10 July 2021, 06:14:59
I successfully booted a new OpenRC installation today using libreboot.

First step was to build and update the ROM to the 20210522 release (for me, it was because I want to use Luks2 for security reasons). I’ll write up how I did this one day as well.

In libreboot grub menu, press ‘c’ to enter command line, then execute following commands (you could also use these to write a grub.cfg to add to the libreboot payload)

> cryptomount (ahci0,gpt1) ## or whatever your encrypted partition is

> insmod ext2
> insmod lvm
> set root=‘lvm/matrix-rootvol’ ## or whatever your root lvm volume is

> linux /boot/vmlinuz-linux cryptdevice=/dev/sda1:lvm ##higly recommend changing to UUID for permanent grub.cfg## loglevel=3 quiet resume=/dev/matrix/swapvol root=/dev/matrix/rootvol iomem=relaxed net.ifnames=0

> initrd /boot/initramfs-linux.img
> boot