On Sunday 02 November 2003 1:51 am, Charlie wrote: > On Sun, 2 Nov 2003 05:13 am, many eyes noted that James Sparenberg wrote: > > > I usually compile any new kernels in the /home/charlie directory where > > > > > > > I can access and boot from them even after a newer version install, > > > > as I don't ever upgrade. In this way the Mandrake kernel that comes > > > > with the new version install is in the system and by manually adding > > > > the new kernel to /etc/lilo.conf > > > > To make sure you never overwrite your original kernel (or any kernel > > that you have working.) make sure you edit the makefile and edit the > > EXTRAVERSION line. This way each new kernel you build + it's modules > > are built totally separate from the last. > > > > James > > Thanks James, > I usually place the source into /home/charlie/kernel, then unzip it > and it creates a directory of its own :- linux-2.4.xx-xxmdk or something > similar. Then symlink to that directory from lilo. But putting the image > itself in /boot sounds like a good way to go. I usually symlink into the > other distributions also. But maybe just copying the image to /boot might > be better. > > Charlie
Charlie, I can't recall ever reading any kernel how to or article saying one should symlink in /boot to a kernel in a home dsirectory, or anywhere else. Everything I've ever seen always instructed me to copy the kernel image itself to /boot. My method is that I always go with the distro's kernel first when I install a new version or distro, which is usually done with the source and a symlink in /usr/src. Then I add all other kernels in my /home/wrc/ kernel directory, and copy the images to /boot, as I mentioned. As I play with many kernels, for me this is much quicker and safer than having to mess with symlinking everytime. I just leave the original distro kernel & source in /usr/src alone, and always have an out if I mess something up. However, I must say I can't recall the last time I messed up a kernel doing it in /home/ wrc/kernel. Not that I'm any great Linux guru- it's just that this way is very straight-forward and consistent, and virtually foolproof. In Gentoo, you need to remember to mount /boot, but not in Mandrake, as they do it for you at boot time. Robert
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
