tapi saya mw share aj neh gan...
Awalnya saya emang gak percaya tuh..
masa update kernel hanya dengan 10 menit saja?
tapi setelah dibuktikan...
wah...ajiiiiiiiiiiiiiiiiiiiiiiib..
mungkin klo yang expert dalam mengetik hanya 3 menit saja kali...heheh
oke...sekarang langsung saja cara update kernel 9.10 hanya dengan 10 menit saja
Langkah-langkahnya
1. kalian harus siapkan file-file berikut ini.
* linux-headers-2.6.33-020633_2.6.33-020633_all.debklo gak ada silahkan download disini aja.
* linux-headers-2.6.33-020633-generic_2.6.33-020633_i386.deb
* linux-image-2.6.33-020633-generic_2.6.33-020633_i386.deb
* linux-headers-2.6.33-020633_2.6.33-020633_all.deb
* linux-headers-2.6.33-020633-generic_2.6.33-020633_i386.deb
* linux-image-2.6.33-020633-generic_2.6.33-020633_i386.deb
2.klo sudah di download(or sudah ada filenya). pindahkan file tersebut ke Desktop dan buatlah 1 folder baru.
yang ini supaya gampang gan.. untuk kompile di terminalnya.
3. kemudian kita buka terminal terlebih
ketikan perintah $ sudo su ----> untuk ubuntu
sudo su ini dimaksudkan supaya kita bisa masuk ke root.
4. setelah itu kita masuk ke folder yang ada di Desktop tersebut
klo gak tahu perintahnya
" cd /home/abdul/Desktop/ade " tanpa tanda petik
catt : sesuaikan nama user dan nama folder yang ada diDesktop
5. kemudian ketikan perintaj-perintah berikut ;
dpkg -i linux-headers-2.6.33-020633_2.6.33-020633_all.deb
dpkg -i linux-headers-2.6.33-020633-generic_2.6.33-020633_i386.deb
dpkg -i linux-image-2.6.33-020633-generic_2.6.33-020633_i386.deb
catt; satu-satu ya gan...untuk kompile imagenya...jangan langsung semuanya
6. langkah terakhir..mengedit grubnya
caranya ketik perintah " nano /boot/grub/grub.cfg" tanpa tanda petik
nanti akan banyak komen-komen tuh.....
berikut conoh isi filenya
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s /boot/grub/grubenv ]; then
have_grubenv=true
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
saved_entry=${prev_saved_entry}
save_env saved_entry
prev_saved_entry=
save_env prev_saved_entry
fi
insmod ext2
set root=(hd0,11)
search --no-floppy --fs-uuid --set 0418b7d8-260a-46c3-a48c-3826eed4f944
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/white
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.33-020633-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,11)
search --no-floppy --fs-uuid --set 0418b7d8-260a-46c3-a48c-3826eed4f944
linux /boot/vmlinuz-2.6.33-020633-generic root=UUID=0418b7d8-260a-46c3-a48c-3826eed4f944 ro quiet splash
initrd /boot/initrd.img-2.6.33-020633-generic
}
menuentry "Ubuntu, Linux 2.6.33-020633-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,11)
search --no-floppy --fs-uuid --set 0418b7d8-260a-46c3-a48c-3826eed4f944
linux /boot/vmlinuz-2.6.33-020633-generic root=UUID=0418b7d8-260a-46c3-a48c-3826eed4f944 ro single
initrd /boot/initrd.img-2.6.33-020633-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,11)
search --no-floppy --fs-uuid --set 0418b7d8-260a-46c3-a48c-3826eed4f944
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=0418b7d8-260a-46c3-a48c-3826eed4f944 ro quiet splash
initrd /boot/initrd.img-2.6.31-14-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,11)
search --no-floppy --fs-uuid --set 0418b7d8-260a-46c3-a48c-3826eed4f944
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=0418b7d8-260a-46c3-a48c-3826eed4f944 ro single
initrd /boot/initrd.img-2.6.31-14-generic
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (on /dev/sda1)" {
insmod ntfs
set root=(hd0,1)
search --no-floppy --fs-uuid --set b8ec1838ec17eefe
drivemap -s (hd0) ${root}
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
pusing gak tuh....
kemudian cari versi kernel sebelumnya gan... kemudian hapus saja kernel versi lamanya
klo sudah nanti bisa kayak gini untuk grub.cfg terbarunya.
bisa di copy paste gan.
oya jangan lupa klo copy-paste mending pake editor gedit daripada nano
nah kaya gini perintahnya " nano /boot/grub/grub.cfg" tanpa tanda petik
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s /boot/grub/grubenv ]; then
have_grubenv=true
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
saved_entry=${prev_saved_entry}
save_env saved_entry
prev_saved_entry=
save_env prev_saved_entry
fi
insmod ext2
set root=(hd0,11)
search --no-floppy --fs-uuid --set 0418b7d8-260a-46c3-a48c-3826eed4f944
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/white
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.33-020633-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,11)
search --no-floppy --fs-uuid --set 0418b7d8-260a-46c3-a48c-3826eed4f944
linux /boot/vmlinuz-2.6.33-020633-generic root=UUID=0418b7d8-260a-46c3-a48c-3826eed4f944 ro quiet splash
initrd /boot/initrd.img-2.6.33-020633-generic
}
menuentry "Ubuntu, Linux 2.6.33-020633-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,11)
search --no-floppy --fs-uuid --set 0418b7d8-260a-46c3-a48c-3826eed4f944
linux /boot/vmlinuz-2.6.33-020633-generic root=UUID=0418b7d8-260a-46c3-a48c-3826eed4f944 ro single
initrd /boot/initrd.img-2.6.33-020633-generic
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (on /dev/sda1)" {
insmod ntfs
set root=(hd0,1)
search --no-floppy --fs-uuid --set b8ec1838ec17eefe
drivemap -s (hd0) ${root}
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
klo sudah langsung disave saja....
dan kemudian di restart....
ini screenshot sebelum kernel di update

sesudah kernel di update

udah ganti kan gan....
gimana
berapa menit gan waktunya.????
1 menit?
2 menit?
atau 30 detik??
jangan lupa untuk kommentnya ya.......
0 comments:
Post a Comment