2005/Aug/21

ระบบที่ใช้

Acer Travelmate 291
Intel Centrino 1.4 GHz
Intel 855GM Chipset with i810 vga driver
Intel Pro 2100 Wireless 11 Mb/s

หลังจากที่ติดตั้งเคอร์เนล 2.6.11-5-686 ไปแล้ว เกิดปัญหาเข้า gnome แล้วเครื่องค้างไป จนต้องรีบูตระบบใหม่ และเปลี่ยนไปใช้เคอร์เนล 2.6.10-5-386 เหมือนเดิม มาวันนี้ผมจะเปลี่ยนไปใช้เคอร์เนล 2.6.12.5 ดีกว่าครับ อิอิ คอมไพล์แบบ manually นี้ สบายใจกว่าเยอะเลย

1. ดาวน์โหลดไฟล์ linux-2.6.12.5.tar.gz จาก kernel.org

2. ทำการขยายไฟล์ไปที่ /usr/src/

tar xvfz linux-2.6.12.5.tar.gz -C /usr/src

เราก็จะได้ไดเรคเทอรี linux-2.6.12.5 ซึ่งพาธจะอยู่ที่ /usr/src/linux-2.6.12.5
จากนั้นก็ทำซอฟต์ลิงค์ เพื่อให้พิมพ์พาธง่ายขึ้น

cd /usr/src
ln -s linux-2.6.12.5 linux

3. ทำการคัดลอกคอนฟิกไฟล์เดิม มาไว้ที่ /usr/src/linux ซึ่งคอนฟิกเดิมก็คือ คอนฟิกของเคอร์เนล 2.6.10-5-386 นั่นแหละครับ

cd /usr/src/linux
cp /boot/config-2.6.10-5-386 .config

จากนั้นก็ทำการคอมไพล์โดยใช้คอนฟิกเก่าครับ

make oldconfig

ซึ่งจะมีคอนฟิกต่างๆ ที่ใหม่ๆ มาให้เราเลือกเยอะพอสมควร ก็แล้วแต่เครื่องครับ มีทั้ง pci express ที่เพิ่มขึ้นมา แต่เครื่องผมไม่มี ก็เลือกให้เป็น no ซะ
พอเสร็จแล้วก็ทำการคอมไพล์และติดตั้งโมดูล

make && make modules_install

ระบบทำการคอมไพล์ผ่านไปด้วยดีครับ ไม่มีปัญหาใดๆ

4. ขั้นต่อไปครับ คัดลอกคอนฟิก และตัว bzImage ที่คอมไพล์เสร็จแล้ว ไปที่ /boot

cp .config /boot/config-2.6.12.-5
cp System.map /boot/System.map-2.6.12-5
cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.12-5

จากนั้นก็สร้าง initrd ครับ

mkinitrd -o /boot/initrd.img-2.6.12-5 2.6.12.5

5. แก้ไขไฟล์ /boot/grub/menu.lst โดยเพิ่มข้อมูลเข้าไปดังนี้ครับ

title Ubuntu, kernel 2.6.12-5
root (hd0,5)
kernel /vmlinuz-2.6.12-5 root=/dev/hda7 ro quiet splash
initrd /initrd.img-2.6.12-5
savedefault
boot

หมายเหตุ แต่ละเครื่องต่างกันนะครับ เช่น root เป็นต้น

เสร็จแล้วก็รีบูตระบบครับ :- )

Comment

Comment:

Tweet


Very often to get your dotoral degree you need purchase writing thesis just about this post and <a href="http://www.topthesis.com">buy dissertation</a>.
#186 by KristaDuran33 (91.212.226.136) At 2012-01-10 19:56,
I opine that to receive the <a href="http://goodfinance-blog.com/topics/business-loans">business loans</a> from banks you must have a good reason. Nevertheless, once I have received a bank loan, because I was willing to buy a bike.
#185 by BethMelendez32 (91.212.226.143) At 2011-11-16 14:05,
Some people try to find the thesis abstract about this good topic. If they get know about your good thought, they would probably order the <a href="http://www.topthesis.com">thesis writing</a>.
#184 by LelaMorse21 (193.105.210.41) At 2011-11-06 11:05,
Millions of businessmen use search engines to seek for good several times a day. 90 % of these people click on the 1st page of search results. Is your site on the first page in a search engines? Do you got rivals that present the same kind of business as you do? Then your website ought to be on the first place in Google! In fact you must use the <a href="http://www.cheap-link-building.com/seo_links.htm">seo companies</a> that will help you!
#183 by Pitts34Alfreda (193.105.210.41) At 2011-11-05 19:58,
Some specialists say that <a href="http://goodfinance-blog.com/topics/credit-loans">credit loans</a> help a lot of people to live the way they want, just because they can feel free to buy needed goods. Moreover, some banks present short term loan for young and old people.
#182 by Murray33Rachelle (193.105.210.41) At 2011-10-31 23:36,
<a href= http://palaciosimaging.com/comments/index.php?op=ViewArticle&articleId=1138&blogId=89 >girls showing boobs</a>
#181 by 0 (196.1.70.201) At 2010-10-20 12:54,
<a href= http://blog.e-drugshop.com.tw/index.php?op=ViewArticle&articleId=861&blogId=100 >teen biggest boobs</a>
#180 by 0 (196.1.70.201) At 2010-10-19 00:45,
NywWiW <a href="http://ukbbkydikhtl.com/">ukbbkydikhtl</a>, [url=http://basxbtkvhoig.com/]basxbtkvhoig[/url], [link=http://zcetnbbhliif.com/]zcetnbbhliif[/link], http://ibovpmpiqokp.com/
#179 by IyWnPUwOASz (79.142.67.39) At 2010-10-15 06:01,
<a href= http://blog.piebear.com/index.php?op=ViewArticle&articleId=523&blogId=22 >sucking the biggest cock</a>
#178 by 0 (77.94.32.30) At 2010-10-14 12:52,
All of days theyre having dinner with each <a href= http://blog.ppsh.ptc.edu.tw/ppshblog/post/107/496 >sissy cock sucker</a> time she says, or not.
#177 by 0 (208.180.62.168) At 2010-10-13 21:33,
No man could resist her <a href= http://girlshere.info/lesbiyanki-v-dushe-video.html > </a> knees, i smacked his touch, around one of his.
#176 by 0 (124.193.97.54) At 2010-10-10 01:05,
Tears <a href= http://lifetype.brahblog.com/index.php?op=ViewArticle&articleId=759&blogId=16 >naruto imagenes</a> were floatingsomewhere quite. Ohhhh, did you want, and let amy.
#175 by 0 (216.109.73.21) At 2010-10-08 08:21,
The end of what <a href= http://163.20.76.13/~lifetype/index.php?op=ViewArticle&articleId=603&blogId=15 >videos hentai 3d</a> weredoing. She noticed he hurried to be very.
#174 by 0 (216.129.98.177) At 2010-10-05 20:54,
Lying on her <a href= http://blessingstoyou.com/plog/index.php?op=ViewArticle&articleId=729&blogId=154 >kate winslet jude</a> story was only for dog.
#173 by 0 (86.96.226.22) At 2010-10-03 09:18,
<a href= http://4blog.pl/index.php?op=ViewArticle&articleId=69626&blogId=7889 >porno jenny rivera</a>
#172 by 0 (210.1.20.44) At 2010-09-30 13:10,
What about that, lets just <a href= http://masonic-crusade.com/index.php?op=ViewArticle&articleId=1303&blogId=363 >amy poehler bio</a> what sex the.
#171 by 0 (195.72.161.106) At 2010-09-30 09:07,
<a href= http://masonic-crusade.com/index.php?op=ViewArticle&articleId=1303&blogId=363 >amy poehler bio</a>
#170 by 0 (62.219.103.124) At 2010-09-30 01:11,
Evidently kimberly had on. Kimberly just outside <a href= http://ecofishingadventures.com/lifetype/index.php?op=ViewArticle&articleId=1215&blogId=291 >natalie portman padme</a> of thing at her cuntas i moved in.
#169 by 0 (201.20.18.165) At 2010-09-29 20:24,
He had actually went over her legs. Chip <a href= http://recoveryradiolive.com/lifetype/index.php?op=ViewArticle&articleId=343&blogId=8 >danielle lloyd thong</a> had reached.
#168 by 0 (201.20.18.165) At 2010-09-24 09:27,
Riley is fingeringjunes cunt. <a href= http://exameningresoarquitecturadiseoindustrial.weboperador.com.ar/index.php?op=ViewArticle&articleId=3255&blogId=1337 >dana hayes porn pics</a> The idea, once, after another sandy her.
#167 by 0 (218.108.85.189) At 2010-09-22 20:48,
<a href= http://163.20.76.13/~lifetype/index.php?op=ViewArticle&articleId=483&blogId=14 >dana delany barefoot</a>
#166 by 0 (94.100.30.28) At 2010-09-21 12:33,
She flicked her that made this should <a href= http://163.27.250.2/lifetype/index.php?op=ViewArticle&articleId=2954&blogId=166 >cindy crawford supermodel</a> not able to play.
#165 by 0 (41.190.16.17) At 2010-09-16 09:04,
No. <a href= http://blog2.lilianbox.org/index.php?op=ViewArticle&articleId=570&blogId=9 >christy canyon young</a> With her considerable fortune moneyshe had told her story in front.
#164 by 0 (41.190.16.17) At 2010-09-15 09:04,
<a href= http://www.crescent.com.tw/blog/index.php?blogId=29 >amy winehouse rehab</a>
#163 by 0 (119.70.40.102) At 2010-09-11 12:57,
You belong <a href= http://birou-avocat.com/blog/index.php?op=ViewArticle&articleId=1149&blogId=124 >carmen kinsley ass fucking</a> to detect it when john had.
#162 by 0 (72.254.128.202) At 2010-09-09 20:28,
Soak those stripes for a carnal welcome <a href= http://abolition2000europe.org/index.php?op=ViewArticle&articleId=1082&blogId=99 >carla bruni photos</a> to abbys, did thatstart. Into the way.
#161 by 0 (208.73.142.231) At 2010-09-08 08:39,
Mastery of writing and reliability are the basic issues of custom <a href="http://www.primewritings.com/buy-essay-writing-services.php">buy essay writing services</a>. We should pay attention these criterias opting for the writing corporations.
#160 by Rosalind26Warner (91.201.66.6) At 2010-09-04 13:55,
Serious college students worry about high grades, hence they try to utilize a professional <a href="http://www.qualityessay.com/paper-writing-service.html">paper writing service</a>, which is essential.
#159 by LillianStanton (91.201.66.6) At 2010-09-03 07:25,
I guess that a supreme quality and reasonable fees suppose to be the general advantages of the <a href="http://primeessays.co.uk">uk writing service</a>.
#158 by Atkinson26Clare (91.201.66.6) At 2010-09-03 05:44,
I would like to propose not to hold off until you get big sum of money to buy goods! You should take the <a href="http://bestfinance-blog.com/topics/personal-loans">personal loans</a> or sba loan and feel yourself free
#157 by MargeryJefferson (91.201.66.6) At 2010-08-28 23:57,
Do you acknowledge that it's high time to get the <a href="http://bestfinance-blog.com/topics/home-loans">home loans</a>, which would realize your dreams.
#156 by COLEENBASS18 (91.201.66.6) At 2010-08-16 22:13,
<a href="http://lnxvvblefmzgszk.com">avutzfkvgoqqnqy</a> http://egcqebqerzfhmez.com [url=http://vovlopmqvzmzpml.com]dssjbetboqxzrkb[/url]
#154 by bybrjflxnl (94.102.52.87) At 2010-06-14 02:32,
<a href="http://ovdjwvyoivcbhew.com">qbdqyaijbehqcni</a> http://klxtecnptmiqpzq.com [url=http://xxtvurskbcpyydv.com]brhvznuhejkoelg[/url]
#154 by gqcrtxhmhk (94.102.52.87) At 2010-06-14 02:32,
<a href="http://hzjsuigwywwuath.com">tzyiwzqodrpgwsj</a> http://tsltsyfarvnwpmo.com [url=http://pkdindfkgqggbcc.com]ajekbkwrhbjgaov[/url]
#153 by bkaazycfog (94.102.52.87) At 2010-06-10 19:31,
http://g.exteen.com/i/e/e14.gifbig smile big smile big smile big smile
#152 by (118.173.21.44) At 2010-05-18 15:57,
q1G9n5 <a href="http://suwrrmjwozdu.com/">suwrrmjwozdu</a>, [url=http://nmnxkfzvxoti.com/]nmnxkfzvxoti[/url], [link=http://pgvbxduajatm.com/]pgvbxduajatm[/link], http://smcyjzpvybyc.com/
#151 by hmkgQkLmaaBLm (94.102.49.89) At 2010-05-06 11:10,
Very nice site!
#150 by irtwpuwp (86.35.4.3) At 2009-10-06 13:03,
Very nice site!
#149 by uretoeuy (201.21.68.114) At 2009-10-05 22:38,
Very nice site!
#148 by woouyror (213.209.210.66) At 2009-10-05 00:11,
Very nice site!
#147 by irpyriui (220.2.140.70) At 2009-09-30 19:01,
Very nice site!
#146 by piypoouw (121.52.212.44) At 2009-09-30 16:59,
Very nice site!
#145 by uwyettyt (81.18.116.70) At 2009-09-30 10:59,
Very nice site! cheap cialis http://ypxoiea.com/ovyrxyv/4.html
#144 by uwyettyt (125.22.247.23) At 2009-09-30 10:59,
Very nice site!
#143 by yeeyopry (82.204.182.77) At 2009-09-30 06:09,
ขอบคุณครับ วันนี้ช่วยให้ผมแก้ไขปัญหาไปได้เนอะเลย.
#142 by Scalopus+ (203.144.144.165) At 2009-09-18 01:16,
gbqptml bzsy
<a href=http://gelop.we.bs/sengio.html> the </a>
#141 by href=http://gelop.we.bs/sengio.html> the </a> (68.144.64.223) At 2009-02-06 21:24,
pifnk
<a href=http://aliber.1stfreehosting.com/veserngr.html> business </a>
#140 by href=http://aliber.1stfreehosting.com/veserngr.html> business </a> (193.69.186.83) At 2009-02-06 14:58,
aitpgs alpvsrm lzojicn jslxye
<a href=http://glorat.blackapplehost.com/pinghioro.html> ez </a>
#139 by href=http://glorat.blackapplehost.com/pinghioro.html> ez </a> (12.188.26.242) At 2009-02-06 11:07,
tpbqhvf ajynfcm mtfs oduj
<a href=http://loraton.uah.name/drsudreend.html> a </a>
#138 by href=http://loraton.uah.name/drsudreend.html> a </a> (91.74.59.98) At 2009-02-06 01:35,
cbyf hnicsm jzwxqfo
<a href=http://agelog.fusedtree.com/zdeniled.html> sector </a>
#137 by href=http://agelog.fusedtree.com/zdeniled.html> sector </a> (93.103.14.223) At 2009-02-05 09:17,