Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

How to install Windows from USB- WinSetupFromUSB with GUI


  • Please log in to reply
2122 replies to this topic

#1626
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,723 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag
For everyone using 1.0 beta7 version of the program and already put Windows 2000, XP, or 2003 source(s) on USB disk- a quick bug fix before the next version is ready.

There are a few lines in winsetup.lst to be edited to avoid possible "I/O error...." errors at the very beginning of Text mode.
The error would come up only if you previously started one of your Windows 2000/XP/2003 setup sources on computer with 2 or more internal hard disks and use the same setup source on a computer with different number of internal disks.
This happens because BootDevice and SetupSourceDevice values in TXTSETUP.SIF in the small ISO file got permanently changed to new rdisk(X) values, thus consequent search for rdisk(1) & replace with rdisk(Y) will fail as rdisk(1) has been set to other value, according to the number of the hard drives connected in the previous boot of this menu entry. In other words- Setup will be searching for its files in the wrong disk and will throw an error that the disk is not accessible.

Edit in root of the USB disk winsetup.lst in Notepad and change the line:
map /WINSETUP/_ISO_FILENAME (0xff) || map --mem /WINSETUP/_ISO_FILENAME (0xff)
where _ISO_FILENAME will vary according to your source, to:

map --mem /WINSETUP/_ISO_FILENAME (0xff)
map --e820cycles=3

Also replace GRLDR file in root with the one in this archive:
http://grub4dos-chen...b-2011-12-30.7z

You need only the GRLDR file from the archive.

If you already are experiencing the "I/O error", you may recreate the USB disk, or edit TXTSETUP.SIF in all present small ISO files in WINSETUP folder using UltraISO or a similar program and change all occurrences in SetupData section from rdisk(X) to rdisk(1) where X will vary. Next change the above mentioned lines in winsetup.lst to avoid further issues of this sort.

Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB



How to remove advertisement from MSFN

#1627
laddanator

laddanator

    Member

  • Member
  • PipPip
  • 126 posts
  • Joined 06-August 11
  • OS:Windows 7 x86
  • Country: Country Flag

Donator

Edit in root of the USB disk winsetup.lst in Notepad and change the line:

map /WINSETUP/_ISO_FILENAME (0xff) || map --mem /WINSETUP/_ISO_FILENAME (0xff)

where _ISO_FILENAME will vary according to your source, to:

map --mem /WINSETUP/_ISO_FILENAME (0xff)
map --e820cycles=3



Works like a charm. Thanks, ilko_t

#1628
Bojann

Bojann
  • Member
  • 3 posts
  • Joined 22-January 12
  • OS:none specified
  • Country: Country Flag
What is the procedure putting two type windows XP installation on one USB? Is it possible to have two Windows XP versions?

Edited by Bojann, 02 February 2012 - 05:10 AM.


#1629
Bojann

Bojann
  • Member
  • 3 posts
  • Joined 22-January 12
  • OS:none specified
  • Country: Country Flag
OK, so I managed to find the tutorial to install both windows, but I have problem installing grub4dos. Every time i get error tha it cant copy the GRDL file to USB.

"Error: Grldr failed to copy to USB drive G:! File not found"

I have followed the steps shown here: http://www.rmprepusb...to-internal-hdd

#1630
wimb

wimb

    Senior Member

  • Developer
  • 679 posts
  • Joined 21-March 07
You can also try to use the procedure described here
http://www.911cd.net...showtopic=24424
http://www.911cd.net...showtopic=23931
http://www.911cd.net...showtopic=23553

In that case:
- First use BOOT_USB.exe to prepare USB drive for booting with Grub4dos Menu and using Boot Image file
- After booting with PE or Portable XP from USB, you can use R-mouse to Mount Windows Setup ISO in ImDisk virtual drive
- Then use WinNTSetup2_x86.exe to prepare your Target drive for Install of XP or Windows 7
- Reboot from Target drive and Install XP or Windows 7

Edited by wimb, 02 February 2012 - 05:50 AM.


#1631
Bojann

