Re: lfs 12.3-rc1: 10.4. Using GRUB to Set Up the Boot Process
"Bruce Dubbs" ([email protected] via lfs-support Mailing List) <[email protected]> Sat, 22 Feb 2025 00:07:34 -0600
| Newsgroups | gmane.linux.lfs.support |
|---|---|
| Message-ID | <[email protected]> |
On 2/21/25 11:20 PM, Hans Meier ([email protected] via lfs-support Mailing List) wrote: > Hello, > > In '10.4.4. Creating the GRUB Configuration File' a new configuration > parameter has been added: set gfxpayload=1024x768x32 > > Using qemu on the final image results in a black screen unfortunately. > Without this parameter everything works fine. > > qemu-system-x86_64 -m 800 -drive file=image.img > > Was there any particular reason adding this parameter end of October 2024? It's in the command explanations. The set gfxpayload=1024x768x32 command sets the resolution and color depth of the VESA framebuffer to be passed to the kernel. It's necessary for the kernel SimpleDRM driver to use the VESA framebuffer. You can use a different resolution or color depth value which better suits for your monitor. You do not have qemu set up to support this. You can try passing -vga std to qemu or just remove the gfxpayload line. Also see https://www.gnu.org/software/grub/manual/grub/html_node/gfxpayload.html -- Bruce -- http://lists.linuxfromscratch.org/sympa/info/lfs-support Unsubscribe: See the above information page