[PATCH] i386:kexec-bzImage: Use "\0" as command line instead of empty command line
udknight at gmail.com
Sun Apr 7 05:35:41 EDT 2013
On Sun, Apr 07, 2013 at 01:54:58PM +0800, Zhang Yanfei wrote:
> With no commandline, can the new kernel boot?
> I tried in my box and the new kernel just panicked for it cannot
> find a root= argument in its commandline.
I am sure the kernel boot,
rootfs_initcall(populate_rootfs) in initramfs.c
well populate the root fs, and there is a /init
in initramfs, this /init will mount the really
root device, and the system is running.
More information about the kexec