Gene Leung's Blog
  • Home
  • About
  • Collection
  • Author
  • Portal
  • Sign in
  • Subscribe

Bookmarks

You haven't yet saved any bookmarks. To bookmark a post, just click .

Menu

Social

1. fdisk -l to list out the device for your usb drive 2. fdisk /dev/sdb to fdisk your device sdb and using the following steps to prepare your Fat 32 disk p – to view the existing partition d – to delete the existing partition n – to add

How to format external USB Drive to Fat 32 under Linux

20 October 2009
fat32
Here you need to install the following packages: 1. yum install dkms dkms-fuse 2. yum install sshfs sshfs syntax: sshfs source target for example: shfs root@dev.gl818.net:/workplace /mnt/sc440

sshfs for CentOS 5.3

14 October 2009
Uncategorized
Synergy — ”lets you easily share a single mouse and keyboard between multiple computers with different operating systems, each with its own display, without special hardware. It’s intended for users with multiple computers on their desk since each system uses its own monitor(s).” Here are

Synergy - KVM Switch without Video

13 July 2009
network
Assumption: /dev/sdb has problem and need to replace it with a new drive.  sdb has two partitions on raid-1 namely /dev/sdb1 = /boot and /dev/sdb3 = / . 1. cat /proc/mdstat to see the raid information. 2. Use mdadm to fail the drives partition(s) and remove it from the

Replacing failed raid 1 drive

30 June 2009
backup
Assumption: Assume to have only one drive with several raid one partitions. Steps: 1. Make sure to boot from some usb live OS (i.e. CentOS Live OS 5.2 under USB) 2. Use mdadm –remove to remove ALL raid one partitions (i.e., mdadm /dev/md0 –remove

Uninstall software raid one for linux drive with data intact

29 June 2009
mdadm
List the partitions of a device (sda): sfdisk -l /dev/sda Test and show consistent check status on device (sda): sfdisk -V /dev/sda Two ways to create new partitions from an old device (sda): (a) Copy the entire partition table from one disk (sda) to another (sdb) sfdisk -d

Manage partition tables with sfdisk

29 June 2009
Add new tag
Being an IT professional, you not only need to secure your data from those hackers, but also to have a good backup copy when it is needed.   I have been using the rsync for remote backup since 1998.  Here is a little bash script I used for remote backup.  It

Using Rsync for Remote Backup

01 February 2009
backup
ZeosLib – “aka Zeos, is a open source library that provide native access to many database systems, developed for Delphi, Kylix and Lazarus + Freepascal….” So why we need it? I think every delphi developers would agree that it is quite annoying when application deployment involved database connectivity.

Using Zeos Lib for Database Connectivity

31 December 2008
BDE
Load more posts

Newer Posts
3 of 4
Older Posts

Copyright © 2026, Gene Leung's Blog. All Right Reserved.