2010
03.04

Ubuntu 4GB Ram 的問題…

剛剛覺得筆電有點慢慢的,所以用 free -m 來看記憶體使用,結果 RAM 的大小只有 3GB 和我印象中的 4GB 不同,害我嚇一跳,趕緊檢查一下…

root@carlisten-lx:/home/roga# lshw -C memory
  *-firmware
       description: BIOS
       vendor: Hewlett-Packard
       physical id: a
       version: 68PCU Ver. F.12 (07/31/2009)
       size: 64KiB
       capacity: 1472KiB
  *-memory
       description: System Memory
       physical id: 4
       slot: System board or motherboard
       size: 4GiB

確定是 4GB 後,想說抓不到的原因應該是 Kernel 的關係。原來 Ubuntu 預設安裝的 Kernel 不支援 4GB RAM, 除非是安裝 Server 版本的 Kernel 或是安裝支援 PAE 版本的 Kernel,當然在 desktop (laptop) 上面最好是安裝 PAE 版本。指令很簡單,先找出最新版本的 Kernel 或是用預設的 PAE 核心都可以:

apt-get install linux-headers-generic-pae linux-image-generic-pae

共安裝兩個套件,前者是安裝原始碼,後者安裝核心本身。完成之後重新開機,可以看到結果

roga@carlisten-lx:~$ free -m
             total       used       free     shared    buffers     cached
Mem:          3859        639       3220          0         45        182
-/+ buffers/cache:        411       3447
Swap:        11444          0      11444

4 comments so far

Add Your Comment
  1. 大大 你好 ! 有2個有關筆電提升memory的問題
    [硬件]IBM R51e 如何提升至4GB MEMORY //這一台目前還是win xp sp2
    http://tw.knowledge.yahoo.com/question/question?qid=1510052307048
    [硬件]PCG-F670T 如何提升至1GB MEMORY //這一台巳安裝red hat 8
    http://tw.knowledge.yahoo.com/question/article?qid=1710052306561
    不知道大大有沒有興趣研究一下

    thanks

    eric

    • IBM R51e 在規格上就有講最大支援到 2GB,要再上去基本上是不太可能(就是靠運氣)。

      PCG-F670T 在規格上一樣有講最大支援到 192MB ,要再上去一樣要看運氣。

      so, 這部份目前無解,因為這牽涉到筆電主機板上晶片組的能力。

  2. 意思是 
    就算要更新bios 或者 install 其他os都沒有辦法 解決這個問題 ?? 

     

  3. 首先,謝謝了 大大 !

    我有一個新的想法,

    去下載xubuntu iso 把這一台256m memory的laptop重新安裝,

    取代目前red hat 8使用上的不穩 或者red hat 8 只使用text mode就算了. :o  

:D :-) :( :o 8O :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen:

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>