2010年5月30日 星期日

"真實"的機器上裝Ubuntu的磁區規劃 (with Win7)

很久沒在真實的機器上裝Ubuntu,之前都是在VMware上裝~

目前打算是在我的VAIO SZ58上裝Win7 + Ubuntu 10.04
所以想好好規劃一下磁區的配置

先在網路上找了一些資料,最後主要是參考下面兩篇


Ubuntu 開機選單

移除開機選單多餘的核心選項 原文出處

1 開啟Terminal
2 cd /boot
3 sudo su
4 移除你不要的版本號檔裝 如下 rm config-2.6.31-20-generic initrd.img-2.6.31-20-generic System.map-2.6.31-20-generic vmcoreinfo-2.6.31-20-generic vmlinuz-2.6.31-20-generic
5 ls grub/menu.lst是否存在
6 如果有就 輪入update-grub
7 如果沒有,就輪入update-grub2

2010年5月27日 星期四

Kohjinsha SA1F00 上安裝 Ubuntu 9.10之顯示問題

Mobile01連結 Kohjinsha SA1F00 


今天意外要幫此機器安裝Ubuntu,安裝過程中所遇到的問題,及解決的方法。

一開始Win7裝進去,只能進到win7 loading的開機畫面就停住了,嘗試過用低解析度的方式進去,無用....

2010年1月25日 星期一

How to check your version of Direct?

The way to check Direct version:

Go to the Run box in the start menu and type the following command. "dxdiag"



You'll see a window like below one.


Finally, you can get the version of Direct.

2009年12月23日 星期三

2009年12月14日 星期一

What's goldfish kernel?

What's goldfish kernel?

What's goldfish kernel? (原討論串)


最近在研究Android porting,碰到Goldfish這個名詞,查了一下。解釋如下:

The Android emulator runs a virtual CPU that Google calls Goldfish.
Goldfish executes ARM926T instructions and has hooks for input and
output -- such as reading key presses from or displaying video output
in the emulator. These interfaces are implemented in files specific to
the Goldfish emulator and will not be compiled into a kernel that runs
on real devices.


2009年12月9日 星期三

Error ** (gvim:3161): CRITICAL ** 問題解法



在Ubuntu 9的環境,run gvim時,總是跑出以下Errorv訊息。

** (gvim:3161): CRITICAL **: gtk_form_set_static_gravity: assertion `static_gravity_supported' failed
解法來源
解法如下:

編輯 /etc/apt/sources.list,將下列兩行加入
deb http://ppa.launchpad.net/jk-ozlabs/vim/ubuntu karmic main
deb-src http://ppa.launchpad.net/jk-ozlabs/vim/ubuntu karmic

然後開一個文字檔,把下列文字複製進去
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: SKS 1.0.10

mI0EStwumQEEALZWmSxdQpavSde5mh2aL9CKIvf9cwsOI8Li9RRjE9uaqjcDfzBgj52BvByO
k8RsOhlueiX3mZhmA8+u261J47n5xLR9meHg2ouihonAPSq9PoMCL4kBUinqREpjpzQsuMDf
9jqFC84a/ipeagY3rL88f9mTjJMeCyBim0vvt2WbABEBAAG0HUxhdW5jaHBhZCBQUEEgZm9y
IEplcmVteSBLZXJyiLYEEwECACAFAkrcLpkCGwMGCwkIBwMCBBUCCAMEFgIDAQIeAQIXgAAK
CRA0ixRvr7dns/IaBACI6aPD76r83H/TIfeSDtsYjZLUgwJUmpZfNdzfwV/pPZFzClJZBJ2U
MQYzo4qhGd+Z8x1O1+NX/DUMOjZVozUoHm0bRJjxNHzGGNzr1cP3in6pH811+EHHcm1+wl3E
CzHxL1Coy5x8pl91nb0OYarYpAKkyx9LkmR3RL4LsCt+uw==
=XMAz
-----END PGP PUBLIC KEY BLOCK-----

然後,再進入System->Administration->Software Source,選擇Authentication頁籤。底下有Import Key File...,把剛剛編輯的文字檔匯入進去。

最後,在Console下輸入下面兩行命令
sudo apt-get update
sudo apt-get dist-upgrade
即可!

搜尋此網誌