CTRL-ALT-DEL not working as expected. Seeking for advices
Ralf Friedl
Ralf.Friedl at online.de
Sat Mar 30 17:58:25 UTC 2013
Laurent Bercot wrote:
>> kernel (hd0,0)/vmlinuz-... root=/dev/sda2 init=/root/a.out
> Depending on your kernel, it may be a little more complicated than that.
> If your kernel has been compiled with an initramfs, the first userland
> process won't be /root/a.out, but the /init file in the initramfs.
The kernel is never compiled with an initramfs. The kernel is often
compiled to use an initramfs, if the boot loader supplies one. If you
don't load an initramfs (with the command initrd in grub), the kernel
won't use one.
The other question is whether the kernel has all necessary drivers
compiled in to mount the root filesystem. But if the kernel mounts the
root partition and starts the program when you don't pass an initrd
parameter, you can be sure that this /root/a.out was started directly by
the kernel.
More information about the busybox
mailing list