XP SATA TO IDE MIGRATION (& BACK TO another SATA CTRLR).

March 10th, 2008 by amatesi

OK, so, I’ve sealed my old XP Install as said at a previous article (look here: XP clone & migrate (without reinstall) ).

The following is a short summary:

I then cloned the SATA HD connected to an nforce2 controller & AMD CPU to an IDE HD connected to an IDE controller by using Ubuntu and dd.

Next I connected the IDE HD to a new intel C2D-based mobo on the JMB 368 IDE controller, and all went fine (all recognized and all): end of story.

What I expected to do was to port my AMD CPU + nforce2 XP Install to another mobo, precisely a still good (and a bit old), Biostar P4M800 M7 A with an intel P4 Prescott 2.8Ghz HT EM64T, VIA PT890 Chipset + VT8237 SB & SATA (this is my spouse’s pc - for practical reasons she needed hers and I, mine, and since her data was on mine xp install…), pratically is the description of an AMD to INTEL switch.

So, just before connecting the IDE HD to the new mobo, I cloned It once again, this time to a different SATA HD.

As soon as the cloning process finished, I suddenly took this HD and connected it to the Integrated VIA SATA Controller of the Biostar mobo.

First boot, crap! It kept BSOD-ing continuously. I said: DaN, Why???

After some thinking I figured it out: the reason was the SATA port and the VIA Controller (yeah, I know: reading this does seem obvious, but while you are doing stuff is another thing): there were no drivers before, so XP complained about it!

I thought that, if XP was smart enough to search for SATA drivers on its own, were it would expect them to be, it’ll have worked.

So I searched the (frak) Via SATA Storage controller drivers. Best bet was manufacturer’s website, in this case BIOSTAR, so I  after some struggling found what I was searching for: VRAID_DRIVER_V550B.ZIP SATA Drivers. I grabbed a copy and put another inside my flash drive. Next I booted my spouse’s PC with Ubuntu live and accessed the flash drive were the driver resided.

I opened the driver’s zip file and searched through the folders, until I found what I was looking for:

  • VRAID_Driver_V550B\VRAIDDrv\XP\x86\viamraid.sys

From ubuntu I copied this file to:

  • C:\Windows\system32\drivers

Then rebooted the system with windows xp.

To my surprise, I discovered It worked.

Posted in Hacking, XP | No Comments »

Access AHCI NCQ SATA HDDs from XP (with intel ICH9 SB).

March 4th, 2008 by amatesi

After cloning and migrating my xp install, I needed to access the “other” HDDs connected to my new PCs SATA II (for more info, see here: xp clone & migrate (without install) ).

I have an IDE HD with XP installed, an IDE DVDRW connected on the same IDE channel, then 3 other SATA HDDs, connected to their SATA ports:

  • 2 SATA WD Caviar RE2 500 GB.
  • 1 SATA WD Raptor X 150 GB.

I use those disks for storage & backup purposes (& for Ubuntu of course [the Raptor]).
I needed to access these HDDs from XP, but since the MB is the standard, non-raid version, ICH9, and I’ve checked from BIOS “AHCI Mode” for SATA HDDs, I was out.

Not intel nor Gigabyte does ship a “AHCI ICH9 XP driver”, shame to them; but we can solve applying a simple hack on the official intel driver.

Get yours from intel - the actual (and the one I am rerferring to) is iata78_enu.exe, but other versions should apply nicely.

So, launch a shell and execute:

  • iata78_enu.exe -a
  • Follow the steps like you’d do for a normal install.
  • Open Explorer, then search for C:\ Program Files -> Intel -> Intel Matrix Storage Manager -> Driver [or Driver64 if using XP64].

There you should see some files.

  • Copy/paste “IaStor.sys” to C:\Windows\System32\Drivers
  • Open “iaahci.inf” with notepad and CTRL+H, then change “2821″ to “2923″ in all occurencies.
  • Search for this string: PCI\VEN_8086&DEV_2922&CC_0106.DeviceDesc = “Intel(R) ICH9 SATA AHCI Controller”.
  • Change with: PCI\VEN_8086&DEV_2923&CC_0106.DeviceDesc = “Intel(R) ICH9 SATA AHCI Controller”.
  • Close and save.

Create a new file, call it ahci.reg and put the following content inside it:

  • Windows Registry Editor Version 5.00 ; Der Treiber iaStor.sys muss vorher in das Verzeichnis
    ; Windows\system32\drivers\ kopiert werden
    ; Erstellt am 10.08.2007 von www.jzelectronic.de
    ; Für ICH9: www.intel.com
    ; Trademarks: Intel (www.intel.de), Microsoft (www.microsoft.de)
    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\CriticalDeviceDatabase\pci#ven_8086&dev_2923&cc_0106]
    “Service”=”iaStor”
    “ClassGUID”=”{4D36E96A-E325-11CE-BFC1-08002BE10318}”
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iaStor]
    “Type”=dword:00000001
    “Start”=dword:00000000
    “Group”=”SCSI miniport”
    “ErrorControl”=dword:00000001
    “ImagePath”=”system32\\drivers\\iaStor.sys”
    “tag”=dword:00000019
    “DisplayName”=”Intel AHCI Controller”
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iaStor\Parameters]
    “queuePriorityEnable”=dword:00000000

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iaStor\Enum]
    “0″=”PCI\\VEN_8086&DEV_2923&SUBSYS_B0051458&REV_02\\3&13c0b0c5&0&FA”
    “Count”=dword:00000001
    “NextInstance”=dword:00000001

  • Execute ahci.reg and say yes.
  • Reboot.
  • As soon as you get to xp, you’ll get presented with the install hardware wizard for the misterious “PCI Device”.
  • Choose expert and choose the path of the previous file, C:\Program Files\Intel\Intel Matrix Storage Manager\Driver\
  • If you made everything correct, you’ll be asked to install an unsigned driver (blame intel for this…).
  • Your SATA HDDs should start to popup and you can access and use them normally.

Infos taken and freely re-elaborated with my experience from Gigabyte support forum: http://62.109.81.232/cgi-bin/sbb/sbb.cgi?&a=show&forum=1&show=3792&start= (German).

Posted in Hacking, XP | No Comments »

My MSI EX700 MAC OSX86 Hackintosh Part 3/3 - Considerations.

February 9th, 2008 by amatesi

Here I’ll expose some descriptive personal considerations from the –almost successful– experiment, with mine MAC OS X + MSI EX700 laptop.

INTRO

My motivations for doing such an experiment, falls back in times when the most powerful PCs was the i386. At that time, I got my (father’s…) very expensive) IBM 286. I found and installed platform games and learned IBM-DOS. I used to play “Lotus III” split-screen from DOS, at a friend’s house. Then, my mum bought an IBM B&W laptop, a 386SX, but this laptop had a difference from my friend’s PC: the IBM OS/2.

Looking (and using) another OS, my curiousity grew up: there existed other OSes! Since I was a stubborn child, I wished to know how many OSes existed in the World; this way I discovered Amigas (another friend of mine had one), and Apple Macintoshes (never saw a real one, just magazines).

Then came “BBS times”. I suspected that out there, probably existed something different from the usual DOS+Windows, so I started digging for it; after some time, Slackware came to me. I used it for some time, dual booting with Windows (for games). Then I tried all the other, major distros, but found them unappealing and difficult (other that my hardware never worked as expected).

Since Macs was soo expensive (and still they are…), I just left this wish untouched, enjoying my Windows + Linux life.

Recently (and finally I must say), a dream come true! After all of this time, it seems that I have no more Operating Systems wishes…[not true: there is still the upcoming Open Solaris (as soon as I'll try it, I'll post something...)].

PHILOSOPHY…

On my experience, I can tell that every Operating System does have a “feel” and do make you “feel” something (it’s not very and clearly explainable, it’s something between the rational and the irrational). I was thaught that a man in life can make different choices: with head and with heart (well-tought and instinctive choices): wich of the two is the right one, only time and experience is going to tell.

Today’s Information Technology does seem very influenced by this “dualism philosophy” (1 or 0 any?).

From reason-side I see Apple MAC OS X as a big, octopus-like Window Manager, that sits on top of a Darwin (FreeBSD) core, offering a smart and easy way of getting things done.

On the heart-side it can be seen as “beautiful, emotional, detailed, user-centric” and all the feminine things that comes to my mind.

I can say I felt very good with my Mac OS X experience, but, since Apple does not allow Clone Hardware installs, I see it as “Illegal”. And the feeling of “Illegal” is not good (for who cares). If someday all of my Hardware will work, I’ll buy a regular license (yes, my wife doesn’t want Vista back…).

CONCLUSION

