[techtalk] initrd/kernel building

Jeff Dike jdike at karaya.com
Sat Jan 8 10:47:48 EST 2000


> Or, can I just not bother with initrd? Is it worth having? 

You don't need it.

You should also probably change the kernel version number if it would 
otherwise be the same as what you've already got.  What I did was make 
EXTRAVERSION=a, so that the new kernel version was 2.2.5a rather than the 
2.2.5 that came with the system.  This makes module version checking work 
better.  It lets you keep the new modules separate from the old ones, since 
they'll end up in different directories.

My usual drill is
	make clean (if necessary)
	make config (or menuconfig or xconfig)
	make dep
	make

>From here on, I'm a little fuzzy, since I haven't done it in so long (my 
kernels don't run directly on hardware).

	add a lilo entry if it's not already there
	as root, make zlilo
	make modules
	as root, make modules_install
	reboot
				Jeff



************
techtalk at linuxchix.org   http://www.linuxchix.org




More information about the Techtalk mailing list