Sunday 11 March 2012

Thinkpad W520 x64 install USB3.0

Summary: Steps to ThinkPad Windows7 clean install through USB3.0 port.

I decided to upgrade laptops, and since I want to run a few VMs and I also want to see what all the SSD craze is all about, I ended up getting a ThinkPad W520. Quad core hyperthreaded to eight virtual cores with an Intel i7, capable of holding 32GB of RAM in 4 slots, and also able to hold an mSATA SSD drive to run your OS. Geek heaven, I'm sold. I upgrade the networking card, add bluetooth, and decide to forego the optical drive so I can have RAID 1 data protection (that's two mirrored hard drives, with one in a caddy where the DVD drive usually goes).

I make the backup recovery disks with the ThinkVantage tool, and then I decide to test the backup, figuring I have no data to lose. Good thing, since the recovery utility seems to work but after using it I boot into a black screen. Re-attempts to use the recovery disk all end in black screen. My brand new ThinkPad is dead.

No big deal, I think, I'll just do a clean install and forget about the Lenovo recovery partitions, since I'll dual boot this with Linux anyhow. So I burn Windows7 to a bootable USB, and during Windows install get "a CD/DVD drive device driver is missing" error. Most people who get this recreate their install DVD or USB, and it works the second time, so I think it must be a corrupted install disk. But every time I attempt to reinstall Windows7 from a fresh bootable USB key, I get the "CD/DVD drive device driver is missing" error. There is some talk of creating an x64 boot drive on a 32-bit machine. I download bootsect.exe and put it in the Windows bootable USB tool directory as advised, but still no luck.

Others say to switch the USB port around if this fails until it works. See, most people have a combination of USB2.0 and USB3.0 ports on their machines. So if they get this error, they move the USB plug around until they hit a USB2.0 port, and the install proceeds swimmingly. Not the W520. All ports are USB3.0. And it turns out that the Windows7 installation disk does not have USB3.0 drivers.

So after many hours of fiddling, I had to make a custom Windows install disk. Here's what worked for me:

  • download the beta of RT Seven Lite for your architecture. I am on x86 so 32-bit, although I am making x64 boot disk.
  • install RT7Lite
  • Lenovo has a USB3.0 driver you'll need, and a WLAN driver (or maybe Ethernet if you're going to hard-wire your network connection) that are the minimums you'll need. Run the .exe files, and accept the default folders of just put them into the same folder you used just above. It will extract the files, and then say done, with an option to install the drivers. Uncheck the checkbox and click finish.
  • start up RT7Lite from your desktop. Click the "browse" button, point it to your Win7 ISO (if you only have an IMG file, rename it's extension to .iso), and then point it to a folder to store some temporary files in. Let it do it's stuff for a while. Then select the "Integration" checkbox. Click on the "Integration" button on the left, then select "Add" and add drivers. Now navigate to the folders that the two drivers you just downloaded and uncompressed are in. There should be two .inf files in the USB3.0 driver folder (\x64\), and two .inf files in the WLAN driver folder (\Win7\S64\Drivers\). "Add" the four files to RT7Lite.
  • click on the Apply button, then on Commit. Let the app do its magic. This takes a long time, and the progress hangs. Once it's done there will be a green checkmark next to the "Finished" stage.
  • at the end, click on the ISO-Bootable button on the left, and then burn it to a medium. At this point, if you are on a 32-bit system, you will have to burn a DVD image, then hook up the DVD with some external wires which you can get for $20 from the computer shoppe. (This is what I did) A 32-bit system with the USB option fails at this point with an x64 warning. If you can do all this stuff on a 64-bit system, you can make the USB. 64-bit machiens can select Mode "USB Bootable", and select your connected USB Device. Click on USB button. 
  • whichever option you choose, this will take a while.
  • meanwhile, download the ThinkVantage System Update. It will install all the driver updates you'll need. Just install and run this app once installation is complete, it is much easier than downloading drivers one at a time.

Now that I'm done, my boot time to home screen went from 1:10 to 0:45. This is a crude measurement since it includes login credentials time. 

Hope this helps.

Still lost? This blog helped me.

2 comments:

  1. Want to know one thing though. Are the drivers Intel USB 3 compatible? Would hate to have to revert to USB 2 after going through the trouble of creating these usb 3 driver integrated iso images.

    ReplyDelete
  2. Why not just use the Intel USB 3 driver with slipstream when you're creating the ISO file if you're particular about the driver's author?

    I haven't had any problem with my setup using a variety of USB connections and flash drives, both 2.0 and 3.0

    ReplyDelete