Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am using an Acer Aspire One netbook with no CD-disk drive, and would like to uninstall Ubuntu 12.04 LTS and install Windows XP in its place. The problem here is that I can't seem to find a program that can put the windows boot files on a USB drive from an ISO file. I have Ubuntu fully installed and have tried using unetbootin. When I tried booting from unetbootin I got a screen with a blue box that had the word "default" in it highlighted. underneath the box there was a countdown that said "will boot from default in 10" after the countdown finished the number would revert to ten and nothing would happen. Can someone tell me another program that would be useful for this please?

share|improve this question
    
I'd re-download your iso as it might be bad. –  philipballew Jun 15 '12 at 3:32
1  
I don't think XP was made to be bootable from Live USB.However this method works for Windows 7, format the Pen Drive (ntfs/ fat) with Gparted (Install from software centre) and make it bootable by selecting BOOT Flag from >> Partition menu >> manage flags >> tick boot on the menu. Then extract the XP iso image to pen drive , Try booting Now. P.S.-- It is an off-topic question . –  atenz Jun 15 '12 at 4:54
    
you should mention that the usb drive needs to be formatted in NTFS. for those of us that dont know those things. it took me a while to figure it out. –  user98108 Oct 16 '12 at 18:55

4 Answers 4

Creating a bootable USB installer for Windows on Ubuntu

Edit: Windows XP doesn't seem to be supported by WinUSB. This method works fine for Windows Vista and up. See here for a different method that works with Windows XP.

WinUSB automates the process of creating a bootable USB stick from a Windows installation disk or .iso file. You can install it either from the .deb package provided on the homepage or through a PPA:

sudo add-apt-repository ppa:colingille/freshlight
sudo apt-get update
sudo apt-get install winusb

The GUI should be straightforward and easy to use:

enter image description here

share|improve this answer
2  
It seems that WinUSB doesn't work for XP: "Supported images: Windows Vista, Seven, 8 installer for any language and any version (home, pro...) and Windows PE." copied from another comment –  Anwar Shah Sep 23 '12 at 14:07
    
Thank you, I have edited my answer accordingly. –  Glutanimate Sep 23 '12 at 20:03

Create a bootable Windows XP USB drive:

Download "ms-sys"

Install it.

Partition your USB drive to NTFS.

Now copy the files from your Windows XP ISO to the USB drive

Copy the Windows XP mbr to the USB drive

ms-sys -m /dev/sdX

Replace sdX with the number of your usb hard drive (for example: sda5).

After that, backup your data, then format your drive to NTFS from your Live USB.

You can now install Windows XP through the USB.

share|improve this answer
    
But the OP has already mentioned the absence of CD disk drive from his H/W. –  atenz Jun 15 '12 at 4:58
    
Ah! I did'nt read that! I have edited my post accordingly. –  upapilot Jun 15 '12 at 5:01
    
Well , if OP formats to NTFS from Ubuntu live USB , then from where will OP will be able to create a LIVE XP Drive. I will suggest OP not to format untill he finds valid solution.Or untill he has two Pen Drives ( one as Ubuntu Live and another one his Trail case of XP), atleast he will have an OS backup. –  atenz Jun 15 '12 at 5:11
    
In that case create a USB drive before formatting. –  upapilot Jun 15 '12 at 5:13
1  
Since you can't install ms-sys from the repos anymore, you might want to install/use the mbr program. sudo apt-get install mbr sudo install-mbr -i n -p D -t 0 /dev/sdX –  teeks99 Oct 5 '12 at 20:24

If you're trying to install Windows XP, you shouldn't need to "uninstall" Ubuntu. You can just install Windows XP. (You'll lose all your Ubuntu files, but I'm sure you know that.)

Installing Windows XP is another matter, and doesn't belong in askubuntu.com.

share|improve this answer

Unless you have a modified SETUPLDR.BIN, it won't work from USB.

Needed:

  1. Modified SETUPLDR.BIN

  2. special stuff in the bootsector of the partition (use ms-sys).

  3. Modified copy of txtsetup.sif copied to the root level

  4. NTDETECT.COM copied to root level

WinUSB does not do this, UNetBootin does not do this, the diskpart tutorial does not do this, WinToFlash does not do this, and bit-banging the iso onto the device with dd does not do this.

Rufus does this. However, it is a Windows-only utility (that is unsupported by Wine), so follow the tutorial here (the big post):

http://superuser.com/questions/99478/make-a-bootable-usb-to-install-windows-xp-from-linux

Though I suppose you could share your target drive to VirtualBox, go through the first part of the installer, and then, instead of rebooting, shutdown the VM. Then turn the computer off and actually boot into the hard drive.

I think that would work because Windows does not become specific to a given hardware configuration until the second phase, I believe.

You see, if you did the whole installation from VirtualBox, Windows would be configured for VirtualBox's emulated hardware platform, not your real hardware.

The method of loading the whole iso into memory and booting it usually results in a blue screen at some point. If you really want to do that method, see this: http://diddy.boot-land.net/firadisk/files/win_iso_install.htm

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.