You are not logged in.

#1 2016-10-01 18:46:11

spencer_brown
Member
Registered: 2015-08-21
Posts: 37

[Solved]Arch fails with invalid magic number

When arch is selected from grub2 the following error occurs:

error: invalid magic number
alloc magic is broken at 0x5ae2a460: 5ad041c0
press any key to continue

The system then boots my windows partition.
I checked the pacman logs and while intramfs was updated, there were no errors.

Last edited by spencer_brown (2016-10-04 15:56:52)

Offline

#2 2016-10-01 19:02:36

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: [Solved]Arch fails with invalid magic number

Can you post your grub config and your partitioning scheme?

Also, for good measure if you can boot a live disk to get to your system, the output of the following:

file /boot/{initramfs-linux.img,vmlinuz-linux}

You may also want to run a memtest on your ram.alloc magic is broken at 0x5ae2a460: 5ad041c0

EDIT: actually the second line looks very much like it is a ram issue.  Run memtest as the first step.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2016-10-04 15:19:47

spencer_brown
Member
Registered: 2015-08-21
Posts: 37

Re: [Solved]Arch fails with invalid magic number

I ran memtest for 5 passes, but it didnt catch any errors.
Here's my partitioning screen for the whole HDD.

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048         2050047   1000.0 MiB  2700  
   2         2050048         2582527   260.0 MiB   EF00  EFI system partition
   3         2582528         3606527   500.0 MiB   ED01  
   4         3606528         3868671   128.0 MiB   0C01  Microsoft reserved ...
   5         3868672       866600959   411.4 GiB   0700  Basic data partition
   6      1902323712      1953523711   24.4 GiB    2700  
   7       866609152      1076324351   100.0 GiB   8300  Linux filesystem
   8      1076324352      1080518655   2.0 GiB     8200  Linux swap
   9      1080518656      1130850303   24.0 GiB    8300  Linux filesystem
  10      1130850304      1695262719   269.1 GiB   8300  Linux filesystem
  11      1695262720      1902323711   98.7 GiB    8300  

I mount sda2 for /boot. 
sda7 is / for arch
sda9 is /var for arch
sda10 is /home for arch
And sda11 is ubuntu.

Output of file /boot/{initramfs-linux.img,vmlinuz-linux}

initramfs-linux.img: gzip compressed data, last modified: Wed Sep 28 15:41:33 2016, from Unix
vmlinuz-linux:       data

I think in some wierd way I have 2 grub.cfg files. (installation of ubuntu occured after arch and automatically did stuff to grub, I think)
Here's the newer one:
https://ptpb.pw/O0tG
In my understanding, thats just a link to the original, here:
https://ptpb.pw/aSoY
However, looking at that second file, it doesn't look like it has an entry for ubuntu, which is also on the grub boot menu.  So I may be missing somehing.
Thanks for your concern and help!

Last edited by spencer_brown (2016-10-04 15:22:00)

Offline

#4 2016-10-04 15:41:40

ukhippo
Member
From: Non-paged pool
Registered: 2014-02-21
Posts: 366

Re: [Solved]Arch fails with invalid magic number

Your vmlinuz-linux is corrupt - file should not say “data” but be a long string starting “Linux kernel”
Arch-chroot into your system and reinstall the linux package.

Offline

#5 2016-10-04 15:56:30

spencer_brown
Member
Registered: 2015-08-21
Posts: 37

Re: [Solved]Arch fails with invalid magic number

Reinstalled and evrything is now working perfectly.  Thanks again guys.

Offline

Board footer

Powered by FluxBB