Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

how to uncompress a vmlinuz ARM kernel ?

Need help with peripherals or devices?
Post Reply
Message
Author
vidocq
Posts: 4
Joined: 2018-05-27 06:30

how to uncompress a vmlinuz ARM kernel ?

#1 Post by vidocq »

Hello,

I'm a longtime Debian's user (lover?) and I just get à Raspberry Pi 3+. I would like to run Debian (instead of Raspbian) on it, I'm using debootstrap to install it on an usbkey. I've tried to boot on it and everything work except that I need to boot on an uncompressed kernel. (for the test I used the Rapsbian kernel but it doesn't match the Debian's modules so...)
The problem is that I can't find a solution to uncompress an ARM vmlinuz kernel :(

Someone can help ? :roll:

Thanks

K.

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: how to uncompress a vmlinuz ARM kernel ?

#2 Post by debiman »

it's just a compressed file, and you uncompress it as you would any other file.
where is the file? show us.
and what have you tried?

vidocq
Posts: 4
Joined: 2018-05-27 06:30

Re: how to uncompress a vmlinuz ARM kernel ?

#3 Post by vidocq »

This is the "best" method I've seen through my researches but it doesn't work with an ARM (only x86) :

https://www.ibm.com/developerworks/comm ... uz?lang=en

When I try to gunzip I got this error : gzip: unknown suffix -- ignored :(

vidocq
Posts: 4
Joined: 2018-05-27 06:30

Re: how to uncompress a vmlinuz ARM kernel ?

#4 Post by vidocq »

this is the output :

pi@raspberrypi:~/kernel $ od -A d -t x1 vmlinuz-4.9.0-6-armmp | grep "1f 8b 08"
0594192 66 80 18 38 f0 98 5c b6 a1 d2 cb 45 1f 8b 08 4a
pi@raspberrypi:~/kernel $ dd if=vmlinuz-4.9.0-6-armmp bs=1 skip=594204 of=kernel
3115692+0 records in
3115692+0 records out
3115692 bytes (3.1 MB, 3.0 MiB) copied, 21.3488 s, 146 kB/s
pi@raspberrypi:~/kernel $ file kernel
kernel: gzip compressed data, has CRC, was "\003\3359Yw\0172\347<\231\315\362\226\261\261@\354"
pi@raspberrypi:~/kernel $ gunzip kernel
gzip: kernel: unknown suffix -- ignored
pi@raspberrypi:~/kernel $

Post Reply