Beberapa waktu lalu saya membuat posting tentang upgrade kernel secara manual di Ubuntu. Meskipun pada contoh saya menggunakan kernel seri 3.5, tapi langkah-langkah di posting itu saya peruntukan untuk upgrade kernel secara umum ke seri berapapun. Pada posting ini saya ingin menunjukan langkah-langkah untuk upgrade secara khusus ke kernel 3.6.
Sebelum kita melakukan upgrade, ada beberapa hal yang perlu diperhatikan:
- Jika anda menggunakan driver ATI Catalyst, dan menginstall secara manual, maka sebaiknya lakukan uninstall denagan bersih driver ATI tersebut. Tutorialnya ada di posting saya sebelumnya
- Jika anda menginstall VirtualBox, sebaiknya anda juga menguninstall aplikasi itu. Karena dari pengalaman saya, VirtualBox mengakibatkan kernel panic. Setelah selesai upgrade, anda bisa menginstall lagi VirtualBox
Sekarang saya akan menunjukan apa saja yang saya lakukan untuk upgrade ke kernel 3.6 pada Ubuntu 12.04 saya.
- Masuk ke alamat web: http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6-quantal/
- Karena saya menggunakan Ubuntu 64-bit, file yang saya download adalah: Bagi anda yang menggunakan Ubuntu 32-bit, file yang harus anda download adalah:
- Langkah berikutnya adalah saya membuka terminal, dan menuju ke dalam direktori tempat keempat file tadi berada. Karena saya menggunakan Chromium untuk mendownload, otomatis file berada di direktori Downloads
pupil@DreamRunner:~$ cd Downloads/
- Dari terminal saya membuat direktori baru dengan nama kernel_3.6
pupil@DreamRunner:~/Downloads$ mkdir kernel_3.6
- Berikutnya adalah memindahkan keempat file yang barusan di download ke direktori yang barusan dibuat. Karena hanya empat file tersebut yang namanya diawali dengan kata "linux" maka saya cukup menggunakan satu perintah untuk memindahkan semuanya ke direktori kernel_3.6
pupil@DreamRunner:~/Downloads$ mv linux* kernel_3.6/
- Masuk ke direktori kernel_3.6
pupil@DreamRunner:~/Downloads$ cd kernel_3.6/
- Berikutnya adalah melakukan instalasi keempat file kernel tersebut secara bersamaan
nanti akan keluar proses yang kurang lebih seperti di bawah inipupil@DreamRunner:~/Downloads/kernel_3.6$ sudo dpkg -i *.deb
[sudo] password for pupil: Selecting previously unselected package linux-headers-3.6.0-030600. (Reading database ... 297557 files and directories currently installed.) Unpacking linux-headers-3.6.0-030600 (from linux-headers-3.6.0-030600_3.6.0-030600.201209302035_all.deb) ... Selecting previously unselected package linux-headers-3.6.0-030600-generic. Unpacking linux-headers-3.6.0-030600-generic (from linux-headers-3.6.0-030600-generic_3.6.0-030600.201209302035_amd64.deb) ... Selecting previously unselected package linux-image-3.6.0-030600-generic. Unpacking linux-image-3.6.0-030600-generic (from linux-image-3.6.0-030600-generic_3.6.0-030600.201209302035_amd64.deb) ... Done. Selecting previously unselected package linux-image-extra-3.6.0-030600-generic. Unpacking linux-image-extra-3.6.0-030600-generic (from linux-image-extra-3.6.0-030600-generic_3.6.0-030600.201209302035_amd64.deb) ... Setting up linux-headers-3.6.0-030600 (3.6.0-030600.201209302035) ... Setting up linux-headers-3.6.0-030600-generic (3.6.0-030600.201209302035) ... Setting up linux-image-3.6.0-030600-generic (3.6.0-030600.201209302035) ... Running depmod. update-initramfs: deferring update (hook will be called later) Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.6.0-030600-generic /boot/vmlinuz-3.6.0-030600-generic update-initramfs: Generating /boot/initrd.img-3.6.0-030600-generic W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168g-1.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8106e-1.fw for module r8169 run-parts: executing /etc/kernel/postinst.d/pm-utils 3.6.0-030600-generic /boot/vmlinuz-3.6.0-030600-generic run-parts: executing /etc/kernel/postinst.d/update-notifier 3.6.0-030600-generic /boot/vmlinuz-3.6.0-030600-generic run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.6.0-030600-generic /boot/vmlinuz-3.6.0-030600-generic Generating grub.cfg ... Found linux image: /boot/vmlinuz-3.6.0-030600-generic Found initrd image: /boot/initrd.img-3.6.0-030600-generic Found linux image: /boot/vmlinuz-3.5.4-030504-generic Found initrd image: /boot/initrd.img-3.5.4-030504-generic Found linux image: /boot/vmlinuz-3.5.2-030502-generic Found initrd image: /boot/initrd.img-3.5.2-030502-generic Found linux image: /boot/vmlinuz-3.5.0-030500-generic Found initrd image: /boot/initrd.img-3.5.0-030500-generic Found linux image: /boot/vmlinuz-3.2.0-31-generic Found initrd image: /boot/initrd.img-3.2.0-31-generic Found linux image: /boot/vmlinuz-3.2.0-30-generic Found initrd image: /boot/initrd.img-3.2.0-30-generic Found linux image: /boot/vmlinuz-3.2.0-29-generic Found initrd image: /boot/initrd.img-3.2.0-29-generic Found linux image: /boot/vmlinuz-3.2.0-27-generic Found initrd image: /boot/initrd.img-3.2.0-27-generic Found linux image: /boot/vmlinuz-3.2.0-26-generic Found initrd image: /boot/initrd.img-3.2.0-26-generic Found linux image: /boot/vmlinuz-3.2.0-24-generic Found initrd image: /boot/initrd.img-3.2.0-24-generic Found linux image: /boot/vmlinuz-3.2.0-23-generic Found initrd image: /boot/initrd.img-3.2.0-23-generic Found memtest86+ image: /boot/memtest86+.bin Found Windows 7 (loader) on /dev/sda1 done Setting up linux-image-extra-3.6.0-030600-generic (3.6.0-030600.201209302035) ... Running depmod. update-initramfs: deferring update (hook will be called later) Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.6.0-030600-generic /boot/vmlinuz-3.6.0-030600-generic update-initramfs: Generating /boot/initrd.img-3.6.0-030600-generic W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168g-1.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8106e-1.fw for module r8169 run-parts: executing /etc/kernel/postinst.d/pm-utils 3.6.0-030600-generic /boot/vmlinuz-3.6.0-030600-generic run-parts: executing /etc/kernel/postinst.d/update-notifier 3.6.0-030600-generic /boot/vmlinuz-3.6.0-030600-generic run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.6.0-030600-generic /boot/vmlinuz-3.6.0-030600-generic Generating grub.cfg ... Found linux image: /boot/vmlinuz-3.6.0-030600-generic Found initrd image: /boot/initrd.img-3.6.0-030600-generic Found linux image: /boot/vmlinuz-3.5.4-030504-generic Found initrd image: /boot/initrd.img-3.5.4-030504-generic Found linux image: /boot/vmlinuz-3.5.2-030502-generic Found initrd image: /boot/initrd.img-3.5.2-030502-generic Found linux image: /boot/vmlinuz-3.5.0-030500-generic Found initrd image: /boot/initrd.img-3.5.0-030500-generic Found linux image: /boot/vmlinuz-3.2.0-31-generic Found initrd image: /boot/initrd.img-3.2.0-31-generic Found linux image: /boot/vmlinuz-3.2.0-30-generic Found initrd image: /boot/initrd.img-3.2.0-30-generic Found linux image: /boot/vmlinuz-3.2.0-29-generic Found initrd image: /boot/initrd.img-3.2.0-29-generic Found linux image: /boot/vmlinuz-3.2.0-27-generic Found initrd image: /boot/initrd.img-3.2.0-27-generic Found linux image: /boot/vmlinuz-3.2.0-26-generic Found initrd image: /boot/initrd.img-3.2.0-26-generic Found linux image: /boot/vmlinuz-3.2.0-24-generic Found initrd image: /boot/initrd.img-3.2.0-24-generic Found linux image: /boot/vmlinuz-3.2.0-23-generic Found initrd image: /boot/initrd.img-3.2.0-23-generic Found memtest86+ image: /boot/memtest86+.bin Found Windows 7 (loader) on /dev/sda1 done
- Proses selesai, anda harus restart dan memilih kernel versi ini di grub.
Jika kernel versi ini tidak cocok dengan hardware yang anda pakai, anda bisa menghapus kernel ini dan kembali ke kernel lama. Cara menghapusnya adalah dengan perintah:
sudo apt-get purge linux-image-3.6.0-030600
Tweet
Try to fix your error :
BalasHapusW: Possible missing firmware /lib/firmware/rtl_nic/rtl8168g-1.fw for module r8169
See this blog:
http://unixblogger.wordpress.com/2011/10/18/the-pain-of-an-realtek-rtl8111rtl8168-ethernet-card/
Good luck!
Excuse me sir, i almost never use ethernet card, so i didn't think it was an error. But, i still follow the link, and it worked. My "Kernel driver in use" is now r8168. So, let me conclude this, by using module r8168, i will get faster connection than using module r8169. Am i wright?
Hapus