<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.zenerves.net/skins/common/feed.css?301"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
		<id>http://wiki.zenerves.net/index.php?action=history&amp;feed=atom&amp;title=Kernel_DIY</id>
		<title>Kernel DIY - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.zenerves.net/index.php?action=history&amp;feed=atom&amp;title=Kernel_DIY"/>
		<link rel="alternate" type="text/html" href="http://wiki.zenerves.net/index.php?title=Kernel_DIY&amp;action=history"/>
		<updated>2026-08-11T07:09:50Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.17.0</generator>

	<entry>
		<id>http://wiki.zenerves.net/index.php?title=Kernel_DIY&amp;diff=108&amp;oldid=prev</id>
		<title>Admin: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://wiki.zenerves.net/index.php?title=Kernel_DIY&amp;diff=108&amp;oldid=prev"/>
				<updated>2011-10-14T23:59:11Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 23:59, 14 October 2011&lt;/td&gt;
		&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	<entry>
		<id>http://wiki.zenerves.net/index.php?title=Kernel_DIY&amp;diff=107&amp;oldid=prev</id>
		<title>Lola at 21:23, 14 October 2011</title>
		<link rel="alternate" type="text/html" href="http://wiki.zenerves.net/index.php?title=Kernel_DIY&amp;diff=107&amp;oldid=prev"/>
				<updated>2011-10-14T21:23:33Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''All this happens in /usr/src'''&lt;br /&gt;
http://alien.slackbook.org/dokuwiki/doku.php?id=linux:kernelbuilding&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Get current config:&lt;br /&gt;
 zcat /proc/config.gz &amp;gt; /usr/src/linux/.config&lt;br /&gt;
''(or copy from /boot, if available)''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Apply it to your sources:&lt;br /&gt;
 make oldconfig&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Change whatever you need to change:&lt;br /&gt;
 make xconfig&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Compile&lt;br /&gt;
 make bzImage modules            # compile the kernel and the modules&lt;br /&gt;
 make modules_install            # installs the modules to /lib/modules/&amp;lt;kernelversion&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Install:&lt;br /&gt;
 cp arch/x86/boot/bzImage /boot/vmlinuz-''&amp;lt;yourentryhere&amp;gt;''   # copy the new kernel file&lt;br /&gt;
 cp System.map /boot/System.map-''&amp;lt;yourentryhere&amp;gt;''           # copy the System.map (optional)&lt;br /&gt;
 cp .config /boot/config-''&amp;lt;yourentryhere&amp;gt;''                  # backup copy of your kernel config&lt;br /&gt;
 cd /boot&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
Optional: build simple links for grub/lilo so 'Linux' always boot latest kernel:&lt;br /&gt;
 rm System.map                                                # delete the old link&lt;br /&gt;
 ln -s System.map-''&amp;lt;yourentryhere&amp;gt;'' System.map              # create a new link&lt;br /&gt;
 ln -s vmlinuz-''&amp;lt;yourentryhere&amp;gt;'' vmlinuz&lt;br /&gt;
 ln -s config-''&amp;lt;yourentryhere&amp;gt;'' config&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then, edit grub/lilo accordingly&lt;br /&gt;
(samples:)&lt;br /&gt;
 title Fedora (2.6.27.9-159.fc10.x86_64)&lt;br /&gt;
        root (hd0,0)&lt;br /&gt;
        kernel /boot/vmlinuz-2.6.27.9-159.fc10.x86_64 ro root=UUID=2d056f31-9f3c-423a-8d5f-9a85354eb2c1 vga=791 video=vesafb&lt;br /&gt;
        initrd /boot/initrd-2.6.27.9-159.fc10.x86_64.img&lt;br /&gt;
&lt;br /&gt;
 title Sabayon Linux (kernel-genkernel-x86_64-2.6.31-sabayon)&lt;br /&gt;
        root (hd0,3)&lt;br /&gt;
        kernel /boot/kernel-genkernel-x86_64-2.6.31-sabayon  root=/dev/ram0 ramdisk=8192 real_root=/dev/sda4 dolvm init=/linuxrc splash=verbose,theme:sabayon vga=791 console=tty1 quiet resume=swap:/dev/sda3 real_resume=/dev/sda3&lt;br /&gt;
        initrd /boot/initramfs-genkernel-x86_64-2.6.31-sabayon&lt;br /&gt;
        savedefault&lt;br /&gt;
&lt;br /&gt;
 title Default Kernel&lt;br /&gt;
        root (hd0,3)&lt;br /&gt;
        kernel /boot/vmlinuz ro root=/dev/sda4 vga=791 video=vesafb&lt;br /&gt;
        initrd /boot/initrd&lt;br /&gt;
&lt;br /&gt;
back to [[linux]] or [[howtos]]&lt;br /&gt;
[[Category:Linux]] [[Category:Howtos]]&lt;/div&gt;</summary>
		<author><name>Lola</name></author>	</entry>

	</feed>