Recently, my Toshiba M200 stopped booting. I needed it reinstall Windows, but the M200 doesn’t have a CD drive. I tried everything from booting from a Secure Digital card to external USB drives (which weren’t recognized at the BIOS level). Finally I came across information about PXE booting, also know as booting from a network connection. Using the method below, I was able to install Windows Vista from the original DVD. This method should work for any computer that allows PXE booting, and will allow you to install any operating system, but is most practical when the computer doesn’t have a working CD/DVD drive.
- Download TFTPBoot.exe(154MB) (mirror) and save it somewhere convenient or order everything you need on a CD.
- Open TFTPBoot.exe and extract the contents to the root of your C: drive. You should then have a folder structure that looks something like this:
- Open the tftpboot folder and double-click on tftpd32.exe.
- When Tftpd32 opens, click the “Settings” button at the bottom. Change the settings to match these*:
- Press “OK” to return to the main window. Click the “DHCP Server” tab.
- Once again, make sure your settings match those below, then press “Save.”
- Close Tftpd32.
- Disable any firewalls (including Windows’ built in firewall) on the computer with Tftpd32. Set the network adapter on your computer to have a static IP address of 192.168.1.5 (for details on how to do this, click here).
- Connect the computer with Tftpd32 installed and the computer you are trying to boot together with a crossover Ethernet cord. (It is possible to do this through a more sophisticated network, but a direct connection with a crossover cable is by far the easiest)
- Run Tftpd32.exe again.
- Turn on the computer you are trying to boot, and select the option to boot from the network (called PXE). The method varies from computer to computer, but generally you tap one of the function keys (F12 for example) right after turning the computer on. You will then see a message asking you to press F12 to continue booting from the network. Quickly press F12.
- Windows PE will now load. It may take some time, but eventually you will be presented with a command window (black box with white writing). DO NOT close tftpd32.exe or disconnect the crossover cable.
*Later version of TFTPd32 contain more options than seen here. These additional settings may allow the TFTP process to work with a wider range of computers, but may also introduce problems. For example, those that contain a “DHCP Settings” section need to have all of the DHCP options unchecked to work. If you choose to use a version of TFTPd32 other than that which comes in the package from this page, you’ll need to experiment with all the settings.
You are now in Windows PE and can do what ever you need to do including formatting disks. If you want install an operating system, keep reading.
Now that you are in Windows PE, do the following to install an operating system (such as Windows XP or Vista):
- Put the operating system installation CD in the same computer as Tftpd32 is installed on. Share the CD-Rom drive (how you accomplish this varies by Windows version). Give it a share name of “CD” and make sure “Everyone” has read permission for it.
- Go back to the target computer and in the command prompt window, type Type “net use y: \\192.168.1.5\cd”
- You will be prompted for a user name. Type, “\192.168.1.5\User Name” replacing “User Name” with the name of a user account on the computer with the shared CD-Rom drive.
- You will then be prompted for a password, enter the password associated with the user name you used above.
- You should see “the command completed successfully.” Type “y:” and press enter. Type “setup” and press enter. The setup program on the CD will then load and you will be on your way to installing a new operating system.
While the new OS is installing, be sure to not remove the Ethernet cable or the installation CD.
Once the installation is complete, revert any changes you made to your computer: stop sharing the CD-Rom drive, re-enable your firewall, and reconfigure your network adapter to the IP settings it had before.
If you found this post helpful, please consider making a donation to help cover the costs of this site:
PS: If you are installing Windows Vista on your M200, you will need some special drivers. These can all be found on the web, but since I already have them all downloaded and tested, I’d be happy to send the drivers to anyone who wants them for the cost of a CD + shipping or a few bucks for a FTP transfer. If you are interested, just visit the store.
9 responses so far ↓
1 Ruth Ellison // Feb 2, 2008 at 4:29 PM
Hi Ryan, thanks for the comment on my blog post. This is very helpful – thanks. I’ve updated my with a link back to this one! Cheers, Ruth
2 Hasan // Feb 9, 2008 at 11:10 AM
I’ve got an M200 and thanks to your wonderful instructions I’ve managed to reinstall windows.
However, on the last step (step 5) you wrote to “type ‘y:’ and press enter”, but this did not work as I got an error saying “The system cannot find the path specified”.
Instead, I managed to access the setup (after completing step 4) by typing “\\192.168.1.5\cd\setup.exe”.
Once again thanks for the great post!
*Edited by Ryan Adams for clarity.
3 Ryan Adams // Feb 9, 2008 at 2:10 PM
Make sure you did step 2 correctly. Step 2 maps the remote share “\192.168.1.5cd” to the local “y:” drive. If you don’t map it correctly, you will get an error when trying to access “y:”
What you did should work 95% of the time.
4 Jamie Lenz // Feb 11, 2008 at 1:50 AM
I have gotten to boot into PE. I’m trying to do the reinstall from my Recovery Disk over PXE. I have an install.bat file that i’m using, but when i run it it states ‘XMSDKS’ not recognized as an internal command and then it can’t find ‘tghost.exe’. I’ve copied the /base directory and am initilizing the the BAT find from the /base so the files there, but i can’t get it to load. Any ideas on how to get it to load from the Recovery Disk?
5 Filip // Feb 11, 2008 at 4:47 AM
After unsuccessfully trying to boot both from SD and another PXE-guide I finally had some success with your guide! However I do not have a functioning CD-rom on my “server” so I have to use images instead and when I try to install windows (XP in my case) they option to install is grayed out (meaning I cannot install).
Any idea on what causes this?
Again, thanks for a great guide.
6 Ryan Adams // Feb 11, 2008 at 10:44 AM
@ Jamie Lenz: “XMSDSK” is a ram disk creating program. It allocates a part of your RAM as storage space for files and assigns the space a driver letter. I’ve never used the recovery disks you mentioned, so I can’t be sure, but it sounds like the batch file may not be pointing to the XMSDSK file correctly. Try opening the BAT file and changing any references to “XMSDSK” to “XMSDSK.exe” and insure this file is in the same directory as the BAT file.
@ Filip: I’m not sure what your problem is. I’ve only seen this happen when the Windows installer can’t find a hard drive to install to. I doubt it is related to using an image of the XP install CD (unless of course it is some “customized” image as is common on torrent sites). heck the bios on your M200 and make sure the hard drive is seen. Also, try using the Windows XP recovery console to see if you can see/format the drive. Finally, you may try calling Microsoft, as they offer free installation support (just don’t mention the crazy duct-tape setup you are using to access the CD).
7 Damian // Mar 2, 2008 at 5:16 AM
The Tftpd32.exe supplied in the zip file didn’t work with my Portege. However, the lastest version from http://philippe.jounin.net/tftpd32_download.html worked perfectly (after copying the new tftpd32.exe into the c:\tftpboot folder. Thanks for this page, it has saved me loads of time!
8 Ryan Adams // Mar 2, 2008 at 4:33 PM
Damian » Thanks for noting that. I have updated the ZIP file to include the latest version of Tftpd32.exe.
9 George Wang // Mar 5, 2008 at 1:47 PM
I was successfully able to boot into Windows PE, but I can’t get “net use” to work. I should mention that I am over a router, and I’m 99% sure that’s causing the problem. Without getting a x-over cable, is there any way to get net use to work?
10 Ryan Adams // Mar 5, 2008 at 2:40 PM
George Wang » You might try connecting your two computers together with a straight through cable. Some computers have auto sensing network cards which will work with a strait or crossover cable.
Are you able to ping the computers?
11 Chris Phyffer // Mar 18, 2008 at 9:39 PM
Hi Ryan, Ive only got pxe to boot up to a point, it gives me a (PCI detection has not found a listed pci adatpter. Switching to manual.) I can see none of these drivers that matches my own. can i put the drivers in a directory or pack them up so pxe can see the network drivers?
12 Ryan Adams // Mar 18, 2008 at 9:54 PM
Chris Phyffer » A Google search for that error returns (a few) results: http://www.google.com/search?hl=en&safe=off&rlz=1T4GGIH_enUS243US243&q=%22PCI+detection+has+not+found+a+listed+pci+adapter%22
You (and anyone else having issues) may want to check out the post I adapted these instructions from. It will walk you through manually doing the whole process: http://flimflan.com/blog/InstallingVistaOnYourToshibaM200.aspx
13 Chris Phyffer // Mar 19, 2008 at 12:05 PM
Wonderful thanks for the link and thanks for your help!
14 pablo // Mar 24, 2008 at 12:21 PM
Ryan,
Thank you for the nicely written tutorial. Everything worked perfectly on the first try.
Best regards
15 Ryan Adams // May 24, 2008 at 1:11 PM
I have disabled comments on this post. If you the option to install Windows is grayed out, see this post: https://blog.ryantadams.com/2008/07/30/option-to-install-windows-is-grayed-out-when-running-network-install/
For all other issues, please see this post: https://blog.ryantadams.com/2008/05/24/troubleshooting-problems-when-installing-vista-on-a-m200/