Monday, April 29, 2013

Install GRUB on a RAID device problem


Installing Ubuntu Server on a motherboard Raid and got stuck on installing GRUB bootloader at /dev/mapper


1. You need the actual name of the RAID array to install to. So during that step, press   
  ctrl+alt+F2 to drop to a busybox terminal, then enter

2. In command line, enter
    ls -l /dev/mapper

3. Pick out the name of your array from the list shown, then press ctrl+alt+F1 to switch back to the
    install (you can switch back and forth as much as you like with no problems) and enter it in the
    field as
  /dev/mapper/{your array name}

    then GRUB installs perfectly and you're ready to go, with a proper BIOS RAID array intact.

Thursday, April 25, 2013

Create Outlook Profile "The profile name you entered already exists"

When create a Outlook profile and the profile name has been used and deleted before, you are getting "The profile name you entered already exists"

Test Environment:
Windows 7 and Outlook 2010


1. First thing to try is to close Outlook completely and go to Control Panel and create a new profile from Mail(32Bit). If still same problem, please go to step 2

2. Open your Windows registry (Start -> Search... > regedit)

3. Navigate to
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows
Messaging Subsystem\Profiles\Outlook

4. Under Outlook, there are subdirectories and each one was the profile you created before. Delete them by right click and delete

Monday, April 22, 2013

Recover Miss Drive in Linux Software Raid

1.       When do “more /proc/mdstat”, it shows there is a missing  drive


Personalities : [raid1]

md5 : active raid1 sda1[0]

 3068288 blocks [2/1] [U_]


 md2 : active raid1 sda2[0]

 10241344 blocks [2/1] [U_]


 md1 : active raid1 sda3[0]

 10241344 blocks [2/1] [U_]


 md3 : active raid1 sda6[0]

 2048192 blocks [2/1] [U_]


 md4 : active raid1 sda7[0]

 128592192 blocks [2/1] [U_]


 md0 : active raid1 sdb5[1] sda5[0]

 2096384 blocks [2/2] [UU]


2.       Do, “mdadm -D /dev/md1”, it seems the missing unit has been removed



 Version : 00.90.01

 Creation Time : Wed Nov 2 03:44:57 2005

 Raid Level : raid1

 Array Size : 10241344 (9.77 GiB 10.49 GB)

 Device Size : 10241344 (9.77 GiB 10.49 GB)

 Raid Devices : 2

 Total Devices : 1

 Preferred Minor : 1

 Persistence : Superblock is persistent


Update Time : Thu Mar 30 18:05:31 2006

 State : clean, degraded

 Active Devices : 1

 Working Devices : 1

 Failed Devices : 0

 Spare Devices : 0



Number Major Minor RaidDevice State

 0 8 3 0 active sync /dev/sda3

 1 0 0 -1 removed

 UUID : 1d16a55f:71fed86c:5a198cc1:1db31dfa

 Events : 0.1147282


3.       Add the missing unit back by “mdadm /dev/md1 -a /dev/sdb3”

4.       Check again with “mdadm –D /dev/md1”


Personalities : [raid1]

md5 : active raid1 sdb1[1] sda1[0]

 3068288 blocks [2/2] [UU]


 md2 : active raid1 sdb2[1] sda2[0]

 10241344 blocks [2/2] [UU]


 md1 : active raid1 sdb3[1] sda3[0]

 10241344 blocks [2/2] [UU]


 md3 : active raid1 sdb6[1] sda6[0]

 2048192 blocks [2/2] [UU]


 md4 : active raid1 sdb7[1] sda7[0]

 128592192 blocks [2/2] [UU]


 md0 : active raid1 sdb5[1] sda5[0]

 2096384 blocks [2/2] [UU]


 unused devices: <none>

Regular Expression

Redirect output
Append output to file
Redirect input
“Here” document (redirect input)
Pipe output
Run process in background
Separate commands on same line
Match any character(s) in filename
Match single character in filename
Repeat command number n.
Match any characters enclosed.
Execute in subshell
Partial quote (allows variable and command expansion).
Preserve literal value of enclosed characters
Quote following character.
Use value for variable.
Process ID.
Command name.
nth argument (0<n9)
All arguments.
Exit status.
Begin comment
Complete current word.
Background execution
Break from loop statements.
Change directories.
Resume a program loop.
Display output.
Evaluate arguments.
Execute a new shell or other program.
Foreground execution.
Show active jobs.
Terminate running jobs.
Change to a new group
Shift positional parameters.
Suspend a background job.
Suspend a foreground job.
Set or list permissions on files to be created.
Erase variable or function definitions.
Wait for a background job to finish.

How to convert PDF with Office 2007 or Office 2010

In Office 2007 or Office 2010 (Word, Excel or PowerPoint), you can go to File -> Save As, and in the "Save As" popup windows, you can find "PDF (*.pdf)" in "Save as type:" drop down menu to save the file in PDF type directly.

Sunday, April 21, 2013

How To Create Data File In Outlook 2010

How To Create Data File In Outlook 2010

1. In Outlook Main Page (Home Page), click "New Items"

2. In the drop down menu, click "More Items", then "Outlook Data File"
 3. Then, a pop up windows will come up to ask you where to save the new Outlook Data File (PST file); so browser to a location you can remember and then, click on OK button.

4. Done

Thursday, April 11, 2013

How To Change "Desktop", "Favoriates", "My Music", "My Video" Default Location in Windows 7

1. In Windows 7, click on Microsoft Logo button (left bottom corner), in "Search program and files"
    field, type "regedit", then hit "Enter" key

2.  In the left pane, locate and then click the following registry key:
     HKEY_CURRENT_USER > Software > Microsoft > Windows > CurrentVersion > Explorer >
     User Shell Folders

3. In the right window pane, Double Click on the required value, for example, Desktop

4. In the "Vaule Data:" field, the default vaule is "%USERPROFILE%\Desktop"
    You can now change it to - i.e. "D:\MyDesktop", then click "OK" button to save
    This will move your default "Desktop" folder from your profile folder to "D:\MyDesktop"

 5. Done or you can repeat step 3 & 4 to change other folders

How to Change Microsoft Windows XP Home/Professional License Key

Note: ONLY 11 STEPS! Please follow this instruction PRECISELY.

1. Click on “Start” , and then click on “Run” .
2. In the Open box, type “regedit”, and then click on “OK” button.

3. In the left pane, locate and then click the following registry key:
HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\Current Version\WPAEvents

4. In the right pane, right-click on “OOBETimer”, and then left-click on “Modify”.

5. Add 00 before FF; then click on “OK” button.
You can close “Registry Editor” by Click on “X”

6. Click on “Start” , and then click on “Run” again.
In the Open box, type the following command,
%systemroot%\system32\oobe\msoobe.exe /a
then Click on “OK” button.

7. Choose “Yes, I want to telephone a customer service representative to activate Windows” , and then click on “Next” button.

8. In this Windows, Click on “Change Product key” button.

9. Type in your Genuine product key in the “New key” boxes, and then Click on “Update” button.

10. Now you back to the previous window, click “Remind Me Later” to Close this windows.

11. This is the last step; restart your computer.

Note: You can go to to validate your windows product Key.

How to Change Microsoft Office 2003 License

1. Close all Microsoft Office Related Programs

2. open the Registry Editor and go to:

3. Now delete “ProductID” and “DigitalProductID”. After starting one office product, you have to enter the new Serial Number.

4. Done