* kexec kernel with embedded initrd?
@ 2008-12-17 23:45 Sven Anders
2008-12-19 17:20 ` Geoff Levand
0 siblings, 1 reply; 3+ messages in thread
From: Sven Anders @ 2008-12-17 23:45 UTC (permalink / raw)
To: kexec
Hello!
Sorry to bother you, just a short question, because I didn't find anything
in the documentation or mailing list and I want to know if it should work
before I try to find the error.
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?
Regards
Sven
Mit freundlichen Grüßen
Sven Anders
--
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
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: kexec kernel with embedded initrd?
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
0 siblings, 1 reply; 3+ messages in thread
From: Geoff Levand @ 2008-12-19 17:20 UTC (permalink / raw)
To: Sven Anders; +Cc: kexec
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.
-Geoff
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: kexec kernel with embedded initrd?
2008-12-19 17:20 ` Geoff Levand
@ 2008-12-19 18:21 ` Sven Anders
0 siblings, 0 replies; 3+ messages in thread
From: Sven Anders @ 2008-12-19 18:21 UTC (permalink / raw)
To: Geoff Levand, kexec
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-12-19 18:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox