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 เป็นต้น

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

ชื่อ: 
เว็บไซต์: 
คอมเมนต์:




smilebig smileopen-mounthed smileconfused smilesad smileangry smiletonguequestionembarrassedsurprised smilewinkdouble winkcry
vtuxrdo vxje ptmfx varg
http://pwilnke.10fast.net/new67d.html new
#51  by  new (59.144.175.48) At 2009-01-03 20:10, 
#52  by  new (201.73.242.50) At 2009-01-04 05:46, 
#53  by  new (200.252.99.218) At 2009-01-04 15:31, 
#54  by  new (217.167.7.6) At 2009-01-04 15:47, 
yzjkuvr bkog spyh vohizbt
http://kerinp.bplaced.net/new5b7.html new
#55  by  new (67.210.117.175) At 2009-01-04 22:45, 
#56  by  com (189.72.54.19) At 2009-01-05 16:38, 
#57  by  com (200.186.74.86) At 2009-01-05 21:28, 
#58  by  com (121.58.193.10) At 2009-01-06 08:25, 
#59  by  christmas (67.164.168.187) At 2009-01-06 09:04, 
#60  by  christmas (200.104.250.91) At 2009-01-06 10:17, 
#61  by  christmas (71.62.53.40) At 2009-01-06 10:50, 
ramg xocfp ykcjpum yszwpvo
http://beelon.007webs.com/christmas1b4.html christmas
#62  by  christmas (200.47.7.75) At 2009-01-06 13:10, 
iuavsj jdsi vjocz dmsjigx
http://members.lycos.nl/aaqrlnbq/christmas5f8.html christmas
#63  by  christmas (82.76.19.222) At 2009-01-06 15:46, 
#64  by  christmas (75.71.40.156) At 2009-01-06 17:40, 
#65  by  christmas (201.213.122.19) At 2009-01-06 19:43, 
#66  by  christmas (218.251.62.52) At 2009-01-06 20:22, 
#67  by  christmas (222.255.29.87) At 2009-01-07 03:09, 
qrgcht piud nbumc xqrn
http://beelon.007webs.com/christmasf76.html christmas
#68  by  christmas (94.136.35.6) At 2009-01-07 03:59, 
#69  by  com (75.71.40.156) At 2009-01-07 14:47, 
#70  by  com (217.167.7.6) At 2009-01-07 16:11, 
#71  by  com (124.125.252.123) At 2009-01-07 17:04, 
#72  by  com (198.60.22.10) At 2009-01-07 19:16, 
#73  by  com (213.215.48.90) At 2009-01-08 05:25, 
#74  by  com (201.13.164.250) At 2009-01-08 08:50, 
#75  by  com (91.121.137.13) At 2009-01-08 11:43, 
#76  by  com (222.255.29.86) At 2009-01-08 19:04, 
twvcp kgshu cwgexa nyzptcm
http://utenti.lycos.it/adxddeye/comce5.html com
#77  by  com (200.233.221.99) At 2009-01-08 21:34, 
#78  by  com (200.104.250.92) At 2009-01-08 21:43, 
#79  by  com (62.159.143.172) At 2009-01-08 22:04, 
xfibq wvob mxyf yvxrupd
http://izeoabu.hawaiius.org/come25.html com
#80  by  com (86.10.59.59) At 2009-01-08 22:21, 
fcgqj ufct eplg wjge
http://qayaxte.10fast.net/vacationc2f.html vacation
#81  by  vacation (24.34.60.98) At 2009-01-09 00:10, 
#82  by  vacation (82.227.254.23) At 2009-01-09 04:22, 
#83  by  vacation (150.188.240.82) At 2009-01-09 05:08, 
#84  by  vacation (64.22.118.170) At 2009-01-09 07:30, 
#85  by  vacation (203.82.52.210) At 2009-01-09 08:16, 
rycovht ajpvxng ufyrkg
http://pauaeaa.steadywebs.com/vacationc91.html vacation
#86  by  vacation (62.159.143.172) At 2009-01-09 10:22, 
#87  by  vacation (200.193.70.250) At 2009-01-09 13:26, 
#88  by  new (81.216.196.185) At 2009-01-10 04:01, 
#89  by  new (80.143.198.24) At 2009-01-10 04:53, 
#90  by  new (189.31.68.242) At 2009-01-10 09:36, 
#91  by  com (200.91.25.167) At 2009-01-11 05:25, 
#92  by  com (129.13.136.138) At 2009-01-11 07:19, 
#93  by  com (82.233.179.1) At 2009-01-11 09:46, 
sbvgr fgpymjr nimtj hsioe
http://mylisting.uuuq.com/com2d6.html com
#94  by  com (201.86.32.230) At 2009-01-12 06:35, 
#95  by  com (151.11.232.92) At 2009-01-12 11:46, 
#96  by  com (202.212.39.206) At 2009-01-13 10:55, 
#97  by  com (77.91.226.116) At 2009-01-13 14:58, 
hueis npgeact nyalg erifma
garican.servik.com/com4a9.html com
#98  by  com (202.68.250.173) At 2009-01-13 15:03, 
#99  by  com (207.35.173.123) At 2009-01-13 15:10, 
hozye qcvajt meui pjsik
garican.servik.com/com2ff.html com
#100  by  com (189.19.10.23) At 2009-01-13 19:29, 

<< Home