https://bugzilla.novell.com/show_bug.cgi?id=619754
https://bugzilla.novell.com/show_bug.cgi?id=619754#c50
--- Comment #50 from Rafael Wysocki 2010-08-30 22:13:01 UTC ---
@Jeff: The "build from scratch" part of my question was more important. :-)
@Russ: The procedure is the following:
1. Get the kernel sources. My favorite way is to use git for this purpose:
$ git clone \
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git linux-2.6
(you'll need to install git packages to use that). Then, your kernel source
will be located in the linux-2.6 subdirectory of the current directory.
2. Go to the kernel source directory and do:
$ zcat /proc/config.gz > .config
(this creates a kernel source configuration file matching SUSE kernel's
config).
3. Run "make" (if you have a multicore CPU, use "make -jN", where N is the
number of CPU cores in the system plus one, to speed up things).
4. If the build is successful, run "make modules_install"
5. Run
$ cat include/generated/utsrelease.h
and write down the string in quotes (this is the new kernel version string).
6. Run as root:
# export KERNEL_VERSION="string in quotes from step 5."
# cp arch/x86/boot/bzImage /boot/vmlinuz-$KERNEL_VERSION && \
cp System.map /boot/System.map-$KERNEL_VERSION
# mkinitrd -k vmlinuz-$KERNEL_VERSION -i initrd-$KERNEL_VERSION
7. Add the new kernel entry to /boot/grub/menu.lst
Basically, copy one of the existing entries and replace all instances of
the kernel version in it (eg. 2.6.34-12-desktop) with $KERNEL_VERSION from
step 6.
8. Reboot and select the new kernel from the list.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.