Showing posts with label windows. Show all posts
Showing posts with label windows. Show all posts

Sunday, July 11, 2010

Mac OS X, Windows XP and Data Drive (Three partitions)

Bootcamp is a wonderful tool, but also a pain when you wish to do non standard installations. What I wanted to do was have 1. MacOS HFS+ partition, 2. Windows XP NTFS partition and 3. Data partition (in NTFS format so it can be read between Mac and Windows).

The reason I like to use the third partition is so that I can share my Thunderbird E-Mail folder between Windows and Mac, not to mention various other things like Dropbox folder and work related files.

So to begin with, I can say this was slightly a struggle. First of all I can discuss the things I tried that DID NOT work. Those are:

1. Naively thinking that I could just make a third NTFS partition in Windows (i.e. D: drive) and it would work. No it doesn't. Windows just simply refuses to boot if you have that 3rd partition. I got some problem about HAL.dll not being present, NTLDR is missing, or some other disk error, no matter what I tried.


2. Booting into the Windows XP recovery console via the CD and doing something like 'attrib -H -R -S c:\boot.ini, del c:\boot.ini, bootcfg /rebuild, fixboot.' Save this step. It didn't work for me.

3. Expanding HAL.dl_ from the Windows CD in the i386 folder. Didn't work.


So let's get to the good stuff. The steps that worked. Largely inspired by this site, I was finally able to achieve my dream of having three partitions.

Note: You will NEED Snow Leopard to do this. This is because Snow Leopard secretly has some support for read/write of NTFS if you dig deep.

1. Boot into Snow Leopard.

2. Open Disk Utility from 'Finder->Applications->Utilities->Disk Utility. Make your partitions 1. Mac HFS, 2. Mac HFS, 3. FAT32. Label partition 3 as 'BOOTCAMP'

3. Restart the machine, and run the Windows XP setup. There's no need to install it fully at this stage. Once you reboot, you can go back into MacOS and proceed with the next step.

4. Backup the Windows partition using WinClone (important, you MUST use WinClone and don't skip this step)

5. Download and install Tuxera NTFS for Mac for NTFS support.

6. Reboot

7. Using Disk Utility, erase the 2nd partition as made earlier and format it to 'Tuxera NTFS.'

8. Restore the image, as created in step 4. (This is the most important step).

9. Restart the machine and try to continue with the Windows installation. It 'should' work.


For some reason, after four days of fighting with the system, it all worked smoothly and I was able to continue with my Windows installation and haven't had a problem booting Windows since.

Tuesday, February 16, 2010

php5apache2.dll is missing from my install

Indeed it is.

Especially in a particular case I had with Apache 2.0.63 & Windows.

So, I learned:

1. You need to make sure your PHP installer has "VC6" in the name and not "VC9" (as that's for IIS servers).

and

2. It needs to be the thread safe version.

3. Also, I couldn't get PHP 5.3.1 to work with Apache 2.0.63 at all. No matter which dll file I used. So I downloaded the zip of 5.2.12 (php-5.2.12-Win32-VC6-x86.zip), extracted it to C:\PHP and configured: LoadModule php5_module "c:/PHP/php5apache2.dll" in my httpd.conf.

This site helped at some point too.

Then all was fine.


Saturday, October 31, 2009

Chmod 644 in Windows For Zen cart

If you're getting the warning "I am able to write to the configuration file" ... "configure.php" in Zencart in Windows and are unsure about how to chmod in windows.

Relax, all you need to do is set the file to read only.



Thursday, May 14, 2009

Running .NET Apps On Linux

This seems totally cool. Suse have responded to the .net open standard and made an environment that can run .net applications (according to their sales dudes: C# is the best supported, vb.net is not so good).

http://www.novell.com/products/mono/

I've yet to try it out but it looks promising start. Now we just need something in linux that will enable us to execute native Windows DLLs.

Thursday, May 22, 2008

Missing 'Show Desktop' Icon in Windows XP

Just in case you lose your 'Show Desktop' shortcut. Here's an easy way to recreate it.

1. Create a new file called 'Show Desktop.scf'

2. Open it in notepad or whatever your favourite editor may be and add the following text:

[Shell]
Command=2
IconFile=explorer.exe,3
[Taskbar]
Command=ToggleDesktop

3. Save the file and you're done. You may now drag the icon into the quick launch toolbar.


Sunday, March 30, 2008

Opening a .ai File without Adobe Illustrator

If you don't have Adobe Illustrator, your options for opening a .ai file are:

1. Adobe Acrobat Reader

2. XnView. Available from http://www.tucows.com/preview/290806




Tuesday, January 22, 2008

Remove Background Image for Login Screen on Windows Terminal Services

1. Open Windows Registry and find 'HKEY_USERS\Default\Control Panel\Desktop'

2. Look for the key 'Wallpaper' and delete the value from it, leaving it blank.

3. You're done. Log-off terminal services and log back in.