User Tools

Site Tools


wiki:boot_debian_8_jessie_extlinux_bootloader_instead_grub

Boot Debian 8 Jessie with extlinux bootloader instead of GRUB

Remove GRUB and install extlinux:

apt purge grub-pc grub-common grub-pc-bin grub2-common && rm -rf /boot/grub/ && apt install extlinux syslinux-common

If /boot is not on separate partition:

extlinux --install /boot

Otherwise:

extlinux --install /boot/extlinux

Overwrite GRUBs master boot record:

dd if=/usr/lib/syslinux/mbr/mbr.bin of=/dev/sda bs=440 count=1

For boot menu copy:

cp /usr/lib/syslinux/modules/bios/menu.c32 / # text menu

OR

cp /usr/lib/syslinux/modules/bios/vesamenu.c32 / # graphical menu
cp /usr/lib/syslinux/modules/bios/lib* /

Create /extlinux.conf in / . Example conf:

default linuxAAA
label linuxAAA
   kernel vmlinuz
   append initrd=initrd.img root=/dev/sda1 ro quiet

label stari kernel
   kernel vmlinuz.old
   append initrd=initrd.img.old root=/dev/sda1 ro quiet

timeout 60

ui vesamenu.c32

If stuck in boot> menu prompt use:

vmlinuz initrd=initrd.img root=/dev/sda1

to boot images linked in / directory on /dev/sda1.

Tested on

See also

References

wiki/boot_debian_8_jessie_extlinux_bootloader_instead_grub.txt · Last modified: 2022/09/28 11:37 by antisa

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