2013年5月24日 星期五

[CentOS]Divide the USB drive into multi-partition

There is the reference

http://www.linuxidc.com/Linux/2013-05/84183.htm

Basically, using fdisk in root mode for dividing the partition and using mkfs for format. The full path for those two tools are under /sbin

2013年5月23日 星期四

[CentOS]Change the system language

 Using root account, enter commands which is showed below

system-config-language

A window will pop up and you can choose the system language that you want.

Reboot the PC and finished.

2013年5月22日 星期三

[Linux]Create CentOS Live USB

There are various types of definition on Live USB

1. Using USB to install CentOS into a PC
2. Boost the live CD mode from a USB
3. Divide the USB into two part for boost and install (only suitable for a single PC)
4. Install CentOS into a USB drive and boost on any PC

And I would like to do the fourth one.
In fact, using this software and follow the instruction in the software is OK!!

http://www.linuxliveusb.com/en/download

2013年5月14日 星期二

2013年2月28日 星期四

[CentOS] Extend Logic Volume by LVM

Follow the steps:

http://www.turnkeylinux.org/blog/extending-lvm

More important is the logic step:
PV[s] (Physical Volumes) -> VG[s] (Volume Groups) -> LV[s] (Logical Volumes) -> Filesystems.

There is the picture:

http://www.howtogeek.com/howto/40702/how-to-manage-and-use-lvm-logical-volume-management-in-ubuntu/

We need to first add the physical Volume, it is possible by using gparted. And then using lvm for extend the Volume Group size. Next, increase the Logical Volumes. Finally is the Filesystems by using resize2fs.

Please note the those tools (lvm, resize2fs) are located at /sbin. We need to use them by:
cd /sbin
./lvm or ./resize2fs to do this

2013年1月31日 星期四

[Hspice, Cadence, IC615] Using Hapice as simulator in Cadence

Part A) Install Hspice

1. Install Hspice from synopsys http://www.synopsys.com/Support/LI/Installation/Pages/default.aspx

2. Install installer first for install hspice. It is something like IScape

3. Follow the instructure that they have

4. Complete installation of installer and Hspice

5. edit the cshrc.meta or place licence file

6. Now, you can use Hspice in Linux by command mode.


Part B) Include Hspice to IC615

1. Edit the script for including Hspice licence and path. You can refer the script that we have.

2. Using cadence as usual. Choose HspiceD as the simulator.

3. Enjoy and have fun!!!

2013年1月21日 星期一

[CentOS] Display Chinese Char

在自己的機器上裝了個CentOS5.5的虛擬機,做自己學習之用,今天想讓他支持中文,但是切換語言之後,中文顯示的都是方塊字,很是鬱悶,網上找了好 多文章,都是讓我修改、/etc/sysconfig/i18N這個文件,改完之後,注銷退出,沒用,重启好多次,也是沒用,後來看到原來只要安裝2個 RPM文件才可以:fonts-chinese-3.029-9.*.noarch.rpm   和 fonts-ISO8859-2*.rpm包之後再切換成中文,就搞掂了。。。

from: http://world77.blog.51cto.com/414605/472084