[arch-dev-public] grub with ext4 support
Ronald van Haren
pressh at gmail.com
Mon Dec 29 05:45:11 EST 2008
On 12/29/08, Ronald van Haren <pressh at gmail.com> wrote:
> On Mon, Dec 29, 2008 at 12:15 AM, Pierre Schmitz <pierre at archlinux.de>
>> Am Sonntag 28 Dezember 2008 22:50:08 schrieb Ronald van Haren:
>>> On 12/28/08, Tobias Powalowski <t.powa at gmx.de> wrote:
>>> > Am Sonntag 28 Dezember 2008 schrieb Tobias Powalowski:
>>> >> Hi guys,
>>> >> http://dev.archlinux.org/~tpowa/grub/
>>> >> for testing purpose, i haven't tested it myself, if you guys agree in
>>> >> patching grub for ext4 support i can check it in to testing.
>>> >> greetings
>>> >> tpowa
>>> > Here is the request:
>>> > http://bugs.archlinux.org/task/12576
>>> > --
>>> > Tobias Powalowski
>>> > Archlinux Developer & Package Maintainer (tpowa)
>>> > http://www.archlinux.org
>>> > tpowa at archlinux.org
>>> woha, you just took an item of my todo list for this week.
>>> +1 for adding it to testing.
>>> Although grub2 should support ext4 (I did not test it) I think choice
>>> is always a good thing. Between now and a stable release of grub2
>>> there will probably be a great lot of people switching to ext4, so
>>> adding support for ext4 to grub should be the right thing to do imo.
>> I have checked this version of grub and it boots fine from ext4.
>> Attention: I
>> have also tested grub2 from extra, but it did not work. (after converting
>> my /
>> to ext4 grub2 was not able to install itself anymore)
> I will check into the grub2 issue in that case.
I just checked in a new snapshot which adds ext4 support to grub2.
Some things to note if you want to try:
* add 'rootfstype=ext4' to your kernel line in /boot/grub/grub.cfg if
you want to boot from ext4
* make sure you don't use autodetect in your initramfs image.
mkinitcpio is not able to correctly detect ext4. See also  for a
possible fix to mkinitcpio. Rebuild the image if you have to change
That should cover it I think. Let me know if you experience any issues.
More information about the arch-dev-public