a few simple questions about "kexec"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  i want to start playing with kexec and i've noticed some confusing
(and possibly erroneous) documentation.

  first, i see that, when you configure a kernel you're about to
build, you can make it relocatable.  with kexec, i'm assuming that
that only makes a difference with the kernel you are going to kexec
*to* -- whether or not the current kernel is relocatable is not
relevant, is that right?

  next, from the man page for "kexec":

"Note:  Compressed  kernel images such as bzImage are not supported by
kexec.  Use the uncompressed vmlinux."

  excuse me?  from what i can read, you certainly can load a
bzImage-format file, since the "-t" option to kexec supports that, as
you can see from "kexec --help".

  finally, i found the following online example:

Thanks a lot topdog.. finnaly I got able to switch another kernel..I
used below command


kexec -l -t bzImage --command-line="ro root=/dev/VolGroup00/LogVol00"
\
--initrd="/boot/initrd-2.6.24.3-custom_test.img"
/boot/vmlinuz-2.6.24.3-custom_test

  that doesn't seem to make sense, as the writer is using "-t bzImage"
while passing a regular vmlinuz-format kernel.  or am i
misunderstanding this?

  thanks.

rday
--

========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
    Have classroom, will lecture.

http://crashcourse.ca                          Waterloo, Ontario, CANADA
========================================================================

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux