Kexec drops to initramfs prompt

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

 



Hi,
   I am trying to use the kexec to load a compiled kernel in a virtual machine that is ran  using qemu. Here are the steps that I followed.
  1. Compiled kernel on my Ubuntu to create bzImage.
  2. Copied this bzImage to the virtual machine(debian)
  3. In the virtual machine, I created an initial ramdisk using the command mkinitramfs -o initrd.img
  4. I loaded the image to the kernel using the command kexec -l bzImage --append="`root=UUID=<string> ro quiet`" --initrd=initrd.img. The append was done based on  /proc/cmdline.
  5. Now I did a kexec -e  which after some warning messages dropped me in to an initramfs prompt. One of the warning read as follows /dev/disk/by-uuid/<string>  does not exist.
Can you please tell me what I am doing wrong? Please note that I have CONFIG_KEXEC=y on my current kernel of debian VM .

--
Regards,
Paul Davies C
vivafoss.blogspot.com
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[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