2008年9月17日 星期三

更換Eee PC 的kernel

先在Eee PC中將kernel編好後,同『Eee PC 進不了X window!!』步驟,進入shell,執行下列步驟:

# mount sda2 and copy new System.map, bzImage, and modules into /boot
mkdir /mnt/sda2
mount /dev/sda2 /mnt/sda2
cp /mnt/sda2/usr/src/linux-source-2.6.26.1-eeepc/System.map /boot/System.map-2.6.26.1-eeepc
cp /mnt/sda2/usr/src/linux-source-2.6.26.1-eeepc/arch/i386/boot/bzImage /boot/vmlinuz-2.6.26.1-eeepc
mkdir /lib/modules/2.6.26.1-eeepc
cp -a /mnt/sda2/lib/modules/2.6.26.1-eeepc/ /lib/modules/2.6.26.1-eeepc/

再來修改/boot/grub/menu.list,其中/boot/initramfs-eeepc.img不用更動,其餘的就照一般改變kernel版本的方式來進行即可

沒有留言: