LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   how to use or enable PAE in 13.37 32bit? (http://www.linuxquestions.org/questions/slackware-14/how-to-use-or-enable-pae-in-13-37-32bit-900573/)

thelastblack 09-01-2011 11:14 AM

how to use or enable PAE in 13.37 32bit?
 
hey
i dont know anything about PAE except that using it kernel can use more than 3gb ram in a 32bit system. but my slackware 13.37 32bit just tells that i have 2.9gb ram(but i have 4gb). so what should i do? or is it correct?

andrewthomas 09-01-2011 11:23 AM

check the kernel .config

Code:

CONFIG_HIGHMEM4G=y
CONFIG_HIGHMEM=y

you need the above

SeRi@lDiE 09-01-2011 11:55 AM

It's not as easy as adding those options to the configuration... You need to recompile your own kernel with the option posted above.

piratesmack 09-01-2011 11:57 AM

The kernel in /testing has PAE enabled:
http://slackware.osuosl.org/slackwar...ting/packages/

thelastblack 09-01-2011 02:33 PM

oh no! That testing kernel!
I tried that one before, i totally ruined my slack!
Can you tell me how to install new kernel? I dont use mbr for my bootloader but i use windows bootloader and easy bcd... The last time i used that kernel, i had to boot using slack dvd, because bootloader did not work. Because of that, now i know more but a guidance is indeed needed... How to add new kernel to lilo?
So what to do?

SeRi@lDiE 09-01-2011 07:56 PM

Quote:

Originally Posted by thelastblack (Post 4459036)
oh no! That testing kernel!
I tried that one before, i totally ruined my slack!
Can you tell me how to install new kernel? I dont use mbr for my bootloader but i use windows bootloader and easy bcd... The last time i used that kernel, i had to boot using slack dvd, because bootloader did not work. Because of that, now i know more but a guidance is indeed needed... How to add new kernel to lilo?
So what to do?

Best tutorial ever.

http://alien.slackbook.org/dokuwiki/...kernelbuilding

ReaperX7 09-01-2011 08:25 PM

Upgrading the kernel isn't that hard...

If you want to use the /testing kernel, install it with these options:

upgradepkg --install-new *.t?z

That will remove the old kernel and modules packages (and anything else not included) , and install the new one. Also make sure you run:

lilo

...afterwards (or whatever bootloader auto-configure you have) to reset the boot loader to the new kernel. Also, make sure you rebuild any packages you have that build kernel modules.

willysr 09-01-2011 08:28 PM

I think it's safer to use installpkg rather than upgradepkg

when something goes wrong with the new kernel, you can still boot to the old kernel

SeRi@lDiE 09-01-2011 08:54 PM

Quote:

Originally Posted by willysr (Post 4459213)
I think it's safer to use installpkg rather than upgradepkg

when something goes wrong with the new kernel, you can still boot to the old kernel

+1!

thelastblack 09-02-2011 12:01 AM

so i should use installpkg then run lilo, so what about having old kernel? Will it just add the new kernel or it will replace it in boot menu?

willysr 09-02-2011 10:22 AM

if you use installpkg, it will install a new kernel alongside with the old one, so you basically have to add a new entry on your /etc/lilo.conf to point to the new kernel

thelastblack 09-02-2011 12:39 PM

thx all the guyz, the problem is solved.
using new kernel, i now have full ram.
marking thread as SOLVED.


All times are GMT -5. The time now is 11:42 AM.