Sometimes /boot is so limited, and tend to forget to do housekeeping. Here goes
dpkg --list | grep linux-image |awk {'print $2'}|grep -v "`uname -r`\|linux-image-generic"|xargs apt-get purge -y
Showing posts with label kernel. Show all posts
Showing posts with label kernel. Show all posts
Sunday, May 8, 2016
Saturday, December 21, 2013
Wednesday, October 31, 2012
Pasang kernel terkini dari PPA
Kernel terkini memang mengujakan, selain dari "bragging right" untuk ada kernel terbaru, ia juga berguna untuk menguji ciri-ciri terbaru pada kernel yang ada di dalam git.
Selain dari kompil sendiri dari git, kita boleh pasang kernel terbaru dari PPA di sini.
Option linux-image-extra, menurut komen di sini adalah untuk kernel yang mengandungi driver-driver seperti untuk KVM dan Virtualbox.
Selamat mencuba!
Tuesday, September 18, 2012
Buang kernel lama selepas upgrade
Run ni dulu:
Pastikan anda faham apa yang anda lakukan, segala risiko tidak akan saya tanggung.
Sumber asal
dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d'
Bila dah yakin, baru run:
dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d' | xargs sudo apt-get -y purgePastikan anda faham apa yang anda lakukan, segala risiko tidak akan saya tanggung.
Sumber asal
Tuesday, May 15, 2012
Compiling Linux Kernel for Ubuntu
Sometimes I felt like I wanted to have a feeling of the new kernel, well my opinion is that Ubuntu and its derivatives aren't designed for such customizations, unless you're a developer.
The notes on kernel compilation is here . Basically for Ubuntu the way is slightly different and seems much easier since you don't have to edit the Grub configurations manually after you created the *.deb file for linux images and headers. Everything will be taken care for you.
My system is now, running Linux Mint 12 [derived from Ubuntu 11.10]
The notes on kernel compilation is here . Basically for Ubuntu the way is slightly different and seems much easier since you don't have to edit the Grub configurations manually after you created the *.deb file for linux images and headers. Everything will be taken care for you.
My system is now, running Linux Mint 12 [derived from Ubuntu 11.10]
vostro-mint source # uname -a
Linux vostro-mint 3.4.0-1-i5 #3 SMP Tue May 15 00:23:33 MYT 2012 x86_64 x86_64 x86_64 GNU/Linux
vostro-mint source # cat /etc/issue
Linux Mint 12 Lisa \n \l
vostro-mint source # cat /proc/version
Linux version 3.4.0-1-i5 (root@vostro-mint) (gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3) ) #3 SMP Tue May 15 00:23:33 MYT 2012
Subscribe to:
Posts (Atom)