About
Kooty's TechnoBabble is a blog by Brennan Kootnekoff, and is about the interesting day-to-day life of a multi-platform systems engineer/administrator. From time to time, he will post useful tidbits of information here that may save hours of time, and prevent premature gray hairs and aging.
Search
Categories
Other
FortiScan Certified
June 25th, 2011. comments are open 0 commentsResizing an ESX Virtual Disk and winload.exe Errors

After around three months of installing various software that uses SQL Server 2005 on my ESX server, my SQL VM finally reached it’s disk limit. I was poking around in the command line for the actual ESX server, and found a tool called vmkfstools that could do the job for me. You can resize the disk by running the command:

vmkfstools -X <size-in-mb>M <image-file>

So for example if i wanted to resize the file server.vmdk to 60GB, I would run:

vmkfstools -X 60000M server.vmdk

That was the easy part. Now I booted into Hiren’s BootCD (you can find this on the net), and ran Acronis Boot Manager to resize my partition. You can alternatively boot into the Recovery Console for Windows 2003/XP or run the Command Line on Windows Vista/2008 and run diskpart to accomplish the same thing.
That went all well and my disks were properly resized…. or so I thought, till I was greeted with the following message on boot:

winload.exe Error

Winload.exe?! Well scared that my OS was corrupt, I booted into the Windows 2008 Server CD and ran the command prompt. dir C:\ still showed all my files there, and C:\Windows\System32\ still had winload.exe in it. Just for shits and giggles, I replaced the file with the one in X:\Windows\System32 and tried rebooting.

Still didn’t work.

I booted back into the install DVD, clicked “Repair Computer”, but this time I noticed that my disk size was 0, and it said “Unknown” next to the disk. My gears were turning, and I realized that this might mean that my MBR was corrupt. Running bcdedit.exe /v confirmed that. Instead of saying:

device partition=C:

it said

device unknown

Recalling what I did a year a so back when my MBR was corrupt, I ran the following commands:

bootrec.exe /FixMbr
bootrec.exe /FixBoot
bootrec.exe /RebuildBcd

As soon as I rebooted, my system booted up without any issues!

Hope this helps anyone else this has happened to,

Brennan

June 4th, 2011. comments are open 0 commentsConfiguring SharePoint AAM

When using SharePoint with a proxy server such as ISA, you will need to configure SharePoint Alternate Access Mappings (AAM) if the external address and the internal address are different. For example, if your internal address is http://wssserver/ and your external address is http://wssserver.domainname.com/. Here is a simple guide to configuring AAM on MOSS or WSS Server.

  1. Open up your SharePoint Central Administration on the server running SharePoint.
  2. Navigate to Operations under Central Administration.
  3. Open up Alternate access mappings under Global Configuration
  4. Click Edit Public URLs
  5. Select your Alternate Access Mapping Collection (your web application)
  6. Then enter the respective URLs that the application will be accessed via.
  7. I usually do an iisreset /noforce after this.

I found that the other tutorials on the internet wern’t straight to the point, and it was hard to understand them. Hopefully this clears things up for Sharepoint novices out there!
Brennan

May 22nd, 2011. comments are open 0 commentsApache SSL Certificate Without Passphrase

From time to time I have to generate my own SSL certificates for development purposes in Apache, and I keep on forgetting on how to do it without apache prompting me for a password everytime I boot and/or run apachectl. Here is a down and dirty quick how-to.

Step 1: Generate Private Key

openssl genrsa -des3 -out server.key 1024

Step 2: Generate CSR

openssl req -new -key server.key -out server.csr

Step 3: Remove Passphrase

cp server.key server.key.org
openssl rsa -in server.key.org -out server.key

Step 4: Sign the Certificate

openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt

After that, copy your newly generated keys to wherever your server stores your keys (in my case /etc/apache2/ssl/)

I hope this reference saves some time for some people :)

Brennan

August 5th, 2010. comments are open 0 commentsThe “Mojave Experiment” on Engadget

I found this to be quire hillarious actually :)

Isn’t there a way to filter advertisments?!

Brennan

May 17th, 2010. comments are open 8 commentsInstall Mac OS X on an IBM Thinkpad T43

I recently went about the task of installing Mac OS X on my ThinkPad T43. I installed both Leopard and Tiger, so I will layout pretty simply how to install either on your T43. First of all the disclaimer: I will not be responsible for what may happen to your laptop, or the grey hairs you may get doing this. And you are only supposed to do this if you are an Apple developer and or have a license for the OS you are installing.

It is actually pretty cool to show off to your buddies that you are running OS X. My computer specs are the following:

IBM ThinkPad T43, Intel 915GM Graphics Chipset, AD1981B Sound Chipset, 2GB DDR2 RAM, and 60GB HDD.

