Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #52546

Re: Booting uncompressed kernel images

From Ian Campbell <ijc@debian.org>
Newsgroups linux.debian.kernel
Subject Re: Booting uncompressed kernel images
Date 2016-02-02 12:30 +0100
Message-ID <qXHjI-215-1@gated-at.bofh.it> (permalink)
References <qXHjI-215-3@gated-at.bofh.it> <qXi1Z-8lp-29@gated-at.bofh.it> <qXk3L-1dK-9@gated-at.bofh.it> <qXygq-3lg-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, 2016-02-01 at 23:31 -0200, Tiago Ilieve wrote:
> > PS I have also found binwalk [2] useful when examining contents of
> > compressed kernel
> > apt-get install binwalk
> 
> Thanks for the tip - although I got a little bit surprised with so
> many dependencies in what should be a simple command-line utility.
> 
> Here's what I got from "binwalk /boot/vmlinuz-3.16.0-4-amd64":
> 
> DECIMAL       HEXADECIMAL     DESCRIPTION
> -----------------------------------------------------------------------
> ---------
> 0             0x0             Microsoft portable executable
> 18356         0x47B4          xz compressed data
> 3108600       0x2F6EF8        xz compressed data
> 
> Not sure about what bytes "0-18355" means. Maybe a false-positive?
> 
> If I run it with "-e", it get two files ("47B4.tar" and "2F6EF8.tar")
> that can't be decompressed with "tar"/"unxz".

What does file(1) say about them? For me I see:

_vmlinuz-3.16.0-4-amd64.extracted/2F6EF8.xz: XZ compressed data
_vmlinuz-3.16.0-4-amd64.extracted/47B4:      ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, BuildID[sha1]=2883400c6927fe339cdd2c321d3d154c472ef418, stripped
_vmlinuz-3.16.0-4-amd64.extracted/47B4.xz:   XZ compressed data

Do any of them match what you get out of extract-linux?

_vmlinuz-3.16.0-4-amd64.extracted/47B4 looks to me to be an ELF file which
I would expect to be bootable as a Xen PV guest, it has the required ELF
notes etc.

Did you see my other replies on debian-kernel yesterday? There are some
questions there which it would be useful to know the answers to.

Ian.

Back to linux.debian.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Booting uncompressed kernel images Tiago Ilieve <tiago.myhro@gmail.com> - 2016-02-01 09:30 +0100
  Re: Booting uncompressed kernel images Ian Campbell <ijc@debian.org> - 2016-02-01 11:10 +0100
    Re: Booting uncompressed kernel images Ian Campbell <ijc@debian.org> - 2016-02-01 11:40 +0100
  Re: Booting uncompressed kernel images Jose R R <Jose.r.r@metztli-it.com> - 2016-02-01 11:40 +0100
    Re: Booting uncompressed kernel images Tiago Ilieve <tiago.myhro@gmail.com> - 2016-02-02 02:50 +0100
      Re: Booting uncompressed kernel images Ian Campbell <ijc@debian.org> - 2016-02-02 12:30 +0100
        Re: Booting uncompressed kernel images Tiago Ilieve <tiago.myhro@gmail.com> - 2016-02-02 18:40 +0100
          Re: Booting uncompressed kernel images Ian Campbell <ijc@debian.org> - 2016-02-02 18:40 +0100
            Re: Booting uncompressed kernel images Tiago Ilieve <tiago.myhro@gmail.com> - 2016-02-04 19:00 +0100
              Re: Booting uncompressed kernel images Ian Campbell <ijc@debian.org> - 2016-02-05 12:10 +0100
                Re: Booting uncompressed kernel images Ben Hutchings <ben@decadent.org.uk> - 2016-02-05 16:10 +0100
                Re: Booting uncompressed kernel images Andreas Ziegler <ml2013@andreas-ziegler.de> - 2016-02-05 16:10 +0100

csiph-web