Clock

23 April, 2011

Install Windows XP on a Mini-Note (USB stick method)

Don't have an Windows XP Bootable CD or is there any problem in your DVD-Drive............
Then Here's a way by which you can Install Windows XP Using USB-Stick(Pen Drive)

Installing Windows XP or any other operating system is easy if you have a USB optical disc drive. But if all you’ve got is a USB flash drive and another computer with a DVD burner, you can still install Windows XP (or many Linux distributions for that matter) on a disc drive-less ultraportable like the HP Mini-Note or the Asus Eee PC. After spending most of Saturday installing Windows XP on my HP Mini-Note I thought I’d share my results with you. Remember, your results may very, so while these are the steps that worked for me, they may not work for you. For example, depending on the version of Windows XP you are using, you may need a different hotfix to install the audio drivers.



Here’s what you’ll need:

  1. 1 USB flash drive, 1GB or larger
  2. 1 Windows XP installation disc or ISO Image
  3. Assorted files that I’ll describe as we go along.
    • Preparing the flash drive
      First up, we need to prepare the flash drive.

    1. Download and unzip this file, which should contain 2 folders: 1 titled Bootsect, and the other USB_prep8.
    2. Navigate to the USB_prep8 folder and click on usb_prep8.cmd. This will bring up a Windows console window.
    3. Press any key to continue and a PeToUSB window will open.
    4. Make sure your flash drive is selected, and click start to format your flash drive.
    5. When the format is complete, click OK, but do not close the PeToUSB window or the Windows Console.
    6. Open a new console window by typing “cmd” into the run box in the Windows Start Menu.
    7. Find your Bootsect folder (if you’re not used to DOS commands, you can type “dir” to list directories and files, type “cd foldername” to navigate to a folder name - called foldername in this example, and if there’s a long folder name you can save time by typing the “cd” and just the first few letters and then hitting the Tab key to fill in the rest of the name).
    8. Once you’re in the Bootsect folder, type “bootsect.exe /nt52 g:” if “g” is the letter assigned to your flash drive. If it’s E, then change the letter to e. If it’s Z, make it z. Get it?
    9. When this is done, you should see a message letting you know that the bootcode was updated, and you can close this console window (but not the other console window).
    10. Close the PeToUSb Window, but make sure not to close the remaining console window yet
    11. You should now see a list of 8 options in the console.
    12. Select one and find the drive with your Windows installation disc.
    13. Select 2 and pick a random drive letter (but not one that’s already on your PC, since this will be a virtual drive used for copying your files).
    14. Select 3 and enter the drive letter for your USB flash drive.
    15. Select 4 and follow the rest of the on-screen directions and you should be all set.
    The process should take about 15-20 minutes. When it’s done, you should have a bootable USB stick that you can use to install Windows XP the same way you would if you had a CD/DVD drive.
    A few notes here. First of all, there’s a chance you may get down to step 15 and the program will tell you that it can’t create the virtual drive. This may happen if you’ve already gone through the whole process and are trying to do it again to fix problems. The solution seems to be rebooting your computer and trying again. Or at least that’s what worked for me.
    Second, if you use NLite to shrink/slipstream/otherwise modify your Windows XP installation file, make sure you do not remove “manual installation files,” or your USB stick will be pretty much useless.

    Installing XP on the PC

    Now it’s time to load Windows XP onto your PC. If you have a USB CD/DVD drive, you probably skipped all the stuff above, and that’s fine. Most of the following steps should work as well. These instructions should work whether you’re installing Windows XP on a system that came preloaded with SUSE or Windows Vista.
    1. Insert your USB flash drive in one of the USB ports on your Mini-Note.
    2. Power on your computer and hit F9 to bring up a boot device selection window.
    3. Choose your flash drive, or if you’re using a USB optical disc drive, select that instead.
    4. Select 2 for a text-based installation.
    5. Make sure to delete all of the partitions on the hard drive. While you may have some success creating separate partitions on your hard drive using this method, I did not. If you find yourself with a Hal.dll or bootloader missing error when you’re finished, there’s a good chance it’s because you did not delete all of the partitions. Note that I will be providing instructions in the next section for partitioning your hard drive after installing Windows XP, so you can still create a Linux partition later.
    6. Create one large NTFS partition (using the quick option will save you a lot of time)
    7. Follow the on-screen directions.
    8. At least once during the install process, you will be prompted to reboot your computer. If you try to let it boot from the hard drive, you’ll get an error message. What you need to do is hit F9 again when it reboots and this time select option 1 for a GUI setup.
    9. Once you’re done installing XP, you may notice that you are unable to boot into Windows from the hard drive. If you have the USB disk installed, again hit F9, and select the GUI option again. Windows should start. You’ll need to edit the boot.ini file:
      1. Type “msconfig” into the run box in the start menu
      2. Select the BOOT.INI tab
      3. First, try the “Check All Boot Paths,” option. This may solve your problem by finding and removing the incorrect boot settings.
      4. You may also need to edit the boot.ini file manually if it doesn’t read something like ‘multi(o)disk(0)rdisk(o)partition(1)\Windows=”Windows XP Pro” /fastdetect’
      5. The most likely problem is that wrong partition is selected. It may say (0) or (2) or something like that. The steps below will show you how to backup and edit it.
      6. Open your System Properties by right-clicking on My Computer and choosing Properties. Alternately, you could type “sysdm.cpl” into the run box in the start menu
      7. Select the Advanced Tab
      8. Click the Settings option under Star
        tup and Recovery
      9. Click the button that says Edit to open up your boot.ini file in Notepad. It’s a good idea to save a backup now by selecting Save As, and saving the file to a place where you won’t forget it.
      10. Now you can (somewhat) safely edit the boot.ini file, changing the partition number or other settings to more closely resemble the one I listed above. Save your file, and hopefully you’ll be able to reboot without your USB stick.
       
      1. Configuring Windows XP(Not Recommended)

        Now you should have a working Windows XP desktop, but you’ll find that you can’t connect to the internet via Ethernet or WLAN, you have no sound, and no support for the Fn keys. In order to fix these issues you’re going to need a few files. I’ve wrapped them all up into a ZIP file which you can download. 
        Once you’ve downloaded this file using another computer, you can copy it to your Mini-Note using a flash drive or SD card. Or if you’d rather just install the Ethernet drive so you can download the full 20MB ZIP file on your Mini-Note, you can find the Broadcom Ethernet Driver here. Once you unzip the files into a folder, you should have everything you need to get Windows XP up and running.
        To install the Broadcom driver:
      2. Open the device manager by right-clicking on the My Computer dialog, selecting Hardware, and then Device Manager
      3. You should notice a bunch of little yellow alert icons. One will say something like Gigabit Ethernet. Honestly I forget exactly what I said, but it was pretty obvious.
      4. Right click on the Ethernet icon and select Update Driver.
      5. Select the Have Disk option, and navigate to the subfolder labeled win_xp_2k3_32 and choose the b57win32.inf file.
       
        Now you should be able to connect to the internet, activate windows, and download most of the rest of the drivers you need from windows update. You’ll need to select the Custom option in order to get some of these updates. This should provide the drivers for your WLAN, touchpad, and other hardware.
        Note that Windows Update didn’t automatically suggest the webcam driver for me. In order to install it, I had to find the webcam in the Device Manager (once all the other drivers, including the audio driver — see below — were installed, it was the only devices with a yellow flag next to it), and select the Install software automatically option. That did the trick.
        Next, let’s enable sound. There does not appear to be a working audio driver for XP yet, but I’m holding out hope that HP will post one on its website when the company begins offering Mini-Note computers preloaded with Windows XP. I’m not going to hold my breath though. HP currently sells Mini-Notes preloaded with SUSE Enterprise, but there are no drivers or other support files on the HP web site for this configuration yet. Anyway, what you need to do is install a hotfix that will let you run the Windows Vista audio driver.
      1. Run the KB888111.exe patch. If you have Windows XP SP1, you can run the kb888111xpsp1.exe file instead. Note that you should do this before upgrading to Windows XP SP2 or SP3. In fact, when I tried to update my system from SP1 to SP2, I wound up with an unbootable system, so if you have a Windows XP Sp1 install disc, I’d recommend skipping SP2 altogether and jumping straight ahead to SP2. You can either grab a release candidate of SP3, wait a few days for Microsoft to release it officially, or if you look around I’m sure you can find it today.
      2. The file called sp38873.exe is the audio driver. Go ahead and click it and it will start to install the Vista audio drivers. Installation will fail because you’re not running Windows Vista, but the installer will create a folder that contains the driver.
      3. Find your sound device in the Device Manager. It should still be an unknown device with a big ole yellow flag next to it. Select update driver, choose the have disk option, and navigate to the folder where you unzipped your Vista audio drivers.
      Keep in mind that this audio driver is not designed to run on Windows. And every time you boot your computer, a pop up window will alert you to this fact. Here’s how to disable this pop up:
      1. Type “msconfig” into the run box in the start menu.
      2. Select the startup tab.
      3. Uncheck the box next to smax4pnp.
      4. Click OK and reboot your computer.

        • AND ENJOY WINDOWS XP.................................................................................
        Thank You for your patience and time for reading this post..................:)

        No comments: