Transplant busybox-1.21.1

Source: Internet
Author: User

Official busybox Website: www.busybox.net

1. Extract

# Tar jxvf busybox-1.21.1.tar.bz2
2. Configuration
# Cd busybox-1.21.1
# Make menuconfig
Busybox settings --->
General configuration --->

[] Enable options for full-blown desktop systems

We use an embedded system. If this is not canceled, the Process status will not be displayed when executing the ps command.

Build options --->
(ARM-Linux-) Cross Compiler prefix
Installation Options ("make install" behavior) --->
(./_ Install) busybox installation prefix (new)
Init utilities --->
[] Be _ extra _ quiet on boot # The busybox version is displayed when the system is started.
LINUX module utilities --->
[] Simplified modutils
[*] Insmod
[*] Rmmod
[*] Lsmod
[*] Modprobe
[*] Depmod
3. Compile and install
# Make & make install

4. copy to the root file system

# Mkdir rootfs

# Cp _ install/* ../rootfs/-

5. system running effect
Freeing init memory: 136 K
Init started: busybox v1.21.1 (00:58:43 Cst)

Please press enter to activate this console.
Processing/etc/profile...
Done
[[Email protected]/] # ps
PID user vsz STAT command
1 root 3152 s {linuxrc} init
2 root 0 SW [kthreadd]
3 root 0 SW [ksoftirqd/0]
4 root 0 SW [kworker/0: 0]
5 root 0 SW [kworker/u: 0]
6 root 0 SW <[khelper]
7 root 0 SW [kworker/u: 1]
147 root 0 SW [sync_supers]
149 root 0 SW [BDI-default]
150 root 0 SW <[kblockd]
161 root 0 SW [khubd]
164 root 0 SW [kseriod]
171 root 0 SW <[kmmcd]
261 root 0 SW <[rpciod]
263 root 0 SW [kworker/]
269 root 0 SW [kswapd0]
270 root 0 SW [fsnotify_mark]
271 root 0 SW <[AIO]
272 root 0 SW <[nfsiod]
273 root 0 SW <[crypto]
877 root 0 SW [mtdblock0]
882 root 0 SW [mtdblock1]
887 root 0 SW [mtdblock2]
892 root 0 SW [mtdblock3]
919 root 0 SW <[kpsmoused]
956 root 0 SW <[usbhid_resumer]
969 root 0 SW [kworker/0: 2]
978 root 3152 s telnetd
981 root 3156 S-/bin/sh
982 root 3152 s {linuxrc} init
983 root 3156 R PS
[[Email protected]/] #

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.