Tuesday, December 16, 2008

Enable your >4GB in Ubuntu Intrepid

The default kernel uses CONFIG_HIGHMEM4G, which does not let you fully use your huge RAM (RAM is now very cheap) way above 4GB (the limit for a 32 bit address space). The best thing you can do is to tune your kernel. To do it you can download the latest one (from www.kernel.org), then configure it with

make menuconfig

Making sure you load configuration from alternate file "/boot/config-XXXX-generic".

After you have loaded the original configuration, you can select :
Processor Type and Features -> High Memory Support

And then make sure 64GB is selected.

Now you can exit the configuration menu and save your changes.

You're ready to build the kernel. To make it the debian way, you can use:

fakeroot make-kpkg --initrd --append-to-version=-gralfca kernel_headers kernel_image

it will generate the linux_headers and linux_image .deb files which you can install with

dpkg -i linux_headers*.deb
dpkg -i linux_image*.deb

That's it. You will be able to use your RAM after you restart.

3 Comments:

Anonymous Anonymous said...

Genial post and this enter helped me alot in my college assignement. Thank you as your information.

9:54 AM  
Anonymous Anonymous said...

Again a good post. Offer your achates

8:55 PM  
Anonymous Anonymous said...

Nice post and this mail helped me alot in my college assignement. Thank you for your information.

4:46 PM  

Post a Comment

<< Home