Revision [4082]

Last edited on 2011-08-08 09:05:15 by KenFong
Additions:
export CONCURRENCY_LEVEL=4
DEB_BUILD_OPTIONS=parallel=4 fakeroot make-kpkg --initrd --append-to-version=-rt kernel-image kernel-headers
Deletions:
export CONCURRENCY_LEVEL=3
fakeroot make-kpkg --initrd --append-to-version=-rt kernel-image kernel-headers


Revision [4081]

Edited on 2011-08-08 09:02:41 by KenFong
Additions:
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
Deletions:
fakeroot make-kpkg --initrd --append-to-version=-custom --bzimage kernel-image kernel-headers
echo vesafb >> /etc/initramfs-tools/modules
echo fbcon >> /etc/initramfs-tools/modules


Revision [3936]

Edited on 2011-04-12 03:47:16 by KenFong
Additions:
==[[UbuntuNicBonding Ubuntu Nic Bonding]]==
==[[UbuntuTop10Todo Ubuntu Top 10 Todo]]==
Deletions:
==[[UbuntuNicBonding UbuntuNicBonding]]==
==[[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 KenFong
Additions:
==[[UbuntuNicBonding UbuntuNicBonding]]==
==[[UbuntuTop10Todo UbuntuTop10Todo]]==
Deletions:
==[[UbuntuNicBonding UbuntuNicBonding]]


Revision [3932]

Edited on 2011-04-12 03:42:39 by KenFong
Additions:
==[[UbuntuNicBonding UbuntuNicBonding]]


Revision [3890]

Edited on 2010-12-29 18:59:03 by KenFong
Additions:
===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 [3548]

Edited on 2009-10-14 09:00:40 by WikiAdmin
Additions:
===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


Revision [3532]

Edited on 2009-10-01 08:31:46 by WikiAdmin
Additions:
==boot faster==
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 WikiAdmin
Additions:
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".


Revision [3513]

Edited on 2009-09-05 09:19:51 by WikiAdmin
Additions:
==cool howto's==
http://www.howtoforge.com/how-to-add-a-splash-image-to-grub-2-on-ubuntu-9.04
Deletions:
After a fresh install of 6.06, you'd probably want to run the followings to install the usual but missing stuff
# 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 WikiAdmin
Additions:
===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.


Revision [3506]

Edited on 2009-08-26 08:36:13 by WikiAdmin
Additions:
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


Revision [3505]

Edited on 2009-08-26 08:31:37 by WikiAdmin
Additions:
Also check out the kernelcheck project.


Revision [3504]

Edited on 2009-08-26 08:30:50 by WikiAdmin
Additions:
Similarly, one may use the hold and unhold command from aptitude to prevent safe-upgrade from installing certain packages
aptitude hold linux-image


Revision [3503]

Edited on 2009-08-26 08:27:17 by WikiAdmin
Additions:
===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";


Revision [3475]

Edited on 2009-08-06 09:19:56 by WikiAdmin
Additions:
Step 0: Backup /boot. This is important dude!
Deletions:
**Backup /boot**


Revision [3474]

Edited on 2009-08-06 09:19:33 by WikiAdmin
Additions:
**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.
Deletions:
dpkg -i linux-image-2.6.20-16-2be-k7_2.6.20-16_i386.deb
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 WikiAdmin
Additions:
echo vesafb >> /etc/initramfs-tools/modules
echo fbcon >> /etc/initramfs-tools/modules


Revision [3472]

Edited on 2009-08-06 08:49:33 by WikiAdmin
Additions:
fakeroot make-kpkg --initrd --append-to-version=-custom --bzimage kernel-image kernel-headers
Deletions:
fakeroot make-kpkg --initrd --append-to-version=-some-string-here kernel-image kernel-headers


Revision [3471]

The oldest known version of this page was created on 2009-08-06 08:19:26 by WikiAdmin
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki