You are not logged in.

#1 2009-01-22 03:46:47

superchango
Member
From: Tenochtitlan
Registered: 2009-01-22
Posts: 133

[Solved] Grub Error 13, ext4 and 2.6.28.1

Hi guys!!!

I have formatted my laptop disk in new ext4 format, following wiki instructions:
http://wiki.archlinux.org/index.php/Cre … _Partition

and all wok fine.

But after today update (pacman -Syu), my arch don't boot.

Grub messages (lastest grub version, normal grub no grub2):

Filesystem type is ext2fs, partition type 0x83
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/.............
Error 13: invalid or unsupported executable format

No Normal image nor Fallback image boot.

Any suggestion?

P.D. Sorry for my englis xD

**********************
Check wiki solution:
http://wiki.archlinux.org/index.php/Cre … B_Error_13

Last edited by superchango (2009-01-23 02:19:19)


"Yo creo que los muertos son tiernos. ¿Nos besamos?"

Offline

#2 2009-01-22 04:25:42

damjan
Member
Registered: 2006-05-30
Posts: 452

Re: [Solved] Grub Error 13, ext4 and 2.6.28.1

did you reinstall grub in the mbr after the package was updated??

Offline

#3 2009-01-22 09:16:59

nowahn
Member
From: elsewhere
Registered: 2008-12-05
Posts: 75

Re: [Solved] Grub Error 13, ext4 and 2.6.28.1

from grub's web site:

13 : Invalid or unsupported executable format
    This error is returned if the kernel image being loaded is not recognized as Multiboot or one of the supported native formats (Linux zImage or bzImage, FreeBSD, or NetBSD).

I think your vmlinuz26 file is wrong in some ways, or grub can't read ext4 correctly (I have done a fresh install with ext4, but I have made a separate partition for /boot in ext2)

superchango wrote:

did you create from scratch or did you convert from ext3 ?


take time to daydream, inspiration comes ...

Offline

#4 2009-01-22 12:08:45

alessandro_ufms
Member
From: Campo Grande, MS - Brazil
Registered: 2008-06-25
Posts: 153

Re: [Solved] Grub Error 13, ext4 and 2.6.28.1

Basically, you need reinstall grub on MBR.
Download the chaox-ng live-cd: http://jenux.homelinux.org/~jens/livecd … -21-04.iso
On chaox-ng grub, enter in shell mode. Run the following commands:

mount /dev/sda1 /mnt
grub-install --root-directory=/mnt --recheck /dev/sda

replacing sda1 for your root partition and sda for you primary hd boot.
Reboot.

Last edited by alessandro_ufms (2009-01-22 12:13:37)

Offline

#5 2009-01-22 16:19:26

pointone
Wiki Admin
From: Waterloo, ON
Registered: 2008-02-21
Posts: 379

Re: [Solved] Grub Error 13, ext4 and 2.6.28.1

Wow... Thanks muchly. Quite the scare this morning when I, too, encountered this error.

It wasn't enough to simply mount my root partition, though--I needed to follow all the steps here first, then run 'grub-install --recheck /dev/sda'. Of course, I used SystemRescueCd, which may account for the difference.


M*cr*s*ft: Who needs quality when you have marketing?

Offline

#6 2009-01-22 17:03:01

pointone
Wiki Admin
From: Waterloo, ON
Registered: 2008-02-21
Posts: 379

Re: [Solved] Grub Error 13, ext4 and 2.6.28.1

I've updated the ext4 wiki page to document the solution to this error.


M*cr*s*ft: Who needs quality when you have marketing?

Offline

#7 2009-01-23 02:14:12

superchango
Member
From: Tenochtitlan
Registered: 2009-01-22
Posts: 133

Re: [Solved] Grub Error 13, ext4 and 2.6.28.1

Thanks!!

alessandro_ufms wrote:

Basically, you need reinstall grub on MBR.

mount /dev/sda1 /mnt
grub-install --root-directory=/mnt --recheck /dev/sda

replacing sda1 for your root partition and sda for you primary hd boot.
Reboot.

With this steps (and the pointone's instructions) my arch boot again.

Thanks.


"Yo creo que los muertos son tiernos. ¿Nos besamos?"

Offline

#8 2009-06-03 17:42:33

s3r1al
Member
Registered: 2008-05-21
Posts: 6

Re: [Solved] Grub Error 13, ext4 and 2.6.28.1

thanks a lot, its all ok now

i chrooted into my arch install from system rescue cd and then ran grub-install --recheck /dev/sda

Offline

Board footer

Powered by FluxBB