LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-29-2015, 12:32 AM   #16
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319

Quote:
Originally Posted by replica9000 View Post
I didn't even think of linking /sbin/init > /bin/busybox. I had tried init=/bin/busybox, and would get a kernel panic, so I was using init=/bin/dash instead.
Latest Busybox has some shells namely ash, hush, and bash.

If they are compiled in you can put a symlink like:

Code:
cd /bin
ln -s busybox ash
ln - busybox hush
ln -s busybox sh
ln -s busybox bash
And use one of these symlink with kernel init parameter. e.g init=/bin/ash
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
shutting down after init=/bin/bash michapma Linux - General 5 10-28-2017 07:16 PM
Combine two or more bin files into another bin file at specific addresses in bash WSRaptor Programming 1 04-20-2015 02:36 PM
[SOLVED] New install- no root password! init=/bin/bash crashes! keithostertag Debian 4 02-20-2013 11:13 AM
[SOLVED] /usr/bin/xterm: Could not exec /bin/bash: Permission Denied suheng Linux - Newbie 2 09-24-2010 05:31 PM
why did bash 2.05b install delete /bin/bash & "/bin/sh -> bash"? johnpipe Linux - Software 2 06-06-2004 06:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration