Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'm about to setup my new USB key with Grub or Grub2. In the old days I used ext2 for the boot partition.

I'm wondering if I could use ext4 for Grub2?

And if use Grub 0.9X, what about support of ext3?

share|improve this question
add comment

1 Answer 1

up vote 3 down vote accepted

Grub legacy (0.9x) supports ext2 and ext3 (ext3 is backward compatible with ext2) but not ext4 (unless you've turned off the backward-incompatible features, which doesn't leave much additional goodness compared with ext3). The development of Grub legacy stopped before ext4 was mature. There are unofficial patches to support ext4 on Grub legacy; the discussion on Debian bug #511121 has a pointer to two patches (one of which is in some versions of Ubuntu).

Grub2 (1.9x, more precisely since 1.97) supports ext2, ext3 and ext4, with the same module (ext2.mod).

None of the new features of ext4 are particularly useful for a separate /boot partition, so if that's what you have, you might as well stick to ext2. But if you keep your kernel and Grub configuration on the root partition, if it's ext4, make sure your Grub version is recent enough or patched.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.