John Bernard Abella [blog]

A System Admin's Notebook, A Programmers Journal
January 16th, 2012

Install Windows 2008 server on a dynamic disk drive

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!

December 1st, 2010

Using andriod

image

Just install andriod.wordpress.org app start mobil blogging.

November 29th, 2010

New mobile version

just installed mobile version to my blog http://m.johnbernardabella.com

May 21st, 2010

Im back online!

Thanks to brad boi for letting me know im suspended.

March 22nd, 2010

Nautilus cannot handle “computer” location on Ubuntu(Karmic Kaula)

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….

November 22nd, 2009

Move out from godaddy to local webhosting Vertito.com

Finally all my domains are moved to my new host at VERTITO.COM

November 4th, 2009

Hamachi killed after upgrading to Ubuntu 9.10

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!

October 28th, 2009

date function for bash commands

How to get date on bash/sh command?

#!/bin/bash
# Datestamp e.g 2002-09-21_24h00m
DATE=`date +%Y-%m-%d_%Hh%Mm`

# Day of the week e.g. Monday
DATE=`date +%A`

# Day number of the week 1 to 7 where 1 represents Monday
DATE=`date +%u`

# Date of the Month e.g. 27
DATE=`date +%d`

# Month e.g January
DATE=`date +%B`

# Week Number e.g 37
DATE=`date +%V`
Get Adobe Flash playerPlugin by wpburn.com wordpress themes