Wednesday, December 17, 2008 

Orchard Hotel

Tuesday, May 13, 2008 

SlideShare

Tuesday, October 30, 2007 

Backup and restore in Ubuntu

1: Backing-up

"What should I use to backup my system then?" might you ask. Easy; the same thing you use to backup/compress everything else; TAR. Unlike Windows, Linux doesn't restrict root access to anything, so you can just throw every single file on a partition in a TAR file!

To do this, become root with
Code:
sudo su
and go to the root of your filesystem (we use this in our example, but you can go anywhere you want your backup to end up, including remote or removable drives.)
Code:
cd /
Now, below is the full command I would use to make a backup of my system:

Code:
tar cvpzf backup.tgz --exclude=/proc --exclude=/lost+found --exclude=/backup.tgz --exclude=/mnt --exclude=/sys /

2: Restoring

Warning: Please, for goodness sake, be careful here. If you don't understand what you are doing here you might end up overwriting stuff that is important to you, so please take care!

Well, we'll just continue with our example from the previous chapter; the file backup.tgz in the root of the partition.

Once again, make sure you are root and that you and the backup file are in the root of the filesystem.

One of the beautiful things of Linux is that This'll work even on a running system; no need to screw around with boot-cd's or anything. Of course, if you've rendered your system unbootable you might have no choice but to use a live-cd, but the results are the same. You can even remove every single file of a Linux system while it is running with one command. I'm not giving you that command though!

Well, back on-topic.
This is the command that I would use:

Code:
 tar xvpfz backup.tgz -C /
Or if you used bz2;

Code:
 tar xvpfj backup.tar.bz2 -C /
WARNING: this will overwrite every single file on your partition with the one in the archive!

Just hit enter/return/your brother/whatever and watch the fireworks. Again, this might take a while. When it is done, you have a fully restored Ubuntu system! Just make sure that, before you do anything else, you re-create the directories you excluded:
Code:
mkdir proc
mkdir lost+found
mkdir mnt
mkdir sys
etc...
And when you reboot, everything should be the way it was when you made the backup!

2.1: GRUB restore
Now, if you want to move your system to a new harddisk or if you did something nasty to your GRUB (like, say, install Windows), You'll also need to reinstall GRUB.
There are several very good howto's on how to do that here on this forum, so i'm not going to reinvent the wheel. Instead, take a look here:

http://www.ubuntuforums.org/showthre...t=grub+restore

There are a couple of methods proposed. I personally recommend the second one, posted by remmelt, since that has always worked for me.

Thursday, September 27, 2007 

LCD for my laptop


hehe...bought this $200 from a nice guy...:D like brand new...happy. my laptop the text too small...

Monday, February 05, 2007 

My Paper 我报online

Finally got online version liao...hehe. like that i cant miss any issue liao, sometime no luck to get any copies.

Visit and browse/read here: http://mypaper.sg

Thnx!

Listening: 依靠(Demo) by
词曲:作词:刘耕宏 作曲:刘耕宏 编曲:洪敬尧

*当你感到孤单寂寞无助的时候 你会发现有他依靠就能够渡过 
别在害怕徬徨失措躲在墙角落 试着感受他的慈爱在每个时候

#在你圣洁荣耀之中我要歌颂你 你所眷顾新的生命将无与伦比 
你将我从黑暗深渊带进阳光里 只要真心仰望天空就能看见你
Repeat #
oh lord how could I have you in my life
oh lord oh lord

 

Providence from above

Today my second last day with SP library.
It's nice to working with all my colleagues over there. (I'll miss you all)
I recieved cookies and an Red Packet ($40 bucks...i tell god i poor cos salary on-hold...hehe)
it's gift from them and also from god.

love love love u all.

p/s: To my surprise, director actually invite me for farewell lunch tmr...excited...hee

Saturday, January 13, 2007 

Tong Hua







 

Ipod iPhone Launched

Wednesday, April 12, 2006 

Botanical garden..first time visit with dear :)


..::美婷和志刚@Botanical Garden::..
happy to be with you dear...:D