Which is file system should a GRUB 2 boot partition use?

Which is file system should a GRUB 2 boot partition use?

Nowdays on modern Linux distros ext2, ext3 and ext4 are equally supported so it means you can use one of them. What filesystem should /boot be?

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 a grub release boot from a XFS partition?

But it’s a fact that GRUB release cannot boot from XFS as of this writing. 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.

Why is there an error when installing GRUB2?

grub2-install: error: hostdisk//dev/loop7 appears to contain a xfs filesystem which isn’t known to reserve space for DOS-style boot. Installing GRUB there could result in FILESYSTEM DESTRUCTION if valuable data is overwritten by grub-setup (–skip-fs-probe disables this check, use at your own risk).

Why is my Grub file not showing partitions?

If GRUB can identify the partitioning type, it should list the partitions and their filesystem types if they’re known to GRUB. Your problem could be that GRUB is expecting its configuration file to be in /grub/grub.cfg, not in /boot/grub/grub.cfg, and likewise for the module directory.

What does unknown filesystem mean in Linux Grub?

If you get an “error: unknown filesystem” this is not your Ubuntu partition. If this is the Ubuntu partition, you will see the Ubuntu folders, including lost+found/, home/, boot/ and vmlinuz and initrd.img.

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.

Which is the default version of Grub in Linux?

There are currently two Grub versions: Grub1 which is also known as Grub Legacy (versions 0.9x) is still the default on most of the Linux distributions. It works well, but it’s not maintained any more, so each Linux distribution has a particular Grub1 version with their own modifications.