Bojann
  • Member
  • 3 posts
  • Joined 22-January 12
  • OS:none specified
  • Country: Country Flag
Wimb , thanks for your help. Here is what I need. I need to use USB to instal two different versions of Windows XP pro, and All In One Windows 7.
I managed to solve problem with copyng GLRDL file by downloading the latest RMPrepUSB program
Now, If I format the drive using NTFS file system, I get error while booting from usb "Cannot find GRLDR" (or something). If I format the flash driver using FAT, everything is OK. I need NTFS because it is faster and one of my ISO's is 4 GB large. Can I use BOOT_USB that you suggested to install multiple version of Windows?

After all of this, I would like to add portable versions of Windows XP and Win7, BootCD and UBCD. Is all this possible on one USB flash disk?

Thanks for your anwser in advance

Edited by Bojann, 02 February 2012 - 06:46 AM.


#1632
wimb

wimb

    Senior Member

  • Developer
  • 679 posts
  • Joined 21-March 07
You can use BOOT_USB.exe to format USB-stick with NTFS filesystem.

Instead of USB-stick, it is much better to use Portable 2.5 inch USB harddisk e.g. Samsung S2

In that case the speed is much higher and the larger capacity (e.g. 500 GB) is useful for your purpose.
Besides, then you can use normal windows OS to partition and format such USB disk,
and you can use BOOT_USB.exe to prepare USB drive for booting with Grub4dos Menu and using Boot Image file.

You have enough space for all your Windows Setup ISO files and can make it bootable with all other IMG or VHD files.

Edited by wimb, 02 February 2012 - 06:58 AM.


#1633
moataz

moataz

    Junior

  • Member
  • Pip
  • 87 posts
  • Joined 09-November 06
Hello guys,

I'm in the process of setting up xp from Samsung G2 320 GB (USB Hard Disk)

my USB Hard is formated as follows:
1st primary partition NTFS - 8 GB Active (destination drive)
2nd extended ~290 GB

After text setup finished, just after boot screen passes, it's BSOD 0x000000C2

Any info?

#1634
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,723 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag
Is this a customised source?
Do you boot for the second part from USB again or directly from the internal disk?

Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB


#1635
moataz

moataz

    Junior

  • Member
  • Pip
  • 87 posts
  • Joined 09-November 06

Is this a customised source?

I have tried both (customized and untouched) with sata.

Do you boot for the second part from USB again or directly from the internal disk?

it doesn't matter also, i thought it might be problem with this rdummy.sys, cause WinSetupFromUSB doesn't made such error from USB Flash.

i also found that there is no need for boot.ini to be in the root of the USB at all. i'm booting from internal hard disk like this:

map (hd1) (hd0)
map --hook
rootnoverify (hd0,0)
chainloader +1


#1636
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,723 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag
Which version of the program have you used? I guess 0.2.3, right?

WinSetupFromUSB doesn't made such error from USB Flash

Let's stand correct, it's windows throwing an error, for a reason yet to be determined.
Windows handles USB flash and hard disks in a different way. In addition, USB hard disks have a spin-up time as well as power saving functions which may cause a critical delay when accessing the disk.

i also found that there is no need for boot.ini to be in the root of the USB at all. i'm booting from internal hard disk like this:

map (hd1) (hd0)
map --hook
rootnoverify (hd0,0)
chainloader +1

Well, don't, that seems quite wrong with unpredictable results, despite the fact it might have worked for you.
Stick to tested and supported method of booting, to start with.

Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB


#1637
moataz

moataz

    Junior

  • Member
  • Pip
  • 87 posts
  • Joined 09-November 06

Which version of the program have you used? I guess 0.2.3, right?

Yes

Let's stand correct, it's windows throwing an error, for a reason yet to be determined.
Windows handles USB flash and hard disks in a different way. In addition, USB hard disks have a spin-up time as well as power saving functions which may cause a critical delay when accessing the disk.

ok, it seems that i just have to stay with the USB Flash.

Well, don't, that seems quite wrong with unpredictable results, despite the fact it might have worked for you.
Stick to tested and supported method of booting, to start with.

Please try it ilko_t, don't say "quite wrong" only cause i'm newbie, i just wanted to point to easier method.

#1638
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,723 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag

Please try it ilko_t, don't say "quite wrong" only cause i'm newbie, i just wanted to point to easier method.

Not saying because you are newbie, I don't even have a slight idea how newbie you possible could be reading only a few lines of yours, nor can I judge. :)
Even the idea is very good.

Lets put it this way- you have an issue, and you have a good idea how to boot the second part of setup, eliminating the need of boot.ini/ntldr/ntdetect.com on the USB disk.

Let's focus on the issue first- the start with, go back to the default behavior, leave boot.ini/ntldr/ntdetect.com alone on the USB disk and boot ntldr as the default and take it from there, eliminating any possible user interventions.

Once resolved, move to the good idea, test it with various ntldr/ntdetect.com versions and computers, confirm if that doesn't mess up disk enumeration later on and we are good to say "hey, that's a brilliant and working idea!". For now, for me, it's just a good idea, which in my slowly precessing and conservative mind needs time to bloom :lol:


ok, it seems that i just have to stay with the USB Flash.

Not necessarily. If you have the willingness to troubleshoot the problem you have, here we are, all yours.
But you will have to forget what you have in mind, and just follow the advices given. Sounds reasonable? :)
Or are you giving up only because there was no quick answer do A and all is good? :whistle:

Yes

There is also a much newer beta versions with lots of improvements over the previous versions, the first one having no requirement to boot from USB twice, and being beta only because the method of installing is relatively new and not that long tested.

Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB


#1639
IceBoy

IceBoy
  • Member
  • 2 posts
  • Joined 11-February 12
  • OS:Windows 7 x64
  • Country: Country Flag

For everyone using 1.0 beta7 version of the program and already put Windows 2000, XP, or 2003 source(s) on USB disk- a quick bug fix before the next version is ready.

There are a few lines in winsetup.lst to be edited to avoid possible "I/O error...." errors at the very beginning of Text mode.
The error would come up only if you previously started one of your Windows 2000/XP/2003 setup sources on computer with 2 or more internal hard disks and use the same setup source on a computer with different number of internal disks.
This happens because BootDevice and SetupSourceDevice values in TXTSETUP.SIF in the small ISO file got permanently changed to new rdisk(X) values, thus consequent search for rdisk(1) & replace with rdisk(Y) will fail as rdisk(1) has been set to other value, according to the number of the hard drives connected in the previous boot of this menu entry. In other words- Setup will be searching for its files in the wrong disk and will throw an error that the disk is not accessible.

Edit in root of the USB disk winsetup.lst in Notepad and change the line:

map /WINSETUP/_ISO_FILENAME (0xff) || map --mem /WINSETUP/_ISO_FILENAME (0xff)
where _ISO_FILENAME will vary according to your source, to:

map --mem /WINSETUP/_ISO_FILENAME (0xff)
map --e820cycles=3

Also replace GRLDR file in root with the one in this archive:
http://grub4dos-chen...b-2011-12-30.7z

You need only the GRLDR file from the archive.

If you already are experiencing the "I/O error", you may recreate the USB disk, or edit TXTSETUP.SIF in all present small ISO files in WINSETUP folder using UltraISO or a similar program and change all occurrences in SetupData section from rdisk(X) to rdisk(1) where X will vary. Next change the above mentioned lines in winsetup.lst to avoid further issues of this sort.


None of this works for me.

I've tried 5 programs to get xp on usb. They all don't work including this one. Why is there such a large volume of problems with xp on usb. MS made one that works for win7 that works 100%, unetbootin works 100% with linux distros. What is the deal with XP on USB that is so dam troublesome? Can I get an amen?

Anyways, how can I get this program to work?

I get I/o errors, I did the edit thing, then I get couple other errors with numbers like Error 11, (I just got error 15 right after I replaced GRLDR with recommended GRLDR in the zip.)

