LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-28-2009, 01:22 AM   #1
LinuxNewman
Member
 
Registered: Apr 2009
Posts: 42

Rep: Reputation: 15
Can busybox work independently?


Hi All !
Today I installed busybox in a new partition of my computer. When I opened the directories like /bin, /lib etc, I found that they contained several executables linked to somewhere.
My questions are : if I remove my host system, can I independently boot from the partition containing busybox ?
Is there any way to know where these executables of busybox partition are linked to?
 
Old 07-28-2009, 04:29 AM   #2
EmrldDrgn
Member
 
Registered: Oct 2008
Posts: 40

Rep: Reputation: 16
BusyBox is a single binary, which is a conglomerate of many applications, each of which can be accessed by calling the single BusyBox binary with various names (supported by having a symbolic link or hard link for each different name[5]) in a specific manner with appropriate arguments.

Source = Wikipedia.

This seems to indicate that those should be links to busybox itself.

To find out what a link points to, try this command:

ls -l link

Busybox should be able to run solo, since I've used a few embedded linuxes where that was the primary shell.

Hope that helps...
 
Old 07-28-2009, 04:39 AM   #3
vishesh
Member
 
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 661

Rep: Reputation: 66
dear
Busybox just give you shell like environment to work. busybox contain utilities that help in working on system without loading full linux enviroment. Although according to my thought linux kernel and other stuff from boot partition are required.
 
Old 07-28-2009, 05:55 AM   #4
LinuxNewman
Member
 
Registered: Apr 2009
Posts: 42

Original Poster
Rep: Reputation: 15
Hi !
Thanks for the information.
I have a linux kernel which I plan to put in the boot directory of the busybox partition. What else "other stuff from boot partition" are required?
 
Old 07-29-2009, 12:53 AM   #5
vishesh
Member
 
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 661

Rep: Reputation: 66
Dear

I think other than kernel you just require busybox environment. Here busybox will work as initrd(initial ram disk) which gives you shell enviroment.

Thanks

Last edited by vishesh; 07-29-2009 at 01:13 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
making alsa work in busybox tomnab Linux - Software 1 07-03-2009 02:54 AM
/sbin/reboot of busybox filesystem does not work raklo Linux - Kernel 16 04-10-2009 04:47 AM
can i boot vista and fedora independently tickler Linux - Newbie 2 03-08-2008 07:01 AM
two NICs on same subnet and ssh independently powah Linux - Networking 5 04-09-2007 01:56 PM
2 users CRT & TV independently work at single computer Errotan Linux - Hardware 10 04-03-2007 07:35 AM


All times are GMT -5. The time now is 10:54 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration