kexec: Cannot determine the file type of arch/x86/boot/bzImage

yhlu yinghailu at gmail.com
Tue Oct 16 17:00:00 EDT 2007


On 10/16/07, Randy Dunlap <randy.dunlap at oracle.com> wrote:
> On Tue, 16 Oct 2007 21:51:13 +0200 Thomas Meyer wrote:
>
> [adding kexec mailing list]
>
>
> > Hi.
> >
> > Look at this:
> >
> > $ file arch/x86/boot/bzImage (tree 821f3eff7cdb9d6c7076effabd46c96c322daed1)
> > arch/x86/boot/bzImage: Linux kernel x86 boot executable zImage, version
> > 2.6.23 (thomas at hotzenplotz) #39, RO-rootFS, root_dev 0x803, swap_dev
> > 0x1, Prompt for Videomode
> >
> > $ file /boot/bzImage-2.6.23
> > /boot/bzImage-2.6.23: Linux kernel x86 boot executable RO-rootFS,
> > root_dev 0x803, swap_dev 0x1, Normal VGA
> >
> > and this:
> >
> > # kexec -l arch/x86/boot/bzImage
> > Cannot determine the file type of arch/x86/boot/bzImage
> >
> > How to solve this error?

#!/bin/bash
KERNEL_VER=2.6.24_k8.2
CONSOLE=console=uart8250,io,0x3f8,9600n8

./kexec -t bzImage -l bzImage_"$KERNEL_VER" --command-line="apic=debug
acpi.debug_level=0x0000000F pci=routeirq nmi_watchdog=2
ramdisk_size=65536 root=/dev/ram0 rw ip=dhcp $CONSOLE"
--ramdisk=mydisk8_x86_64.gz

YH



More information about the kexec mailing list