GRUB vs GRUB2
GRUB2 is a rewrite of legacy GRUB with many great updates, specially speed and security.
- Configuration file has a new name
grub.cfg replaced menu.lst , and configuration cannot be migrated from GRUB menu.lst to GRUB grub.cfg - New Commands
Many new commands are added to GRUB2 which can be found in the link - grub.cfg gets automatically generatedThe file get automatically generated by grub-mkconfig This makes it easier to handle versioned kernel upgrades.
- The configuration has updated syntax The syntax used in grub.cfg includes variables , conditionals, and loops something similar to scripting language.
- Finding GRUB2 Kernel Files GRUB2 has more reliable ways to find its own files and those of target kernels on multiple-disk systems
- GRUB2 Multiple types GRUB2 is available for multiple system such as PowerPC , PC BIOS, EFI , SPARC , MIFS
- Many more file system supported GRUB2 supports many more file systems as compared to GRUB
- GRUB2 reads It can read files from LVM and RAID directly.
- Graphical GRUB2 has graphical terminal and graphical menu.
- Modular design GRUB 2 puts many facilities in dynamically loaded modules, allowing the core image to be smaller