public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* How can I add "busybox sh" as init during boot of the custom kernel?
@ 2023-10-22 23:56 gmssixty gmssixty
  2023-10-23  0:14 ` Randy Dunlap
  0 siblings, 1 reply; 7+ messages in thread
From: gmssixty gmssixty @ 2023-10-22 23:56 UTC (permalink / raw)
  To: linux-kernel

How can I add "busybox sh" as init during boot of the custom kernel? I
have compiled the kernel and put the bzImage in /dev/sda3 (/mnt/sda3).
Booted that kernel. After booting, I got a message to set the init
process. I have put the busybox in /bin. Now I want to add this
"busybox sh" as an init process. How can I do this?

Note that, I did not install any other software in that /dev/sda3
(/mnt/sda3). I have only bzImage and busybox.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-10-23 13:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-22 23:56 How can I add "busybox sh" as init during boot of the custom kernel? gmssixty gmssixty
2023-10-23  0:14 ` Randy Dunlap
2023-10-23  0:34   ` gmssixty gmssixty
2023-10-23  1:59     ` Randy Dunlap
2023-10-23 11:06       ` gmssixty gmssixty
2023-10-23 11:41         ` Bagas Sanjaya
2023-10-23 13:34           ` gmssixty gmssixty

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox