Hi,

I don't know the difference between kernel-source-2.4.13-2mdk.i586.rpm and 
kernel-2.4.13-2mdk.src.rpm, I didn't look at their content list. 
I just know that after installing the the ...src.rpm I didn't have anything 
new under /usr/src/ as expected but I did after installing 'kernel-headers' 
and 'kernel-sources'.

I think the right steps to recompile (under X Windows and as root) are:

cd /usr/src
ls -l   (check /usr/src/linux points to your brand new 2.4.13)
cd linux
make mrproper
make xconfig (here is where you customize your kernel, it can take you a long 
time)
make dep
make clean
make bzImage
make modules
make modules_install

Copy /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz-2.4.13-mdk-new. Then 
go to /etc/lilo.conf add something like this:

image=/boot/vmlinuz-2.4.13-2mdk-new
        label=newlinux
        root=/dev/hde6 <- change to your root partition
        read-only
        optional
        vga=788
        append="devfs=mount quiet"
 
And change

default=newlinux

and ensure timeout is enough for you to change your mind...

timeout=100

Save the changes a do:
lilo 

And reboot your new kernel!

If something goes wrong reboot again but choose 'linux' instead of 'newlinux' 
at lilo.

Please, correct me if some step is wrong.

Jose

El Sábado 03 Noviembre 2001 16:22, Søren Neigaard escribió:
> I have now downloaded it all. What's the difference between
> kernel-source-2.4.13-2mdk.i586.rpm and kernel-2.4.13-2mdk.src.rpm?
>
> I want to conmipe my own kernel, so I can exclude the modules I'm not
> using. Is there a good howto for Mandrake on this, one that tells me how
> to make a rollback if everything goes wrong too?
>
> On Sat, 2001-11-03 at 10:32, Jose Luis Vazquez Gonzalez wrote:
> > Yes,
> >
> > kernel-2.4.13-2mdk.i586.rpm (Cooker)
> >
> > Is the one. is says Cooker because is under Mandrake cooker development
> > and not under any of the official bersions of mandrake 7.1, 7.2, 8.0 or
> > 8.1. I suppose the packages may be in the next distro release, 8.2?
> >
> > Remembar to get also 'kernel-headers' and 'kernel-source' so you may
> > costumize your kernel.
> >
> > Jose
> >
> > El Sábado 03 Noviembre 2001 10:54, Søren Neigaard escribió:
> > > I cant seem to find that package, but I can find
> > > kernel-2.4.13-2mdk.i586.rpm (Cooker) - is this the one?
> > >
> > > On Fri, 2001-11-02 at 11:59, Jose Luis Vazquez Gonzalez wrote:
> > > > The easiest thing for you would be to go to rpmfind.net:
> > > >
> > > > fr2.rpmfind.net (for instace, it's the fastest for me, I'am in Spain)
> > > >
> > > > and look for 'kernel'
> > > >
> > > > You will find a mandrake package called 2.4.13-13mdk, download it and
> > > > install it with rpm. This is a precompiled kernel with all the
> > > > modules.
> > > >
> > > > Anyway I would have the sources arround just in case, so download
> > > > as well 'kernel-headers' and 'kernel-sources'  for version 2.4.13
> > > > from rpmfind.net and install them with rpm. You will have to use the
> > > > option 'nodeps' for 'kernel-headers' because it will conflict with
> > > > version 2.4.8.
> > > >
> > > > I did that and, apart of the problem with my mouse with or without
> > > > devfs, it seems that mount and supermount work fine.
> > > >
> > > > I had to recompile the kernel because I wanted it to be costumized
> > > > for my Athlon processor, the precompiled one by mandrake is for an
> > > > intel processor.
> > > >
> > > > Jose
> > > >
> > > > El Jueves 01 Noviembre 2001 12:52, Søren Neigaard escribió:
> > > > > uname -r gives me 2.4.8-26mdk
> > > > >
> > > > > What would you do then, upgrade the kernel, or something easier?
> > > > >
> > > > > If you recommend me to upgrade the kernel, could you then give me a
> > > > > intro to how to do this please?
> > > > >
> > > > > On Thu, 2001-11-01 at 11:59, Jose Luis Vazquez Gonzalez wrote:
> > > > > > It seems that you are not using supermount, so probably your
> > > > > > problem comes from something else.
> > > > > >
> > > > > > Anyway but I would avoid kernel 2.4.8 and devfs.
> > > > > >
> > > > > > Jose
> > > > > >
> > > > > > El Jueves 01 Noviembre 2001 11:13, Søren Neigaard escribió:
> > > > > > > Here's my fstab:
> > > > > > >
> > > > > > > /dev/hda5 / ext2 noatime 1 1
> > > > > > > none /dev/pts devpts mode=0620 0 0
> > > > > > > none /dev/shm tmpfs defaults 0 0
> > > > > > > /dev/hdd /mnt/cdrom auto
> > > > > > > user,iocharset=iso8859-1,umask=0,exec,codepage=850,ro,noauto 0
> > > > > > > 0 /dev/hdc /mnt/floppy auto
> > > > > > > user,iocharset=iso8859-1,umask=0,sync,exec,codepage=850,noauto
> > > > > > > 0 0 none /proc proc defaults 0 0
> > > > > > > /dev/hda8 /usr ext2 noatime 1 2
> > > > > > > /dev/hda6 /var ext2 noatime 1 2
> > > > > > > /dev/hda7 swap swap defaults 0 0
> > > > > > >
> > > > > > > How do I check my kernel version (I have just installed
> > > > > > > Mandrake 8.1)?
> > > > > > >
> > > > > > > On Thu, 2001-11-01 at 11:04, Jose Luis Vazquez Gonzalez wrote:
> > > > > > > > There is some kind of bug in supermount at least at kernel
> > > > > > > > 2.4.8. Kernel 2.4.13 seems to be ok.
> > > > > > > >
> > > > > > > > Do you have your CD device managed by supermount?
> > > > > > > >  (check it at /etc/fstab)
> > > > > > > >
> > > > > > > > Is your kernel a 2.4.8?
> > > > > > > >
> > > > > > > > Hope this helps.
> > > > > > > >
> > > > > > > > Jose
> > > > > > > >
> > > > > > > > El Jueves 01 Noviembre 2001 10:26, Søren Neigaard escribió:
> > > > > > > > > I chang IP/Netmask/DNS/Gateway to fit another network, and
> > > > > > > > > back again, and now I cant pllay CD's with Gnome CD Player,
> > > > > > > > > and I also can't access my CD from my Gnome desktop icon (I
> > > > > > > > > used to do that).
> > > > > > > > >
> > > > > > > > > What's my problem, and how do I solve it?
> > > > > > > > >
> > > > > > > > > Best regards
> > > > > > > > > Søren
> > > >
> > > > ------------=_1004698930-1734-4857
> > > > Want to buy your Pack or Services from MandrakeSoft?
> > > > Go to http://www.mandrakestore.com

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to