Fix README.kernel-sources to mantch an actual kernel 2.6 series,
and make better suggestions regarding kernel building.

Signed-off-by: Thomas Backlund <[EMAIL PROTECTED]>

--- README.kernel-sources.old	2006-09-05 22:33:54.000000000 +0300
+++ README.kernel-sources	2006-09-05 23:21:00.000000000 +0300
@@ -1,4 +1,4 @@
-Hello Mandrake Users,
+Hello Mandriva Users,
 
 kernel-headers contains the headers for the source code of Linux kernel.
 All source code necessary to compile a new kernel is included in two
@@ -15,44 +15,55 @@ may need to compile your own kernel for 
 new module which need a more recent kernel, you need a feature of a new
 kernel, etc...
 Anyway, all the new kernels may be found in the cooker distrib (look for
-mirrors at http://www.linux-mandrake.com/en/cookerdevel.php3).
+mirrors at http://qa.mandriva.com/twiki/bin/view/Main/CookerMirrors).
 
 Here is a short sum-up of what you can find in the Kernel-HOWTO. Consult
 it in case of a problem or if the shortcut here provided does not meet
 your needs. You should also consult the README of kernel-sources.
 
+
+
 1. Configure your new kernel
 
-cd into /usr/src/linux/
-To clean-up previous compilations, issue "make mrproper",
+You should never build a kernel as root, so as a normal user:
+Copy the source in /usr/src/linux/ to ~/kernel/
+Change to ~/kernel/ and clean-up previous compilations, by issuing 
+"make mrproper",
 In console mode, run "make menuconfig",
 Under X11, run "make xconfig".
 
-Configure then all sections of your kernel making each feature you need
+Then configure all sections of your kernel making each feature you need
 available constantly or as a module. Note that you should compile most
 features as a module, as it consume less memory, taking into account
 that some of them cannot be modules as you may need them at boot time,
 before dynamic modules be loaded...
 
-Then run "make dep" to prepare the source for compilation.
+
 
 2. Compile it
 
-Just issue "make bzImage" to create a compressed kernel image. 
-Also have a "make modules" to compile the modules you configured.
-Make a backup of your current modules (in case of a problem) and then
-"make modules_install" (Read Documentation/modules.txt for more
-information).
+Just issue "make" to create a compressed kernel image and the modules you 
+configured.
+
+
 
 3. install your new kernel
 
-"make install"
+Now you need root privilegies, so:
+Issue "su" and enter root password.
+Issue "make modules_install"
+
+This will copy your modules and needed files to /lib/modules/
+
+Issue "make install"
 
 This will copy your new kernel and system.map to boot dir (/boot/) with
 correct names including version, and change respective links.
-It also backup your old files with .old extensions.
+
 It finally runs lilo to take into account your new kernel.
 
+
+
 4. Modify Lilo to allow your booting on old kernel
 
 * This step is optional, although recommended *
@@ -63,6 +74,8 @@ old and the new one.
 You need to run lilo then to take your changes into account.
 You may also use linuxconf to do all that with a nice GUI.
 
+
+
 5. Reboot your machine...
 
 And pray.
@@ -73,4 +86,5 @@ Enjoy!
 
 
 ========================================================================
-(c) 1999 MandrakeSoft, Camille Bégnis <[EMAIL PROTECTED]>
+(c) 1999-2006 Mandriva, Camille Bégnis <[EMAIL PROTECTED]>
+(c) 2006 Thomas Backlund <[EMAIL PROTECTED]> 

Reply via email to