Adding a Windows 2008 server Domain Controller to a Windows 2003 Domain.

I used this method in a very simple configuration. I had one Windows 2003 server/forest/domain controller with a few XP/Vista clients.

From the Windows 2003 Domain Controller:

Bring up “Active Directory Domains and Trusts”, from Administrative Tools.
Right mouse click on the domain name (usually a “.local” name), and click on “Raise Domain Functional Level”.
Change the level “Windows 2003″. Note: This is not reversible and you are warned in the application as well.
Next, right mouse click on “Active Directory Domains and Trusts,” and click on “Raise Forest Functional Level.”
Change the forest level to “Windows 2003″ as well. Note: This is also not reversible.
Next, copy the source/adprep directory off the “Windows 2008 Server” CD to a your Windows 2003 domain controller.
From the copied adprep directory, execute adprep /forestprep.
Then, execute adprep /domainprep.

At this point, you can run dcpromo from your Windows 2008 server. However, you need to make sure you have the “Active Directory Domain Services.” role installed.

I have run a DNS issue, and have not been able to get dcpromo to complete. Will update when I get it to work.

How rebuild Windows XP boot.ini

Boot from the installation source CD/image.

Enter the Recovery Console by pressing R when prompted.

Enter the number for the appropriate installation.

Enter “bootcfg /list” to list the current configuration.

Enter “boot /rebuild” to rebuild configuration.

At “Enter Load Identifier”, enter the name of the installation (i.e. “Windows XP”.

If prompted for “OS Load Options”, enter “/fastdetect”.

Enter “EXIT” to reboot

How To Join Two Avi files in linux.

I used this method on CentOS5 and used the rpmforge repository to install mencoder (yum install mencoder).

mencoder -forceidx -ovc copy -oac copy -o combinedfilename.avi firstfilename.avi secondfilename.avi

Dealing with daa image files using poweriso.

Download poweriso from If you are using linux, the download is a tarball. I extracted the one and only file from the tarball (poweriso).

Sample commands:

List contents:
poweriso list /path-to-daa-file /

List contents recursively:
poweriso list /path-to-daa-file / -r

poweriso extract /path-to-daa-file / -od /path-to-destination-directory

poweriso convert /path-to-daa-file -o /path-to-destination-iso-file -ot iso

How to determine package containing a perl module.

If you get the following kind of error when using a problem that has some perl module dependencies, you can get the following type of error if you are missing one of the dependencies.

“Can’t locate XX/YYYYYY/ in @INC …”

Use the following to determine the package that contains the module:

yum whatprovides ‘perl(XX::YYYYYY::ZZZZ)’

It should work in newer Fedora/CentOS/Redhat releases.

MacOS gcc compiler installation

Download and install the Xcode Tools from the Apple Developer Connection website (

Fedora 10 with megaraid controller

This controller is found in some older Dell servers.

Install Fedora 10.
Boot of the first install CD in rescue mode and chroot /mnt/sysimage.
cd /boot
mv initrd- initrd-
mkinitrd –with=scsi_wait_scan initrd-
exit # to reboot
This worked fine for me on a Dell1600 with Perc controller. In troubleshooting this, I found some posts saying that the module is call scsi_wait-scan. This is incorrect. Scsi_wait_scan worked fine for me.

Fedora Hard Drive install from ISO image.

If you want install Fedora 10 from the DVD ISO image download to a hard drive, you need to extract the images/install.img into the same directory.

Assume the Fedora-10-i386-DVD.iso file has been downloaded to /download.
cd /download
mount -t iso9600 -o loop Fedora-10-i386-DVD.iso /mnt
mkdir images
cp /mnt/images/install.img images
cp /mnt/isolinux/initrd.img /boot
cp /mnt/isolinux/vmlinuz /boot
vi /etc/grub.conf

title Fedora 10 Upgrade
root (hd0,0)
kernel /vmlinuz ro
initrd /initrd.img

Make sure you note device name for the partition of the /download directory.
Boot up the “Fedora 10 Upgrade”.
Choose Hard drive install.
Choose the correct partition device noted above, and the directory where the iso has been downloaded.

Fedora 10/Ubuntu Intrepid Trackpad configuration

Create the following file /etc/hal/fdi/policy/appletouch.fdi. This is the best place to make configuration in this version of linux. /etc/X11/xorg.conf is no longer the best place.

Put the following in the file:


Problem unpacking archived Sun software in RHEL5/CentOS5.

Can get the following kind of error when trying unpack archive java software downloaded from the Sun website (

# ./j2re-1_3_1_03-linux-i386-rpm.bin

Do you agree to the above license terms? [yes or no]
The download file appears to be corrupted. Please refer
to the Troubleshooting section of the Installation
Instructions on the download page for more information.
Please do not attempt to install this archive file.

The solution is to set the following environment variable:

export _POSIX2_VERSION=199209

Return top