“Don’t be fucking moron by using this Apple MAC OS X Hacked version everyday/everytime/everywhere if everything for you works”, instead,

“Buy a licence if all of your hardware has been recognized (I know it is still illegal, but it’s gonna show Apple Inc. that there is money out there)”

else,

“Contribute your efforts by making stuff compatible and share your knowledge with other people on the INSANELYMAC FORUM, we all need a new monopolist’s competitor, to help innovation on the X86 market (since more competition should bring more innovation)”.

Who knows? Maybe someday Apple will choose to become more “Software Oriented” and open compatibility up to grey-pcs.

My hope is that, someday, Apple will recognize that all the work made from Linus Torvalds & company is better than their actual (core) and adopt it!

All of this is my personal point of view, you are not incited to do as me, that’s my attitude!

…power to the users and have fun!

Andrea Matesi

Posted in Hacking, MAC OSX86 | No Comments »

My MSI EX700 MAC OSX86 Hackintosh Part 2/3 - HW Compatibility.

February 4th, 2008 by amatesi

Hello, new ones, I suggest you read my previous intro post, here: My MSI EX700 MAC OSX86 Hackintosh Part 1/3 - the laptop.

For who was following me, here I continue my quest, showing you what hardware from the laptop MSI EX700 worked OOB and what not:

  • The LCD is working correctly Out of the box. Nothing to add here. The first startup was at the original res, 1400×900.
  • The Celeron-M 530 CPU has been recognized by the “Apple”->”About this Apple”-menu as “Unrecognized” (!); everything works just fine, CPU-Z 1.43 said it does support SSE2, SSE3 and EM64T. The Apple Mac OSX is a power and ram savvy OS, so Apple does support (and highly suggest), the adoption of a CPU able to perform SSE2 and SSE3. My Celeron-M seems able to fit, almost perfectly.
  • Original installed laptop memory was 1Gb, too less for a New Gen OS like Mac OS X; I suddenly added (post-install) a Value Corsair 2Gb memory module 667Mhz DDR2 . The OS recognized the amount as expected, totaling 3Gb of RAM.
  • The nVIDIA Geforce 8400M G, 128MB VRAM on board (mxm Type II - difficult to replace), was a thouger game, since 10.5.1 has no support for this kind of GPU (that’s why first bootup & intro are slow and crappy). Upcoming 10.5.2 is including support for nVIDIA Geforce 8X00 series, (yup, Apple Mac OS X world doesn’t have direct drivers from the 3rd party Vendors, they are included inside OS and updates). Since there’s 10.5.2beta around, this guy pre-packaged for us the beta drivers: http://scottdangel.com/blog/?p=15 (and say thanks,,,). Just download, double-click and install. Upon reboot I had Quartz Extreme/Core Image working! (once you’re at scottangel’s website, grab your copy of intel compiled Firefox and also thank him again!).
  • On my HDD, everything went smooth; I just reformatted it, creating a 100Gb partition with HFS+ for the OS; then a second, tmp partition for…I don’t know for what! I chosen MBR as boot method (not GUID), and selected the appropriate settings from Kalyway (”Custom”). Although I would have liked to partition everything, I choose to stay standard, for the sake of functionality. BTW, I’ve read various hints on how to install MAC OS X on a partitioned HD (look here for MAC OS X Users partition and here for MAC OS X separate swap partition); it seems a tricky and non standard task, and Apple strongly suggest not to have partitions (why?). My experience tells that a good partitioned HD does offer performance improvements, if done correctly (maybe I’ll share som tricks into another post ’bout that).
  • DVDRW Is working out of the box (I tested DVD read and write with known MAC burning software - toast).
  • Sound worked perfectly after applying a patch; I took ALC883Audio.pkg from the linked place and followed the info on how to install a kext (from terminal, clean the cache by deleting /System/Library/Extensions.mkext & /System/Library/Extensions.kextcache with rm, make a backup copy of your original kext; cp yourkext.kext /System/Library/Extensions, fix permissions with “sudo chmod -R 755 yourkext.kext && sudo chown -R root:wheel yourkext.kext” then reboot - for more info ask or search google or the insanelymac forum). Beware: no integrated mic working. To use the mic, you should plug an external one to the dedicated (red) port.
  • WLAN Atheros AR5007EG still not working, there is still work to be done here.
  • My Gigabit LAN Port Realtek based was working out of the box.
  • Bluetooth working out of the box. I clicked the Soft Button to power it up and it was suddenly recognized. I tested a file transfer with my cell and all went smooth.
  • My Webcam was recognized as BisonCam from Vista; after some research, I think I figured it is a kind of Ali M560x series, but I am not sure. There is an open source project that is working on the implemetation of free webcam drivers called macam, there is hope that someday that cam could be recognized. For now, get a compatible webcam.
  • My Battery wasn’t recognized, so I had to implement another kext kernel patch, the Powermanagement_bundle (just follow the info there!), wich activated a kind of ACPI support. After rebooting, my battery was recognized and the power indicator showed up near the clock, but I could not change CPU speed manually.
  • My italian keyboard was working out of the box, but some obvious keys were mismatched (since I come from PC-world only, I discovered that MAC Keyboards are kind of different). For further help, you can install this cute software (here: Double Command), and do some remapping.

Congrats, now you have a 90% working cheap-mac.

On next article I’ll group some personal considerations.

Posted in Hacking, MAC OSX86 | 1 Comment »

My MSI EX700 MAC OSX 86 Hackintosh Part 1/3 - the laptop.

February 2nd, 2008 by amatesi

Under christmas I gifted my gracious wife with a new laptop.
I wished her a brand new Apple Macbook Pro, but bince I ain’t rich, opted for a cheaper one; enter MSI EX700.

You can find various editions of the so-called laptop, mine has the following specs:

  • Vista Home Basic 32
  • LCD 17,1” / ACV / WXGA+ / 1440×900 Pixel (1 stuck blue pixel :( )
  • Chipset: Intel® PM965 Express Chipset (Cpu-Z 1.43 says it’s GM965)
  • CPU: Intel Celeron M530 (1,73 GHz) [SSE, SSE2 & SSE3]
  • RAM: 1×1024MB DDR2667 + 1×2048 Corsair Value DDR2 667Mhz [added by me]
  • GPU: NVIDIA Geforce 8400M G, 128MB VRAM on board (mxm Type II - difficult to replace)
  • HD: Western Digital 120GB 5400rpm
  • DVDRW: OptiArc Super Multi
  • SOUND: Realtek 883
  • WLAN: Atheros 5007eg 802.11b/g WLAN mini pci-e Card
  • LAN: RTL Gigabit Ethernet LAN
  • PWAN: Bluetooth
  • Webcam: 1.3 MegaPixels BisonCam (Ali M560x series I think).
  • 6Cel Li-Nh Battery
  • Full Keyboard + Standard Keypad (yuppy!)
  • Weight: 3 Kg

I took it for €. 700,00 - almost $. 980,00

…Well, kind of cheap, uh??

bundled CDs: no Full Vista disc (as expected), so I got that 10Gb partitioned space were Vista Recovery resided. In case of failures what to do? Call MS! And that’s just what I did: I ordered an upgrade to Vista Ultimate 32 (just in case…) for the amazing price of €. 5.76 (but that’s another story).
I cleaned the HD from every partition and every data. Then I took (from known torrent sources), iAtkos 1.0i & Kalyway Mac OSX 86 10.5.1 Hacked distros.
First I tried with iAtkos: no way. The installer get stuck @ boot time.
So I switched to Kalyway 10.5.1. Amazing: install process worked perfectly.
I choose not to install anything special, just bare (no NVinject et all) & MBR.

First boot was good (but damn slow gfx, as expected, since no drivers for mine 8400GS).
So I started to digg around (being it my first contact with MAC world…), in search of ins & outs.
After getting a bit acquainted (I learned the OS in no time, it feels very natural), I wanted to know if and how my hardware was recognized.
To my surprise, many things worked, other needed hacks.

Just for reference, I suspect that this notebook uses the same kind of MS-1719 Motherboard that can be found on the higher level MSI GX700 Gaming Series laptop, and I suspect it can be also custom built, as a bare bone laptop, from a 3rd party Reseller like RKCOMPUTERS (http://www.rkcomputers.net/rkcnotebooks/).

Part 2 will follow, with the hacks I had to implement to make stuff work better. I here anticipate that actually not everything is working correctly, but there is chances that in the near future, everything is going to work (then I’ll decide to buy my original license, for now this is just a test experience).

P.S.: All the things described here and after are fruit of my personal research & testing, no warranty given that it’ll work too for you. For more info please register at forum.insanelymac.com

Posted in Hacking, MAC OSX86 | 1 Comment »