Professional Documents
Culture Documents
| | |
sdytlm
20144MVP
2013
Kinect
build
2011-06-30 22:33
command
debian
download
470
(0)
tools
[+]
8352
232
14
Compiling custom kernel has its own advantages and disadvantages. However, new Linux user / admin find it
difficult to compile Linux kernel. Compiling kernel needs to understand few things and then just type couple of
commands. This step by step howto covers compiling Linux kernel version 2.6.xx under Debian GNU Linux.
blog.csdn.net/sdytlm/article/details/6578209
1/6
1/7/14
However, instructions remains the same for any other distribution except for apt-get command.
Visit http://kernel.org/ and download the latest source code. File name would be linux-x.y.z.tar.bz2, where x.y.z
C/C++ (3)
is actual version number. For example file inux-2.6.25.tar.bz2 represents 2.6.25 kernel version. Use wget
NKOJ (2)
$ cd /tmp
$ wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-x.y.z.tar.bz2
ubuntu (4)
Cloud Computing (2)
201204 (1)
201112 (1)
201107 (2)
# cd /usr/src
201106 (12)
201105 (6)
Before you configure kernel make sure you have development tools (gcc compilers and related tools) are
iptables
installed on your system. If gcc compiler and tools are not installed then use apt-get command under Debian
(980)
#a
pt-g
t insta
gcc
OpenSUSE 12.1 Dom0(linux
(969)
kernel
3.2.1)
+e
Xen-4.1.2
+ll
Virt-manager
0.9.0
DomainU Fails to boot with(623)
"Error: Device 0 (vif) could not be connected. Could not find bridge, and none was specified"
NKOJ
(565)
(469)
(402)
(337)
(303)
blog.csdn.net/sdytlm/article/details/6578209
Now you can start kernel configuration by typing any one of the command:
$ make menuconfig - Text based color menus, radiolists & dialogs. This option also useful on remote
server if you wanna compile kernel remotely.
$ make xconfig - X windows (Qt) based configuration tool, works best under KDE desktop
$ make gconfig - X windows (Gtk) based configuration tool, works best under Gnome Dekstop.
For example make menuconfig command launches following screen:
2/6
1/7/14
$ make menuconfig
1021
(0)
iptables
(0)
CenOS OpenVPN
(0)
linux
(0)
grub
(0)
You have to select different options as per your need. Each configuration option has HELP button associated
with it so select help button to get help.
(0)
$ su
# make modules_install
* Android GridView
, item
So far we have compiled kernel and installed kernel modules. It is time to install kernel itself.
* meanshift
# make install
* Android
* Android ART
* Java
It will install three files into /boot directory as well as modification to your kernel grub configuration file:
System.map-2.6.25
config-2.6.25
vmlinuz-2.6.25
blog.csdn.net/sdytlm/article/details/6578209
3/6
1/7/14
initrd images contains device driver which needed to load rest of the operating system later on. Not all
computer requires initrd, but it is safe to create one.
root
(hd0,0)
kernel
/boot/vmlinuz root=/dev/hdb1 ro
initrd
/boot/initrd.img-2.6.25
savedefault
boot
Remember to setup correct root=/dev/hdXX device. Save and close the file. If you think editing and writing all
lines by hand is too much for you, try out update-grub command to update the lines for each kernel in
/boot/grub/menu.lst file. Just type the command:
# update-grub
Neat. Huh?
DomainU Fails to boot with "Error: Device 0 (vif) could not be connected. Could not
find bridge, and none was specified"
Install openNebula on openSUSE 11.3
blog.csdn.net/sdytlm/article/details/6578209
4/6
1/7/14
,[][]
* CSDN
Android :...
Linux UltraEd...
HTM L
<< >>
Android :...
Android
Java
WAP
jQuery
Fedora
KDE
XML
LBS
Cassandra
Rackspace
Hibernate
Django
VPN
BI
iOS
HTML5
Splashtop
CloudStack
FTC
SpringSide
Spark
ERP
IE10
Spring
Unity
Web App
ThinkPHP
Android
HBase
Apache
UML
coremail
Maemo
Pure
Eclipse
Hadoop
components
OPhone
Compuware
Solr
CRM
JavaScript
.NET
API
Windows Mobile
CouchBase
Angular
HTML
Rails
Cloud Foundry
SDK
NFC
IIS
QEMU
iOS6
aptech
Ubuntu
Perl
Tornado
Redis
Ruby
Scala
Bootstrap
| | | | | | |
QQ
blog.csdn.net/sdytlm/article/details/6578209
webmaster@csdn.net
400-600-2320
5/6
1/7/14
ICP 070598
Copyright 1999-2014, CSDN.NET, All Rights Reserved
blog.csdn.net/sdytlm/article/details/6578209
6/6