Contents
What kind of filesystem should I use to boot grub?
In theory, almost anything that both the Linux kernel and GRUB (or whatever boot loader you use) can read is suitable for /boot. Most distributions default to ext4fs, but I’ve used ext2fs, ext3fs, and XFS with no problems under Ubuntu.
How can I install GRUB 2 on my ESP?
It can be installed in any of three ways, depending on the way in which the program was compiled: The GRUB 2 EFI binary can be installed along with its support modules and configuration files on the ESP. The GRUB 2 EFI binary (grubx64.efi, typically) can be installed alone in its subdirectory of the ESP.
How big of a partition do I need for Grub?
It is standard-practice to have GRUB on a partition of its own – which is why most systems have a separate partition for /boot which will be around 200M or 300M. About the filesystem to be used, you can go with the regular ext4/3 filesystems. What filesystem types you should NOT use:
Can you use XFS filesystem for GRUB2?
You should not use XFS filesystem for GRUB2. Below given is the message I got when I tried to install grub2 in an XFS partition for the heck of it. grub2-install: error: hostdisk//dev/loop7 appears to contain a xfs filesystem which isn’t known to reserve space for DOS-style boot.
Why does boot grub rescue say unknown file system?
However, as shown in Grub rescue fails with “Boot Repair” with error “unknown file system”, it’s also possible that the root partition on which GRUB is installed could be corrupted. To fix this: This is a possible solution, but it should not be used likely lest your root partition become further corrupted.
What happens if I change the filesystem in Grub?
Thus, if you change the filesystem, that binary must be reconstructed, which is done by grub-install.
Is there a way to install Grub on GRUB2?
GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged.. grub2-install: error: will not proceed with blocklists. [root ~]# I use ext2 (more of a habit), you can use ext3, ext4 too for grub2, it is not that important.