> For the complete documentation index, see [llms.txt](https://open-rt.gitbook.io/open-surfacert/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://open-rt.gitbook.io/open-surfacert/development/please-read/grub2-booting-notes.md).

# GRUB2 Booting Notes

{% hint style="success" %}

## Booting Linux with grub is now possible. (But UEFI shell is normally used)

{% endhint %}

Starting from Linux Kernel 5.0, it is now possible to enable FrameBuffer.\
This can be configured in grub with

{% code title="grub\_cfg" %}

```
set grub_mm_debug=1
insmod efi_gop
insmod efi_uga
earlycon=efifb,mem
```

{% endcode %}

More here - \
<https://forum.xda-developers.com/windows-8-rt/rt-development/wip-secure-boot-linux-surface-rt-t3653848/page13>

## EFISTUB (Kernel booting)

{% hint style="danger" %}
The information bellow is outdated. Visit [EFI linux booting](/open-surfacert/development/please-read/leander-devnotes/efi-linux-booting.md) for information on how to compile & boot a working linux kernel.
{% endhint %}

![](https://2395005476-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MJQb34R_xPz0ll0scbM%2F-MJR_YYSXk3AA08S3H0y%2F-MJRaKta8swjlwnFGbVe%2Fimage.png?alt=media\&token=89c9f689-38fa-455e-8d44-e2cf5bf40146)

As we are "stuck" inside Microsofts bootarm.efi -> ContextSwitcher -> grub.
