User Tools

Site Tools


linux:grub

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
linux:grub [2024/04/26 09:21] mslinux:grub [2025/05/20 16:10] (current) ms
Line 46: Line 46:
 ... ...
 </code> </code>
 +
 +====== Minimal grub config (EFI) ======
 +<code>
 +set default="0"
 +set timeout="5"
 +
 +insmod gpt
 +insmod part_gpt
 +insmod fat
 +insmod chain
 +
 +menuentry "GNU/Linux" {
 +    set root=(hd0,gpt2)
 +    linux /boot/vmlinuz-6.6.15-amd64 root=/dev/sda2 ro
 +    initrd /boot/initrd.img-6.6.15-amd64
 +}
 +
 +menuentry "EFI Boot" {
 +    set root=(hd0,gpt1)
 +    chainloader /EFI/Boot/bootx64.efi
 +}
 +</code>
 + 
linux/grub.txt · Last modified: 2025/05/20 16:10 by ms

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki