Jump to content

Rebuild Kernel (to 64 bit)


Recommended Posts

Hello everybody

 

Can anyone help me about compiling the kernel to 64 bit mode if this is possible?

 

I ask for the complete steps to recompile the Mandrake 10.0 Official kernel to 64 -bit mode for the athlon 64 3200+

 

I ask

1. if this is possible

2. the steps to do it...

 

Somebody told me that is possible but he don't know how...

 

Thanks in advance...

 

[moved from Software by spinynorman]

Link to comment
Share on other sites

The problem is the 32/64 compatibility....

 

If you wantto run a 64 bit kernel and the rest in 32 bit though...

 

Id get a DOCUMENTED kernel source....

 

mandrake tend to patch them and forget to tell you...!

 

As far as i know Suse have the best amd64 kernel.... its being copied by debian which the developers wouldnt do lightly :D

 

I just made a 64 bit deb kernel myself but I used debian sources...these are already patched etc. and documented.

 

basically you compile it anyway so it doesnt matter they are deb ones, its more important you know what patches etc. are applied.

 

OK, so choose your sources - you can take a vanilla 2.6.6 and patch it yourself too. This is the BEST learning experience!

 

(www.kernel.org)

once you have this the 2.6 kernel is ridiculously easy ...

 

However theres a gotcha for amd64 ... that is gcc 3.4 has more optimistations ...

 

once you get a good kernel source ... its just

make && make modules_install && make install

be aware this will JUST give you a 64 bit kernel, all libraries etc will still be 32 bit.

 

if you wanna go beyond this it gets more technical very quickly.

 

Id suggest reading the threads at gentoo.org regarding AMD64 ...

or also the debian64 ports. these explain about the biarch (64/32) etc.

 

keep a seperate install .... id say just a normal MDK 10... so you always have something you can boot! keep a different / not just a new kernel cos you will replace libraries etc. with 64 bit ones. in other words make a complete spare copy of the tree...

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...