<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>2010/02/01 on Yano&#39;s digital garage</title>
    <link>https://www.bravotouring.com/~yano/archives/2010/02/01/</link>
    <description>Recent content in 2010/02/01 on Yano&#39;s digital garage</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Mon, 01 Feb 2010 22:12:40 +0900</lastBuildDate>
    <atom:link href="https://www.bravotouring.com/~yano/archives/2010/02/01/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>ubuntu kernel build</title>
      <link>https://www.bravotouring.com/~yano/diary/it/20100201ubuntu.htm</link>
      <pubDate>Mon, 01 Feb 2010 22:12:40 +0900</pubDate>
      <guid>https://www.bravotouring.com/~yano/diary/it/20100201ubuntu.htm</guid>
      <description>&lt;p&gt;&lt;a href=&#34;http://centos.org/&#34;&gt;CentOS&lt;/a&gt;のkernel buildについては&lt;a href=&#34;https://www.bravotouring.com/~yano/diary/it/20090215centos.htm&#34;&gt;去年書いた&lt;/a&gt;が、&lt;a href=&#34;http://www.ubuntu.com/&#34;&gt;ubuntu&lt;/a&gt;についてはまだだったので調べてみた。&lt;/p&gt;&#xA;&lt;p&gt;詳しくは&lt;a href=&#34;https://help.ubuntu.com/community/Kernel/Compile&#34;&gt;Kernel/Compile&lt;/a&gt;に書いてあるが、Karmic Koala (9.10)では&lt;blockquote class=&#34;Log&#34;&gt;apt-get source linux-image-$(uname -r)&lt;/blockquote&gt;とやればsourceを入手できる模様。環境整備からの手順としては&#xA;&lt;blockquote cite=&#34;https://help.ubuntu.com/community/Kernel/Compile&#34;&gt;&#xA;sudo apt-get install fakeroot kernel-wedge build-essential makedumpfile kernel-package&lt;br/&gt;sudo apt-get build-dep --no-install-recommends linux-image-$(uname -r)&lt;br/&gt;mkdir ~/kernel-source&lt;br/&gt;cd ~/kernel-source&lt;br/&gt;apt-get source linux-image-$(uname -r)&lt;/blockquote&gt;&#xA;で &lt;span class=&#34;Path&#34;&gt;~/kernel-source/linux-2.6.xx&lt;/span&gt; に動作版数と同じkernel source treeが出来上がるので、&#xA;&lt;blockquote class=&#34;Log&#34;&gt;cd ~/kernel-source/linux-2.6.31&lt;br/&gt;make-kpkg clean&lt;br/&gt;fakeroot make-kpkg --initrd --append-to-version=-some-string-here kernel-image kernel-headers&lt;/blockquote&gt;とする事でbuildする。で、親ディレクトリに出来上がった.debをdpkgで&#xA;&lt;blockquote cite=&#34;https://help.ubuntu.com/community/Kernel/Compile&#34;&gt;cd ~/kernel-source/&lt;br/&gt;echo vesafb | sudo tee -a /etc/initramfs-tools/modules&lt;br/&gt;echo fbcon | sudo tee -a /etc/initramfs-tools/modules&lt;br/&gt;sudo dpkg -i linux-headers-2.6.31.6-some-string-here_2.6.31.6-some-string-here-10.00.Custom_i386.deb&lt;br/&gt;sudo dpkg -i linux-image-2.6.31.6-some-string-here_2.6.31.6-some-string-here-10.00.Custom_i386.deb&lt;/blockquote&gt;てな感じでinstallするのが流儀らしいよ。&lt;/p&gt;&#xA;&lt;p class=&#34;Reference&#34;&gt;【参照】&#xA;&#x9;&lt;br/&gt;●Official Ubuntu Documentation &lt;a href=&#34;https://help.ubuntu.com/&#34;&gt;https://help.ubuntu.com/&lt;/a&gt;&#xA;&lt;br/&gt;┗&lt;a href=&#34;https://help.ubuntu.com/community/Kernel/Compile&#34;&gt;Kernel/Compile&lt;/a&gt;&#xA;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
