Check if folder exist on bash command
if [ ! -e "$BACKUPDIR/latest" ] # Check Latest Directory exists.
then
mkdir -p “$BACKUPDIR/latest”
fi
if [ ! -e "$BACKUPDIR/latest" ] # Check Latest Directory exists.
then
mkdir -p “$BACKUPDIR/latest”
fi
A week ago I was task to build a server with windows 2008 server and MSSQL Server. I made some stress testing on the hardware but Im am not aware that two hard drive installed was previously installed with windows 2008 server windows raid also enable.
During the installation process I have noticed that both disk is already dynamic. I try to remove theĀ partitionĀ and remove format the disk. It seems that windows installation can’t remove any dynamic disk and can’t break the windows raid.
Solution:
Remove the dynamic disk and make it basic disk.
Steps:
1. Boot the Windows 2008 installation disk
2. Select repair instead of install
3. User DISKPART utility to remove revert the basic volume, Use the following commands below:
X:/>diskpart
List the volume and find the volume # you want to convert
DISKPART> list volume
Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- --------- --------
Volume 0 NTFS DYNAMIC *** GB Healthy
Volume 1 NTFS DYNAMIC *** MB Healthy
Select the volume N=Volume number, needs to be converted
DISKPART> select volume=N
Remove the volume
DISKPART> volume remove
Restore the basic volume, need to check what disk drive that have no volume
DISKPART> list disk
Disk ### Status Size Free Dyn Gpt
-------- ------------- ------- ------- --- ---
Disk 0 Online *** GB 1024 KB
Disk 1 Online *** B 0 B
Select the drive N=disk number
DISKPART> select disk=N
Convert the the selected disk to basic volume
DISKPART> convert basic
The disk is now converted to basic disk, when you install again the windows 2008 it will show the disk is unallocated. Diskpart save my day!!! thanks to my colleagues for support!
DISCLAIMER: The above action will result data lost. The process meet the needs of the author to complete the task. The author is NOT responsible in any data lost or any damage cause with this action. Play diskpart at your own risk!

Just install andriod.wordpress.org app start mobil blogging.
just installed mobile version to my blog http://m.johnbernardabella.com
Thanks to brad boi for letting me know im suspended.
Problem:
Last week i have experiencing error during opening Computer, Network Folders, Destop and Recycle bin on Ubuntu Karmic Kuala. And flash drive cant do the automount anymore.
The error says :
Nautilus cannot handle "computer" location
I found out that i have upgraded my glib library under /usr/local few days ago.
Solution:
Remove /usr/local
sudo mv /usr/local /usr/local.old
create /usr/local
sudo mkdir /usr/local
restart your computer.
Try to check you computer folder and its working! Good luck!
Updated: correction from Amar Patil, Thanks….
Finally all my domains are moved to my new host at VERTITO.COM
Hamachi killed after upgrading Ubuntu 9.10 (Karmic Koala). This is because hamachi executable is compressed with upx.
Steps in uncompressing Hamachi with upx
1. Install upx-ucl (make sure you have root or sudo privileged)
sudo apt-get install upx-ucl
2. locate hamachi executable (default installation /usr/bin)
cd /usr/bin
3. decompress hamachi
sudo upx -d hamachi
after executing this commands you will see this outputs
Ultimate Packer for eXecutables
Copyright (C) 1996,1997,1998,1999,2000,2001,2002,2003,2004,2005,2006,2007
UPX 3.01 Markus Oberhumer, Laszlo Molnar & John Reiser Jul 31st 2007
File size Ratio Format Name
-------------------- ------ ----------- -----------
830676 < - 331144 39.86% linux/386 hamachi
Unpacked 1 file.
And now you are read to run hamachi... enjoy!