I am so frustrated, I've been on this mission for 15 hours. I'd use a cd rom drive but I dont have one and cannot get one.

Edited by IceBoy, 11 February 2012 - 09:22 PM.


#1640
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,723 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag

None of this works for me.

Then you have some other problem.

Why is there such a large volume of problems with xp on usb

Because installer used in up to 2003 incl. is poorly documented and ancient, since times when not only USB boot was not possible, but USB was not even out. Thus USB has never been kept in mind.

unetbootin works 100% with linux distros

Open source? If Microsoft have published Windows code it probably would have been much different. But that's another story.

Anyways, how can I get this program to work?

Mostly by giving proper information what exactly the errors are and when they appear.

I get I/o errors

When exactly and what error code?

The easiest thing would be to start from a scratch. Reformat the USB disk and prepare it again. Replace the files and lines mentioned. Report what errors do you see and when exactly.
I am thinking that BIOS sees the USB disk as a superfloppy/zip disk, hence the problems. But let's first rule out any interventions.

What hardware are you installing to? Motherboard or laptop model? Using what USB disk?

Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB


#1641
IceBoy

IceBoy
  • Member
  • 2 posts
  • Joined 11-February 12
  • OS:Windows 7 x64
  • Country: Country Flag

Then you have some other problem.

When exactly and what error code?

The easiest thing would be to start from a scratch. Reformat the USB disk and prepare it again. Replace the files and lines mentioned. Report what errors do you see and when exactly.
I am thinking that BIOS sees the USB disk as a superfloppy/zip disk, hence the problems. But let's first rule out any interventions.

What hardware are you installing to? Motherboard or laptop model? Using what USB disk?


I've gotten Error 11 on second time with a different hdd plugged in. The first time, I booted it up to test the program, I seen XP install blue screen, so I was like ok, it works, I shutdown, removed two hdds and plugged in the one hdd I wanted XP on, this is when Error 11 took place.

After editing everything then I got Error 15 even just with the hdd I wanted xp on, plugged in.

(A). I started a fresh day restarting from scratch, unplugged everything except the hdd I installed too and the USB card reader too SDHC Class 6 flash card.

2006 mobo.

With the procedure (A), I've managed to get XP installed on too my hdd.

Suppose the program will have to be redone for every new install of xp.

Thanks, ilko_t for the help :).

#1642
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,723 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag
Glad you got it sorted.

By the way, you must have missed an important step:

If you already are experiencing the "I/O error", you may recreate the USB disk, or edit TXTSETUP.SIF in all present small ISO files in WINSETUP folder using UltraISO or a similar program and change all occurrences in SetupData section from rdisk(X) to rdisk(1) where X will vary. Next change the above mentioned lines in winsetup.lst to avoid further issues of this sort.


You either did not recreate the USB disk and change the lines and winsetup.lst, or did not :

edit TXTSETUP.SIF in all present small ISO files in WINSETUP folder using UltraISO or a similar program and change all occurrences in SetupData section from rdisk(X) to rdisk(1) where X will vary

and change the lines and winsetup.lst ;)

Suppose the program will have to be redone for every new install of xp.

Nope. If you prepare the USB disk and immediately change the lines in winsetup.lst then it's all good.
If you already used the USB disk on computers with more than 2 internal disks, do the above mentioned steps- TXTSETUP.SIF + WINSETUP.LST, or recreate the USB disk and immediately change the lines in winsetup.lst only.

Working on new version with a lot of fixes and changes, so meanwhile, apologies for any inconvenience caused by this bug.

Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB


#1643
Hacker

Hacker
  • Member
  • 6 posts
  • Joined 04-August 11
  • OS:Windows 7 x86
  • Country: Country Flag
Hi, I read this topic all's well but I want to put there and an image of win xp x 64 if it's posibel to do.pleas help me do theat
Install XP and Win7 onto a computer from one USB flash drive

#1644
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,723 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag

Hi, I read this topic all's well but I want to put there and an image of win xp x 64 if it's posibel to do.pleas help me do theat
Install XP and Win7 onto a computer from one USB flash drive

