On 03/09/2018 03:02 AM, Ilari Halminen wrote:
> Package: kexec-tools
> Version: 1:2.0.7-5
> Severity: normal
> File: /sbin/kexec
> 
> Dear Maintainer,
> 
> I do not know what is wrong, but I cannot boot with new kernel.
> 
> It loads the nwe kernel and it's image, and writes booting new kernel, but 
> never boot.
> I am not sure if there is something wrong with some options etc but I give up 
> in any case.
> 
> I have tried many times, but here is my command: (in reality in single line)
> 
> kexec -l /boot/vmlinuz-3.16.0-4-686-pae  --append=ro,boot=/dev/sda6 
> --initrd=/boot/initrd.img-3.16.0-4-686-pae
> 
> After that I tried to shutdown and reboot. My computers makes all ready
> for the reboot and I get the lines telling rebooting the new kernel, but it
> won't never boot.
>  

That does not sound good. Can you try the following:

kexec -l /boot/vmlinuz-3.16.0-4-686-pae --reuse-cmdline
--initrd=/boot/initrd.img-3.16.0-4-686-pae

If your version of kexec does not support "--reuse-cmdline", try instead:

kexec -l /boot/vmlinuz-3.16.0-4-686-pae --append=`cat /proc/cmdline`
--initrd=/boot/initrd.img-3.16.0-4-686-pae

and then try a reboot.

Thanks,
Khalid

Reply via email to