Jump to content

Kernel to version 2.6.13


Recommended Posts

Can anyone :help: explain to me how to update the mandriva kernel to version 2.6.13?

 

 

Ive downloaded a patch from the linux kernel archives but it doesnt explain how to execute the patch, can anyone help!

 

patch file name is (patch-2.6.13) from www . kernel . org

 

thanks! :thanks:

 

 

 

 

:afro:

 

Moved from Installing Mandriva by theYinYeti. Welcome aboard!

Link to comment
Share on other sites

You cannot "install" a patch file. Such a file is intended to be applied to the previous official kernel release. So there's nothing you can do with it. The easiest way to install a newer kernel is to wait for it to be available in Cooker and install it with urpmi. But I much prefer myself to have the official kernel tarball from kernel.org, and compile/install it myself.

 

Yves.

Link to comment
Share on other sites

Basically, if you want to compile your own kernel in Mandriva, you get the full kernel code from kernel.org (eg: linux-2.6.13.tar.bz2), and you do this:

# cd /usr/src
# rm -f linux
# tar xjf /path/to/linux-2.6.13.tar.bz2
# mv linux-2.6.13 linux-2.6.13-perso
# ln -s linux-2.6.13-perso linux
# cd linux
# make menuconfig

(This is if you thereafter choose "-perso" as the subversion)

 

Then you have to configure your kernel. Be sure to read the inline help whenever you are not sure, and don't hesitate to ask in this forum if you don't know what to choose for an option (the default is often safe).

With ESC on the top-level menu, you can exit the program and save the configuration at this point; just rerun "make menuconfig" to continue where you left the time before.

Take your time, it takes a lot.

 

When you're done, you can compile and install the kernel:

# make bzImage modules
# make modules_install
# cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.13-perso
# cp System.map /boot/System.map-2.6.13-perso
# mkinitrd /boot/initrd-2.6.13-perso.img 2.6.13-perso

 

You then configure lilo (/etc/lilo.conf) to have a new entry for this new kernel (copy and paste from an existing one, and change the label and paths) and run:

# /sbin/lilo -v

Give attention to the output of the above command: the paths and labels have to match what you thought you did in lilo.conf.

 

Finally, reboot :)

 

Yves.

Link to comment
Share on other sites

You guys are brilliant, i'll give it a shot in a bit... if you dont hear anything back from me its probably becuase ive f'd my computer lol up.

 

i wont let that bother me, if all systems fail i'll just reinstall and try again..

 

 

may the force be with me!! :unsure:

:thanks:

Edited by ukez
Link to comment
Share on other sites

i log in as root, start to follow your commands step by step... and before i get anywhere i end up with this

 

 

 

Password:

[root@192 ~]# cd /usr/src

[root@192 src]# rm -f linux

[root@192 src]# tar xjf /home/ukez/patch-2.6.13.bz2

tar: This does not look like a tar archive

tar: Skipping to next header

tar: Archive contains obsolescent base-64 headers

tar: Error exit delayed from previous errors

[root@192 src]#

Link to comment
Share on other sites

ok..just got back from work....damn long day i've had, Boohoo!!

 

Anyways, im going to hunt for the one you said, and give it a go, but this time with feeling  :beer:

 

:thumbs:Thanks again!!

 

 

 

All went fine up until these lines :

 

 

cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.13-perso

cp System.map /boot/System.map-2.6.13-perso

mkinitrd /boot/initrd-2.6.13-perso.img 2.6.13-perso

 

said something about directory not found

Link to comment
Share on other sites

If all went well up to this point, it's a good sign :)

Which exactly of those three commands gave the error?

And are you running Mandrake or Mandriva? (some here don't)

 

Yves.

 

 

to be hoonest i cant remember, don't quote me on it but i think it was :

 

cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.13-perso

 

 

whats the perso bit anyway? lol I'm using the most recent Mandriva 2005 le

 

i feel so stupid ,. i swear i've been using pcs for year, since the zx81 with the expansion pack lol, bbc computer, commodore vic20 , 64 and even amstrads and sinclair 128+ i should be a guru of this linux thing but to be honest 'i've never looked into it til now.

 

i've only ever known Microsoft.. The Dark Side!!!!

 

But i can gladly say i've only ever bought 1 original licenced copy, and that was just this year lol woohoo... i don't even feel bad.

 

But now i've seen the light... ok not quite, not til i've set up my DVB Tv Card lol, but almost!!

Link to comment
Share on other sites

I loved them old computers, i use to have the biggest collection of pirate games that i copied on my dads twin cassette tape deck, and then id sell them on so i could get the money to buy guns and ammunition to take over the world...maybe not, to buy my next game even!

 

Rightfully i should be a millionaire now, cos i was about 9 then.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...