HN-Community
compile kernel gagal - Printable Version

+- HN-Community (https://hacker-newbie.org)
+-- Forum: Miscellaneous (https://hacker-newbie.org/forum-86.html)
+--- Forum: Operating System (https://hacker-newbie.org/forum-13.html)
+---- Forum: GNU/Linux (https://hacker-newbie.org/forum-15.html)
+---- Thread: compile kernel gagal (/thread-13576.html)



compile kernel gagal - sarno - 04-30-2012

gara2 compile kernel 3.4rc4 gagal menyebabkan install app gag bisa,,
Code:
root@sarno:~# sudo apt-get install mesa-utils Reading package lists... Done Building dependency tree Reading state information... Done mesa-utils is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2 not fully installed or removed. After this operation, 0B of additional disk space will be used. Setting up linux-image-3.4.0-030400rc4-generic (3.4.0-030400rc4.201204230908) ... Running depmod. update-initramfs: Generating /boot/initrd.img-3.4.0-030400rc4-generic W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168f-2.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168f-1.fw for module r8169 Running postinst hook script /usr/sbin/update-grub. Generating grub.cfg ... /etc/grub.d/05_debian_theme: line 11: [code]: command not found User postinst hook script [/usr/sbin/update-grub] exited with value 127 dpkg: error processing linux-image-3.4.0-030400rc4-generic (--configure): subprocess installed post-installation script returned error exit status 127 Setting up linux-image-3.4.0-030400rc4-generic-pae (3.4.0-030400rc4.201204230908) ... Running depmod. update-initramfs: Generating /boot/initrd.img-3.4.0-030400rc4-generic-pae W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168f-2.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168f-1.fw for module r8169 Running postinst hook script /usr/sbin/update-grub. Generating grub.cfg ... /etc/grub.d/05_debian_theme: line 11: [code]: command not found User postinst hook script [/usr/sbin/update-grub] exited with value 127 dpkg: error processing linux-image-3.4.0-030400rc4-generic-pae (--configure): subprocess installed post-installation script returned error exit status 127 Errors were encountered while processing: linux-image-3.4.0-030400rc4-generic linux-image-3.4.0-030400rc4-generic-pae E: Sub-process /usr/bin/dpkg returned an error code (1)


ada solusi gag kak ? tak sambil cari di forum lain


RE: compile kernel gagal - red-dragon - 04-30-2012

hapus aja kernel barunya
Code:
# apt-get remove --purge --yes linux-image-3.4.0-030400rc4-generic-pae # apt-get install -f --yes # update-initframs -u -v -k($uname -r) # update-grub # reboot

note
kalo sobat pake backtrack, setelah perintah
Code:
# update-initframs -u -v -k($uname -r)

Tambahkan perintah
Code:
# fix-splash



RE: compile kernel gagal - sarno - 04-30-2012

kok tetep gg kehapus ya kak ,,ne aku pake BT5R2-kde kak


Code:
root@sarno:~# apt-get remove --purge --yes linux-image-3.4.0-030400rc4-generic-pae Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: linux-image-3.4.0-030400rc4-generic-pae* 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 2 not fully installed or removed. After this operation, 118MB disk space will be freed. (Reading database ... 325818 files and directories currently installed.) Removing linux-image-3.4.0-030400rc4-generic-pae ... Examining /etc/kernel/prerm.d. Running postrm hook script /usr/sbin/update-grub. Generating grub.cfg ... /etc/grub.d/05_debian_theme: line 11: [code]: command not found User postrm hook script [/usr/sbin/update-grub] exited with value 127 Examining /etc/kernel/postrm.d . The link /vmlinuz.old is a damaged link Removing symbolic link vmlinuz.old you may need to re-run your boot loader[grub] The link /initrd.img.old is a damaged link Removing symbolic link initrd.img.old you may need to re-run your boot loader[grub] Purging configuration files for linux-image-3.4.0-030400rc4-generic-pae ... Running postrm hook script /usr/sbin/update-grub. Generating grub.cfg ... /etc/grub.d/05_debian_theme: line 11: [code]: command not found User postrm hook script [/usr/sbin/update-grub] exited with value 127 Examining /etc/kernel/postrm.d . Setting up linux-image-3.4.0-030400rc4-generic (3.4.0-030400rc4.201204230908) ... Running depmod. update-initramfs: Generating /boot/initrd.img-3.4.0-030400rc4-generic W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168f-2.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168f-1.fw for module r8169 Running postinst hook script /usr/sbin/update-grub. Generating grub.cfg ... /etc/grub.d/05_debian_theme: line 11: [code]: command not found User postinst hook script [/usr/sbin/update-grub] exited with value 127 dpkg: error processing linux-image-3.4.0-030400rc4-generic (--configure): subprocess installed post-installation script returned error exit status 127 Errors were encountered while processing: linux-image-3.4.0-030400rc4-generic E: Sub-process /usr/bin/dpkg returned an error code (1) root@sarno:~# apt-get install -f --yes Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0B of additional disk space will be used. Setting up linux-image-3.4.0-030400rc4-generic (3.4.0-030400rc4.201204230908) ... Running depmod. update-initramfs: Generating /boot/initrd.img-3.4.0-030400rc4-generic W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168f-2.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168f-1.fw for module r8169 Running postinst hook script /usr/sbin/update-grub. Generating grub.cfg ... /etc/grub.d/05_debian_theme: line 11: [code]: command not found User postinst hook script [/usr/sbin/update-grub] exited with value 127 dpkg: error processing linux-image-3.4.0-030400rc4-generic (--configure): subprocess installed post-installation script returned error exit status 127 Errors were encountered while processing: linux-image-3.4.0-030400rc4-generic E: Sub-process /usr/bin/dpkg returned an error code (1) root@sarno:~# update-initframs -u -v -k($uname -r) bash: syntax error near unexpected token `('

dah bisa kak

Code:
http://hacker-newbie.org/showthread.php?tid=8863

kalo yang ini kernel bukan kak

Code:
root@sarno:~# ls -l /boot/vmlinuz* -rw-r--r-- 1 root root 4710864 2012-02-29 08:57 /boot/vmlinuz-3.2.6 -rw-r--r-- 1 root root 4735984 2012-04-29 15:26 /boot/vmlinuz-3.3.2 -rw-r--r-- 1 root root 4735984 2012-04-28 19:41 /boot/vmlinuz-3.3.2.old root@sarno:~# apt-get remove --purge linux-image-3.3.2.old Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package linux-image-3.3.2.old

gag bisa dihapus