All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sven Anders <anders@anduras.de>
To: Geoff Levand <geoffrey.levand@am.sony.com>, kexec@lists.infradead.org
Subject: Re: kexec kernel with embedded initrd?
Date: Fri, 19 Dec 2008 19:21:56 +0100	[thread overview]
Message-ID: <494BE644.9000705@anduras.de> (raw)
In-Reply-To: <494BD7DF.8080101@am.sony.com>

Geoff Levand schrieb:
> Sven Anders wrote:
>> I want to boot a kernel (bzImage) with an embedded initrd (CPIO archive using
>> the CONFIG_INITRAMFS_SOURCE option).
>>
>> Can I simply load the kernel with kexec or do I have to extract the initrd
>> first and load them using the --initrd option?
>>
>> If I have to extract them first, is there a tool for this?
> 
> You should be able to just load the bzImage.  The kernel image should know
> how to then use the initramfs.  I know it works for powepc64 at least.

Hmm?!

If I load the same image directly (in kvm) in works. If I use kexec, it gives
me a kernel panic "Unable to mount root fs on unknown-block(3,0).
Any special option needed?
Maybe I'm doing something wrong, I will double check (again)...
(I'm using bzImage on i386).

Regards
 Sven

-- 
 Sven Anders <anders@anduras.de>                 () Ascii Ribbon Campaign
                                                 /\ Support plain text e-mail
 ANDURAS service solutions AG
 Innstraße 71 - 94036 Passau - Germany
 Web: www.anduras.de - Tel: +49 (0)851-4 90 50-0 - Fax: +49 (0)851-4 90 50-55

Rechtsform: Aktiengesellschaft - Sitz: Passau - Amtsgericht Passau HRB 6032
Mitglieder des Vorstands: Sven Anders, Marcus Junker
Vorsitzender des Aufsichtsrats: Mark Peters


_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

      reply	other threads:[~2008-12-19 18:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-17 23:45 kexec kernel with embedded initrd? Sven Anders
2008-12-19 17:20 ` Geoff Levand
2008-12-19 18:21   ` Sven Anders [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=494BE644.9000705@anduras.de \
    --to=anders@anduras.de \
    --cc=geoffrey.levand@am.sony.com \
    --cc=kexec@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.