Now onto the fun stuff. Firstly, the steps that are the same for Tiger and Leopard.

    • You must use the paperclip trick to short out pins 6 and 12 on your VGA out. Just bend a paperclip into a U shape, with ends long enough to touch the contacts on both sides. Look at the following diagram to see which pins. Alternatively, you can take apart your laptop and solder the pins together from the inside like I did.

  • Now you must back up all your data onto an external HDD, because we will be formatting the entire drive.
  • Also, disable all CPU power management features in the BIOS because this slows the computer down quite a bit.
  • We are done the initial setup stages.

Leopard:

  • Download the install ISO from the green demon, or the pirate of the internet seas. Make sure you get the Kalyway 10.5.1 ISO and not any of the ToH ISOs. I repeat ToH WILL NOT WORK!
  • Fire up the computer using the burnt DVD, and press enter when it asks you for startup options.
  • Now, get a beer, and wait for this thing to boot up. If you get stuck on a blue screen with no cursor, that means that you did the paperclip mod wrong.
  • Open up Disk Utility from the top menu, and create one partition (and name it whatever you want)
  • When you get to the setup options screen, select SSE2 System, the MBR Bootloader, and also the Azalia Audio package.
  • Wait for the computer to finish installing, and then restart your computer.
  • Everything except the wireless and Quartz Extreme should be working now (No GMA900 leopard support yet).
  • Go to http://code.google.com/p/iwidarwin/ and download the latest 10.5 Stable package.
  • Run this in your terminal
    sudo -s
    chmod -R 755 /System/Library/Extensions
    chown -R root:wheel /System/Library/Extensions
    rm -rf /System/Library/Extensions.mkext (if exists)
    rm -rf /System/Library/Extensions.kextcache (if exists)
  • Reboot, and everything should be working at this point.
  • Enjoy.

Tiger:

  • Download the XxX 10.4.11 ISO from your favorite ’source’.
  • Put DVD in, reboot, and press enter at the prompt to start the install.
  • As same as Leopard, if it stalls at the blue screen without a cursor, it means that your did the paperclip trick wrong.
  • Open up Disk Utilitiy from the top menu, and create one partition (and name it whatever you want)
  • For the install, Select the NoEFI Package, the 8.9 SSE2 Kernel, and the GMA900 package, but NOT the fixer.
  • Wait for the install to finish, then reboot.
  • Once running, you will probably notice that not much is working, don’t worry we’ll fix that.
  • Insert the Install DVD, and install the GMA900 Fixer and the AD198x package. You may have to dig in the install DVD to find the latter package. Once installed, reboot.
  • You should not notice that you have working QE+CI, and also working sound.
  • Now, download the Broadcom Ethernet Kext file, and extract it to wherever you can remember. You will need to copy this file over from another computer because ethernet/wireless isn’t working yet.
  • Now, run the following commands.
    sudo -s
    rm -rf /System/Library/Extensions/IONetworkingFamily.kext
    mv /PathToFile/IONetworkingFamily.kext /System/Library/Extensions
    chmod -R 755 /System/Library/Extensions
    chown -R root:wheel /System/Library/Extensions
  • Now reboot, and you should have fully working ethernet, with the exception of your MAC address being 00:00:00:00:00:00. You can set your MAC Address by using the command:
    ifconfig en0 ether <MAC Address>
  • Go to http://code.google.com/p/iwidarwin/ and download the 10.4 Installer (Stable), and install the package. Reboot, and you should have working wireless (although you can only connect to unencrypted or WEP APs).
  • Enjoy!

If you have any questions, feel free to ask via comments or just send me an e-mail.

Brennan

August 20th, 2008. comments are open 0 commentsiPhone 3G Reception Issues? Not in Canada.

I got the iPhone 3G on Rogers on the first of this month, and I’ve been happily using it for the past few weeks. I had the silent/ring switch break off, but Rogers was great about sending a replacement unit right away, and I had a new one (albiet with one little nick in it) within 3 days.

Anyways, I hear all this crap about the iPhone 3G having reception issues, but on the EDGE network in Canmore RIGHT in the middle of the Rocky Mountains seems to be perfectly fine. I even have reception where my buddies with HTC Smartphones don’t. And with 3G reception anywhere in Calgary, it’s been flawless, with me having steady 4-5 bars all over the place. I haven’t have a single dropped call on both the 3G and EDGE networks, and no random switching from 3G to EDGE – although the phone switches from EDGE to that really really slow data connection when I only have 1 bar or less sometimes.

This goes for THREE iPhones we have in our house. Two 8GBs (including replacement), and one 16GB. I’m begining to wonder whether or not it is Apple’s issue, and just the networks being overloaded by the extensive data-usage that iPhone users rack up?

What’s your take on this?

