English / Deutsch | Print version Plop Linux  

<< Previous
EFI - General remarks, Kernel, efibootmgr, Grub2

Table of Contents

Next >>
Benchmark tools

Grub2 - BIOS


You can use Grub2 instead of LILO as boot manager. This description belongs to BIOS/MBR systems. For EFI/GPT systems see EFI - General remarks, Kernel, efibootmgr, Grub2.


40_custom


Add your own entries to the file '/etc/grub.d/40_custom'.

This is an example for '/etc/grub.d/40_custom'.

#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.

insmod ext2
set root='(hd0,1)'

menuentry "Plop Linux" {
    linux /boot/bzImage root=/dev/sda1
}

menuentry "Plop Boot Manager 5" {
    linux16 /boot/plop/plpbt.bin
}

menuentry "PlopKexec" {
    linux /boot/plop/plopkexec
}

menuentry "Memtest" {
    linux16 /boot/memtest/memtest
}    
    

grub.cfg


To create or update the Grub2 configuration run 'grub-mkconfig -o /boot/grub/grub.cfg'.


Install Grub2


To install Grub2 to the MBR run 'grub-install /dev/sda'.




<< Previous
EFI - General remarks, Kernel, efibootmgr, Grub2

Table of Contents

Next >>
Benchmark tools


© 2024 by Elmar Hanlhofer