32位ubuntu 使用pae
用的是linuxdeepin,下完后才看到它原来有64位版本的。不过不再想下载了。用pae吧。
sudo apt-get install linux-generic-pae linux-headers-generic-pae
After a reboot the PAE kernel should be booted as the default option in the GRUB boot menu.
To confirm that PAE was enabled correctly you can use the system monitor form the System menu under Administration -> System Monitor. The first tab shows usable memory.
Removing non-PAE kernels
Then, You will notice there are 2 kernel ie : newly installed PAE, and the older generic with no PAE at the end of the name.So if you want to remove it.Here are the steps:
If PAE was successfully enabled you may want to remove the meta-packages for the normal kernel, to disable unnecessary updates to the non-PAE kernels
sudo apt-get remove linux-generic linux-image-generic linux-headers-generic
OR (i tried this one)
If you want to remove all of the old kernels from your boot menu, it seems like you have to do it all manually:
sudo apt-get remove linux-image-<version number>-generic linux-headers-<version number>-generic
Replace the <version number> with your Kernel Version. Mine is Kernel Linux 2.6.35-22-generic (before i upgrade it)
So, mine will be like this
sudo apt-get remove linux-image-2.6.35-22-generic linux-headers-2.6.35-22-generic
Restart. the old kernel will be removed.
Done.
参考:http://forums.mydigitallife.info/threads/22998-Enable-4g-memory-in-32-bit-ubuntu