Messages in this thread | | | From | gmssixty gmssixty <> | Date | Mon, 23 Oct 2023 19:34:23 +0600 | Subject | Re: How can I add "busybox sh" as init during boot of the custom kernel? |
| |
On Mon, Oct 23, 2023 at 5:41 PM Bagas Sanjaya <bagasdotme@gmail.com> wrote: > > On Mon, Oct 23, 2023 at 05:06:38PM +0600, gmssixty gmssixty wrote: > > > > What would I write in /sbin/init? I mean, what will be the content of > > /sbin/init? Should I write: "exec /bin/busybox sh" in /sbin/init? Or > > should I write "/bin/busybox sh" in /sbin/init? > > Since you have Busybox system, /sbin/init should be a symlink to > /bin/busybox. > > > > > BTW, what is top-post? > > A: http://en.wikipedia.org/wiki/Top_post > Q: Were do I find info about this thing called top-posting? > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > A: Top-posting. > Q: What is the most annoying thing in e-mail? > > A: No. > Q: Should I include quotations after my reply? > > http://daringfireball.net/2007/07/on_top > > Thanks. > > -- > An old man doll... just what I always wanted! - Clara
I have not installed bash. In that case, how can I run "busybox sh"? I have tried linking /bin/busybox to /sbin/init. After boot, it prompts to press Enter to activate console. But after pressing Enter, it prompts the same message again.
| |