June 25th, 2011.
Resizing an ESX Virtual Disk and winload.exe Errors
June 4th, 2011.
Configuring SharePoint AAM
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?! 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:
Recalling what I did a year a so back when my MBR was corrupt, I ran the following commands:
As soon as I rebooted, my system booted up without any issues!
Hope this helps anyone else this has happened to,
May 22nd, 2011.
Apache SSL Certificate Without Passphrase
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.
- Open up your SharePoint Central Administration on the server running SharePoint.
- Navigate to Operations under Central Administration.
- Open up Alternate access mappings under Global Configuration
- Click Edit Public URLs
- Select your Alternate Access Mapping Collection (your web application)
- Then enter the respective URLs that the application will be accessed via.
- 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!
August 5th, 2010.
The “Mojave Experiment” on Engadget
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
May 17th, 2010.
Install Mac OS X on an IBM Thinkpad T43
I found this to be quire hillarious actually
Isn’t there a way to filter advertisments?!
August 20th, 2008.
iPhone 3G Reception Issues? Not in Canada.
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.
- 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.
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).
If you have any questions, feel free to ask via comments or just send me an e-mail.
July 31st, 2008.
New Rig – E8400 @ 4.0GHz & 9800GTX SLi
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 30th, 2008.
Site (Mostly) Back Up
My new system specs are:
- Core 2 Duo E8400 3.0GHz @ 4.0GHz
- 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
May 10th, 2008.
Get EVDO Rev. A on your HTC Titan
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.
May 5th, 2008.
Windows Mobile 6.1 for 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.
- Unlock (or Downgrade) your bootloader to the OilPro 1.2 Unlocker that you downloaded.
- After you completed the downgrade, upgrade your Radio using the radio installer (this works for all carriers by the way).
- 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.
- 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.
- 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.
« Previous Posts
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