What worries you?
XP x64 is supported. Download latest version 1.0 beta7, read the notes in the first post next to the download line, select your sources, XP x64 and 7 in one go, press GO. Do the changes mentioned in winsetup.lst so you don't have further issues after the first install. That's it.

Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB


#1645
Hacker

Hacker
  • Member
  • 6 posts
  • Joined 04-August 11
  • OS:Windows 7 x86
  • Country: Country Flag


Hi, I read this topic all's well but I want to put there and an image of win xp x 64 if it's posibel to do.pleas help me do theat
Install XP and Win7 onto a computer from one USB flash drive

What worries you?
XP x64 is supported. Download latest version 1.0 beta7, read the notes in the first post next to the download line, select your sources, XP x64 and 7 in one go, press GO. Do the changes mentioned in winsetup.lst so you don't have further issues after the first install. That's it.

I need win 7 x86+win 7 x64+ win XP x86+Win XP x64+1 .Iso File
how can i do theat?
I read this:
http://www.rmprepusb...-xp-from-an-iso
and I have a problem before then
Welcome to setup
To set up win xp press enter
APPEARS BLUE SCREEN

Edited by Hacker, 17 February 2012 - 11:32 AM.


#1646
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,723 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag

I need win 7 x86+win 7 x64+ win XP x86+Win XP x64+1 .Iso File
how can i do theat?

I would start by reading the first post.

- multiple Windows XP/2kX sources in the same partition (up to 10 99 with vers. 1.0). ...
...
...
- Vista/Windows 7/Server 2008 setup to different primary partitions if it's hard disk type (seen by Windows as FIXED, not REMOVABLE). If USB stick- Windows will not see any other partitions, but the first one, so you are restricted to it anyway. Multiple Vista sources in the SAME partition are NOT supported. Place your second Vista/7/Server 2008 setup in another partition. It can be placed in any primary partition. If looking for several Vista/Server 2008/7 sources in the same partition have a look here or if just for 7 or Vista here. The first link would require you manually to put everything to the USB disk, if using the second you can point the program to the prepared AOI source.


+1 .Iso File

Haven't heard about 1.ISO, can you give some clues?

I read this:
http://www.rmprepusb...-xp-from-an-iso
and I have a problem before then
Welcome to setup
To set up win xp press enter
APPEARS BLUE SCREEN

Sorry, this topic is about WinSetupFromUSB. Please open a new one describing what exactly you did.

Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB


#1647
vittau

vittau
  • Member
  • 1 posts
  • Joined 17-February 12
  • OS:none specified
  • Country: Country Flag
thanks all

#1648
Hacker

Hacker
  • Member
  • 6 posts
  • Joined 04-August 11
  • OS:Windows 7 x86
  • Country: Country Flag
i put on usb only win xp and apers this on ps (the seam on virtual macine, screen from vm)
Posted Image

#1649
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,723 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag
WinSetupFromUSB has an option- Test in QEMU. What happens if you select and use it?

Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB


#1650
Hacker

Hacker
  • Member
  • 6 posts
  • Joined 04-August 11
  • OS:Windows 7 x86
  • Country: Country Flag

WinSetupFromUSB has an option- Test in QEMU. What happens if you select and use it?

In QEMU Test everefing is ok but on PC appears theat img but i solv theat problem(i'v edit in file "XPpSP3.iso" edit file "TXTSETUP.SIF"from "SetupSourceDevice=\ArcName\multi(0)disk(0)rdisk(1)partition(1)"to
"SetupSourceDevice=\ArcName\multi(0)disk(0)rdisk(0)partition(1)") but now appears:
File \WINSETUP\XPpSP3\I386\biosinfo.infcould not be loaded
the error code is 14
"SetupSourceDevice=\ArcName\multi(0)disk(0)rdisk(0)partition(0)"appears:
File \WINSETUP\XPpSP3\I386\biosinfo.infcould not be loaded
the error code is 2

...pres any key to exit .




18 user(s) are reading this topic

0 members, 17 guests, 0 anonymous users


    Baidu (1)