July 31st, 2008. comments are open 0 commentsNew Rig – E8400 @ 4.0GHz & 9800GTX SLi

My new system specs are:

  • Core 2 Duo E8400 3.0GHz @ 4.0GHz
    • 444 x 9.0, 1.32 VCore
  • EVGA nForce 780i SLi
  • 4GB Crucial Ballistix PC6400 @ 889MHz
  • EVGA nVIDIA GeForce 9800GTX *2 SLi
  • Zalman 9700 Quiet CPU Fan
  • WD Raptor 74GB 10k *2 in RAID0

This system scores around 17k in 3DMark 06, and 9k in 3DMark Vantage. Not the absolute best, but good enough to play Crysis @ Very High @ 1680×1050. Here is a screenie:

Here is a picture of the system itself:

And a naked GeForce 9800GTX core :)

Brennan

July 30th, 2008. comments are open 0 commentsSite (Mostly) Back Up

All the critical articles on the site are back up. There may be a few quirks here and there, but please feel free to let me know via e-mail or a comment.

Thanks!

Brennan

May 10th, 2008. comments are open 0 commentsGet EVDO Rev. A on your HTC Titan

It’s a bit late but here is a a quick tutorial on how to get EVDO Rev. A (a la speeds I was getting in my last post) on your HTC Titan/Mogul/P4000. First, you will need to obtain the OilPro 1.2 Unlocker from here, the newer OilPro 2.4 Unlocker here, and last but not least, the magical official Sprint 3.35 radio from here.

To make everything simple, I decided to make this tutorial into five easy steps.

  1. Unlock (or Downgrade) your bootloader to the OilPro 1.2 Unlocker that you downloaded.
  2. After you completed the downgrade, upgrade your Radio using the radio installer (this works for all carriers by the way).
  3. Upgrade your bootloader from 1.2 to 2.4 using the file you upgraded (note: if you get a error at the very end, you can safely ignore this.
  4. Do a hard reset. Hold the two buttons with the round icons under the screen and depress the reset button, and follow the instructions on the screen. Do a hard reset. Hold the two buttons with the round icons under the screen and depress the reset button, and follow the instructions on the screen. Do a hard reset. Hold the two buttons with the round icons under the screen and depress the reset button, and follow the instructions on the screen. Do a hard reset. Hold the two buttons with the round icons under the screen and depress the reset button, and follow the instructions on the screen. Do a hard reset. Hold the two buttons with the round icons under the screen and depress the reset button, and follow the instructions on the screen.
  5. Install your favorite ROM…. I highly reccomend No2Chem’s NueROM 6.1 I have never found a ROM faster than this. The turotial is located at http://www.kooty.net/?p=18 . Be sure to visit XDA-Developers or PPCGeeks for questions – or of course contact me.

Please make sure you backup all your PIM info before you upgrade. You may have to reprogram your phone via your carrier (easy process, don’t be frightened) after this update – those who updated their ROMs before shouldn’t have to.

By the way, Telus users should call *22803 and press 2 to upgrade their tower information to the latest version. Also, follow the instructions on the NueROM tutorial by me to edit your network settings.

Brennan

May 5th, 2008. comments are open 0 commentsWindows Mobile 6.1 for HTC Titan

I’ve got a HTC P4000, also known on the market as the HTC Titan, or HTC Mogul. I was really bugged at the fact that the OS was really slow. After a bit of looking into it, I realized that most of the stock ROMs are running very bloated, with all this shit running in the background that isn’t supposed to be. Well after a lot of hacking and research, I found that the best ROM to run on the phone….. Windows Mobile 6.1 by No2Chem. I swear it’s the fastest ROM that I’ve ever used in my life. It used to take at least 4+ seconds to open the \Windows\ Directory, but now it only takes a maximum of around 1.5 seconds. I say that’s an amazing improvement.

I’ll lay out a VERY simple install guide for you n00bs, but for those of you that have issues, you should look at the official thread located here.

  • Unlock your OS using the OilPro 2.4 Unlocker, and follow the steps on the install carefully.
  • You should now be on the tri-color screen that should show that you are running the OilPro bootloader now.
  • Download the latest ROM from the PPCGeeks FTP here, or e-mail me, and I’ll give you a direct dl link from here.
  • Disable ActiveSync on your phone.
  • Flash your ROM using the Rom Update Utility here
  • Do a hard reset, and have fun :) (To do a hard reset, hold the two buttons with the round icons under the screen and depress the reset button, and follow the instructions on the screen).

For Telus users, please set your CDMA1x username via. Connections to <phonenumber>@1x.telusmobility.com and your password to your ESN that you can find in your device information.

EDIT: I updated the ROM link to point to build 5059 that is based on the official WM6.1 Build 19202

Brennan

« Previous Posts