Grub2 - BIOSYou 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_customAdd 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.cfgTo create or update the Grub2 configuration run 'grub-mkconfig -o /boot/grub/grub.cfg'. Install Grub2To install Grub2 to the MBR run 'grub-install /dev/sda'.
© 2024 by
Elmar Hanlhofer |