Revision [4082]
Last edited on 2011-08-08 09:05:15 by KenFongAdditions:
export CONCURRENCY_LEVEL=4
DEB_BUILD_OPTIONS=parallel=4 fakeroot make-kpkg --initrd --append-to-version=-rt kernel-image kernel-headers
DEB_BUILD_OPTIONS=parallel=4 fakeroot make-kpkg --initrd --append-to-version=-rt kernel-image kernel-headers
Deletions:
fakeroot make-kpkg --initrd --append-to-version=-rt kernel-image kernel-headers
Revision [4081]
Edited on 2011-08-08 09:02:41 by KenFongAdditions:
make-kpkg clean
fakeroot make-kpkg --initrd --append-to-version=-rt kernel-image kernel-headers
#echo vesafb >> /etc/initramfs-tools/modules
#echo fbcon >> /etc/initramfs-tools/modules
cd /usr/src
fakeroot make-kpkg --initrd --append-to-version=-rt kernel-image kernel-headers
#echo vesafb >> /etc/initramfs-tools/modules
#echo fbcon >> /etc/initramfs-tools/modules
cd /usr/src
Deletions:
echo vesafb >> /etc/initramfs-tools/modules
echo fbcon >> /etc/initramfs-tools/modules
Revision [3936]
Edited on 2011-04-12 03:47:16 by KenFongAdditions:
==[[UbuntuNicBonding Ubuntu Nic Bonding]]==
==[[UbuntuTop10Todo Ubuntu Top 10 Todo]]==
==[[UbuntuTop10Todo Ubuntu Top 10 Todo]]==
Deletions:
==[[UbuntuTop10Todo UbuntuTop10Todo]]==
===stupid things===
Even wonder why alt-printscreen stops working some time ago? Apparently after a certain kernel version, the sysrq key is no longer bound by default. Re-enable it in sysctl.conf:
kernel.sysrq = 0
Revision [3934]
Edited on 2011-04-12 03:44:34 by KenFongAdditions:
==[[UbuntuNicBonding UbuntuNicBonding]]==
==[[UbuntuTop10Todo UbuntuTop10Todo]]==
==[[UbuntuTop10Todo UbuntuTop10Todo]]==
Deletions:
Revision [3932]
Edited on 2011-04-12 03:42:39 by KenFongAdditions:
==[[UbuntuNicBonding UbuntuNicBonding]]
Revision [3890]
Edited on 2010-12-29 18:59:03 by KenFongAdditions:
===stupid things===
Even wonder why alt-printscreen stops working some time ago? Apparently after a certain kernel version, the sysrq key is no longer bound by default. Re-enable it in sysctl.conf:
kernel.sysrq = 0
Even wonder why alt-printscreen stops working some time ago? Apparently after a certain kernel version, the sysrq key is no longer bound by default. Re-enable it in sysctl.conf:
kernel.sysrq = 0
Revision [3548]
Edited on 2009-10-14 09:00:40 by WikiAdminAdditions:
===dist upgrade from 9.04 to 9.10===
Don't do it unless you can afford it.
update-manager -d
aptitude clean
aptitude autoclean
apt-get autoremove
aptitude install -f
aptitude update
aptitude safe-upgrade
Don't do it unless you can afford it.
update-manager -d
aptitude clean
aptitude autoclean
apt-get autoremove
aptitude install -f
aptitude update
aptitude safe-upgrade
Revision [3532]
Edited on 2009-10-01 08:31:46 by WikiAdminAdditions:
==boot faster==
http://www.linuxlinks.com/article/20090927065957648/UbuntuTips-Booting-Part3.html
Edit /etc/init.d/rc
CONCURRENCY=shell
http://www.linuxlinks.com/article/20090927065957648/UbuntuTips-Booting-Part3.html
Edit /etc/init.d/rc
CONCURRENCY=shell
Revision [3519]
Edited on 2009-09-16 02:43:44 by WikiAdminAdditions:
aptitude install kernel-package fakeroot
cp /boot/config-whatever .config
Turn off kernek debugging to reduce the image size: go into "Kernel hacking"; then, under "Kernel debugging", turn OFF "Compile the kernel with debug info".
cp /boot/config-whatever .config
Turn off kernek debugging to reduce the image size: go into "Kernel hacking"; then, under "Kernel debugging", turn OFF "Compile the kernel with debug info".
Revision [3513]
Edited on 2009-09-05 09:19:51 by WikiAdminAdditions:
==cool howto's==
http://www.howtoforge.com/how-to-add-a-splash-image-to-grub-2-on-ubuntu-9.04
http://www.howtoforge.com/how-to-add-a-splash-image-to-grub-2-on-ubuntu-9.04
Deletions:
# update your installation
apt-get update
# install kernel source
apt-get install kernel-image
# install kernel headers
apt-get install linux-headers-`uname -?`
# install development tools (e.g. gcc, make, etc.)
apt-get install build-essential
Revision [3507]
Edited on 2009-08-26 09:05:25 by WikiAdminAdditions:
===if-up.d===
ok weird things about files in this directory. I added a script to set up txqueuelen but it was not ran or it's being overwritten. somehow, I changed ntpd to not run in the background (by removing & at the end) and that solved the problem. Perhaps runparts dies when it encounter an error or something. Anyway, that may also be why my nfs mounts are not brought up on boot because of files in this directory.
ok weird things about files in this directory. I added a script to set up txqueuelen but it was not ran or it's being overwritten. somehow, I changed ntpd to not run in the background (by removing & at the end) and that solved the problem. Perhaps runparts dies when it encounter an error or something. Anyway, that may also be why my nfs mounts are not brought up on boot because of files in this directory.
Revision [3506]
Edited on 2009-08-26 08:36:13 by WikiAdminAdditions:
Check packages that have been held:
# dpkg --get-selections | grep hold
linux-generic hold
linux-headers-generic hold
linux-image-generic hold
linux-libc-dev hold
linux-restricted-modules-common hold
linux-restricted-modules-generic hold
# dpkg --get-selections | grep hold
linux-generic hold
linux-headers-generic hold
linux-image-generic hold
linux-libc-dev hold
linux-restricted-modules-common hold
linux-restricted-modules-generic hold
Revision [3505]
Edited on 2009-08-26 08:31:37 by WikiAdminAdditions:
Also check out the kernelcheck project.
Revision [3504]
Edited on 2009-08-26 08:30:50 by WikiAdminAdditions:
Similarly, one may use the hold and unhold command from aptitude to prevent safe-upgrade from installing certain packages
aptitude hold linux-image
aptitude hold linux-image
Revision [3503]
Edited on 2009-08-26 08:27:17 by WikiAdminAdditions:
===Skipping packages in update manager===
Open synaptic package manager, select upgradable packages, then go to package > lock version. Seems to me it's actually adding a regex to a file. The following contains packages I want to exclude (linux kernel).
# /etc/apt/apt.conf.d/05aptitude
aptitude::Keep-Unused-Pattern "^linux-image.*$ | ^linux-restricted-modules.*$ | ^linux-ubuntu-modules.*$";
aptitude::Get-Root-Command "sudo:/usr/bin/sudo";
Open synaptic package manager, select upgradable packages, then go to package > lock version. Seems to me it's actually adding a regex to a file. The following contains packages I want to exclude (linux kernel).
# /etc/apt/apt.conf.d/05aptitude
aptitude::Keep-Unused-Pattern "^linux-image.*$ | ^linux-restricted-modules.*$ | ^linux-ubuntu-modules.*$";
aptitude::Get-Root-Command "sudo:/usr/bin/sudo";
Revision [3475]
Edited on 2009-08-06 09:19:56 by WikiAdminAdditions:
Step 0: Backup /boot. This is important dude!
Deletions:
Revision [3474]
Edited on 2009-08-06 09:19:33 by WikiAdminAdditions:
**Backup /boot**
dpkg -i linux-headers-2.6.30.4_2.6.30.4-10.00.Custom_amd64.deb linux-image-2.6.30.4_2.6.30.4-10.00.Custom_amd64.deb
check grub.cfg and then reboot.
dpkg -i linux-headers-2.6.30.4_2.6.30.4-10.00.Custom_amd64.deb linux-image-2.6.30.4_2.6.30.4-10.00.Custom_amd64.deb
check grub.cfg and then reboot.
Deletions:
dpkg -i linux-headers-2.6.20-16-2be-k7_2.6.20-16_i386.deb
Revision [3473]
Edited on 2009-08-06 08:52:23 by WikiAdminAdditions:
echo vesafb >> /etc/initramfs-tools/modules
echo fbcon >> /etc/initramfs-tools/modules
echo fbcon >> /etc/initramfs-tools/modules
Revision [3472]
Edited on 2009-08-06 08:49:33 by WikiAdminAdditions:
fakeroot make-kpkg --initrd --append-to-version=-custom --bzimage kernel-image kernel-headers