Libreboot
- Inicie sesión ou rexístrese para enviar comentarios
Currently was trying to build libreboot and ran into this issues.
Think pad x200 with coreboot using seabios on rom chip. Bios sees the Trisquel usb upon selecting it get a getgfx error. However when trying to build lmbk I get this error on Debian 12.
All I am trying to do is install Trisquel oh I using the trisquel mini iso on the usb stick.
Hello . Why don't you want to install Gnuboot on your laptop? It is in the list https://ftp.gnu.org/gnu/gnuboot/gnuboot-0.1-rc3/roms/
Regarding your question, try this:
patrick@debian:~/lbmk$ sudo ./build dependencies debian
[ ] gnuboot-0.1-rc3_x200_4mb.tar.xz 2023-12-30 18:49 1.1M
[ ] gnuboot-0.1-rc3_x200_4mb.tar.xz.sig 2023-12-30 18:49 228
[ ] gnuboot-0.1-rc3_x200_8mb.tar.xz 2023-12-30 18:49 1.1M
[ ] gnuboot-0.1-rc3_x200_8mb.tar.xz.sig 2023-12-30 18:49 228
[ ] gnuboot-0.1-rc3_x200_16mb.tar.xz 2023-12-30 18:49 1.9M
[ ] gnuboot-0.1-rc3_x200_16mb.tar.xz.sig 2023-12-30 18:49 228
Bios sees the Trisquel usb upon selecting it get a getgfx error.
This problem also occurs with Libreboot and derived software. I have (or had) it on all of them.
All I am trying to do is install Trisquel
When you get this message, press ESC, or other keys. You will get some message (long to read), if you do nothing the computer will very soon boot Trisquel from the live USB, then double click on the "Install Trisquel" icon on the desktop and proceed with installation.
Be aware that Libreboot/Canoeboot make a lot of changes at each release and frequent releases, so the risk of new bug is high. My suggestion would be not to change your boot software if you don't have any other problem with it. Otherwise, you may try Canoeboot 20231107 (I use it on Dell E6400 with Trisquel and it works very well). Also, use the SeaBIOS payload (like you have now), this is much easier.
Hi
This error reported by the OP is caused by a regression, which was accidentally introduced during the current ongoing audit (Libreboot Build System Audit 6).
I've fixed it now. See patch:
https://browse.libreboot.org/lbmk.git/commit/?id=d5baaff0ec66a49ad3305a7f3d06ef4280fa00e0
If you pull down the latest commit ID from lbmk.git, this should be fixed now and you can install the dependencies.
I've also merged this fix in cbmk (Canoeboot build system).
EDIT: And as for Trisquel booting:
Use the GRUB payload, not SeaBIOS, to boot the installer and also the installed system. If you want to go straight to GRUB at boot, choose an image with a filename ending in "grubfirst.rom". Otherwise, press ESC when prompted in SeaBIOS, and you see bootselect where GRUB is one of the options (GRUB from flash, as a coreboot payload).
After Libreboot 20240504, Libreboot no longer uses GRUB as a primary payload, but can chainload it from SeaBIOS. The "grubfirst" ROM image has a bootorder file in CBFS that makes GRUB boot first, while still allowing you to access the SeaBIOS bootselect menu pressing ESC first. This is part of a series of mitigations against the bug reported in lbmk issue #216, and it guards against future issues due to the sheer complexity of GRUB (I regard SeaBiOS as inherently reliable, due to its small code size, relatively fewer bug reports and much more conservative development style versus GRUB, so now SeaBIOS is primary on all setups but can chainload GRUB if you wish).
The reason for the gfx error in SeaBIOS is that Libreboot does not implement most of the legacy VGA modes, which Trisquel's bootloader tries to use. SeaBIOS executes Trisquel's GRUB; use of the GRUB payload in flash mitigates this, by only parsing Trisquel GRUB configuration, while booting the kernel directly which does its own modesetting.
If you do want to boot Trisquel purely with SeaBIOS, you could try this:
in /etc/default/grub uncomment the line:
GRUB_TERMINAL=console
or add that line
Then as root, do:
export PATH="$PATH:/sbin"
update-grub
This will make Trisquel's GRUB not attempt to set modes, and it'll just run in whatever mode was set at boot (by Libreboot's coreboot).
Also see:
Okay thanks, should it be stuck at a boot: prompt
I don't understand your question, but you should be able to boot Trisquel just fine. I sometimes get people who request it on machines I sell (with Libreboot). Use the guidance in my previous post and it should work.
Leah, do on your channel tripcode!Q/7 => https://invidious.protokolla.fi/channel/UCZrrEuHiQjN2CUo84g5tk7w Install Libreboot 20240612 ONE time (step by step), tell us about the changes you made, tell me how you write here that the previous installation methods do not work every time when some user on reddit https://discuss.whatever.social/r/libreboot/comments/1dm1gwv/how_to_update_libreboot_on_t440p/ or other channels where you are registered ask you a question: How to install Libreboot, give them this link to your video! This will make everyone's life 100 times easier!
or there will always be a lot of such unanswered questions, apparently he did not turn on intelligence
https://discuss.whatever.social/r/libreboot/comments/1cxg3qo/error_when_flashing_thinkpad_t420/ and this one too https://discuss.whatever.social/r/libreboot/comments/1cxkm7d/anyone_librebooted_thinkpad_w530/ ))
This is on your channel in 2024, the user responds to each other that they need to install flashrom))
https://discuss.whatever.social/r/libreboot/comments/1cu0efg/first_time_libreboot_kinda_lost/
Apparently they didn’t turn on the intelligence either))
FYI, the OP has managed to solve their problem with my guidance, and they now have a perfectly working machine.
As for reddit, other people already help there, but I advise that anyone who needs help comes to libreboot's IRC channel, where plenty of knowledgeable people are usually online.