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
2120 replies to this topic

#726
satire_rutilant

satire_rutilant
  • Member
  • 8 posts
  • Joined 03-January 10
Hi

I am using ver. 1.0 beta4 of WinSetupFromUSB

I am having trouble installing Windows xp professional (sp2).

Steps taken:

1) Used 8GB Transcend Pendrive
2) Formatted using bootice to NTFS & installed grub4dos (Process MBR) rest left as default options (nothing else was changed)
3) Gave path for CD drive for location of Xp pro sp2 CD.
4) Process started and completed.
5) Booted and started installation on HDD partition for install from First part of installation from the Pendrive.

In the second part of the installation it says "windows is restarting" and then


The trouble it reports is:

"
System Setup Log - (C:\windows\setuperr.log)

Error:
sxs.dll: Syntax error in manifest or policy file "U:\winsetup\sxppsp2\i386\asms\52\msft\windows\net\dxmrtp\dxmrtp.man" on line 0.

***
Error:
Installation Failed: U:\winsetup\sxppsp2\i386\asms. Error Message : Manifest Parse Error : Invalid at top level of the document.

***
Fatal Error:
One of the components that windows needs to continue setup could not be installed.
Manifest Parse Error : Invalid at the top level of the document.
***
"


I have tried this process with an sp3 version of xp pro as well, it reports similar error. In it the windows installation won't go further than second part of installation and would reboot at it again and again so I booted from the HDD (as the first part of the process had completed successfully) and it asked me to locate file "asms" in the i386 folder which I was unable to do and hence it reported the installation as failed.

Please advice.

Attached Files




How to remove advertisement from MSFN

#727
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,722 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag
Can you check and attach \windows\winsetup.log, from the machine where Windows is being installed to?

Have you tried the same USB stick and setup on another machine?

Try also to edit setup.cmd in G:\WINSETUP\XPpSP2\I386\ and change
rem start /min "USB keep mounted work arround, do NOT close!" pushd %CDDRIVE%
to
start /min "USB keep mounted work arround, do NOT close!" pushd %CDDRIVE%

What is the machine in question? Laptop, desktop? What model/motherboard model?

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


#728
satire_rutilant

satire_rutilant
  • Member
  • 8 posts
  • Joined 03-January 10
may have done a typo while noting down the path for the errors shown on the screen

if I wrote U:\winsetup\sxppsp2\i386
it would have meant U:\winsetup\xppsp2\i386

Also the message it gives after starting the second part of installation is "setup is restarting"
which lead to the same error after 3 restarts.

#729
satire_rutilant

satire_rutilant
  • Member
  • 8 posts
  • Joined 03-January 10
The machine in question is a notebook (netbook if you will)

Its Asus eeePC 1000H

I haven't tried the process on any other machine. Just on the same machine again and again( :P )

Will make the code changes you adviced and reply asap.

(Also about the winsetup.log - will try, although you may have to tell me how as currently I have no idea how to get to that file)

#730
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,722 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag
If you have a chance when the error appears press shift+F10 to open CMD window.
There you can type:
type %systemroot%\winsetup.log
or even copy it to USB stick if it is still available:
copy %systemroot%\winsetup.log U:\

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


#731
satire_rutilant

satire_rutilant
  • Member
  • 8 posts
  • Joined 03-January 10
Please note now I am trying to install windows xp sp3 again (as I had orignally intended)...

No luck in furthering the process it is still stuck on

Dailog Box:
*****************************************
----------------------------------------------------
Files Needed
----------------------------------------------------

The file 'asms' on Windows Xp professional Service Pack 3 CD is needed.

Type the path where the file is located, and then click OK.

Copy files from:

GLOBALROOT\??\WINSETUP\XPPSP3\I386

**************************************

Although now I have a dos prompt named "USB keep mounted work around, do NOT close" minimized on the same setup screen as well.

#732
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,722 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag
Ok, please check winsetup.log when this appears and also open \WINSETUP\XPpSP2.ISO with 7zip for example and extract txtsetup.sif. Include it with the contents of winsetup.log.

I hope these Eeepc's will not be the troublemakers and something else is wrong :)

Added:
In the new cmd window what happens when you type U: and press enter? Does it change to U: or says "the system cannot find the drive specified"?

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


#733
satire_rutilant

satire_rutilant
  • Member
  • 8 posts
  • Joined 03-January 10
I hope not, I have installed windows on it earlier using the stable version of WinSetupFromUSB and that worked fine. (I was so pleased I made it my default way of installing windows everywhere)

I have extracted the file "txtsetup.sif. However its size is 583KB and this site does not allow >200K files so I have 7zipped it and uploaded. (I hope that is OK?)

Please note that the current info that I am giving is for xp pro sp3 installation. I am attaching the log created by WinSetupFromUSB for this particular try (as the log I had last uploaded was of the sp2 install). As I couldn't make a cab file of it through opening and WinSetupFromUSB I have 7zipped it as well.

I am trying to write down the contents of the file: C:\windows\winsetup.log
(the copy command did not work as it could not find the drive U:, of course that implies changing prompt to U: would not work as well, although that did not stop me from trying)


Will take a few minutes for me to note down the contents, so please wait.

Attached Files



#734
satire_rutilant

satire_rutilant
  • Member
  • 8 posts
  • Joined 03-January 10
Okay I have typed the contents of the file in the file "winsetup.log" as accurately as I could.

Um error : You are not allowed to upload this kind of file

Should I change the extension to rtf and try again?

#735
satire_rutilant

satire_rutilant
  • Member
  • 8 posts
  • Joined 03-January 10
Have uploaded it as rtf, its the same file no formatting or anything just changed the extension

Please note the word "definied" is written as found in output of the type command.

Edit: missed a line reuploading...

fixed a few typos

--third time's a charm--

Also note that the volumes d,e,f,g,h,i are part of my normal partitioning and c is the reformatted drive for installation of windows.

Attached Files


Edited by satire_rutilant, 04 January 2010 - 02:53 AM.


#736
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,722 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag
Thanks for all this info, really helps. I'll try to find same netbook and test, will keep you informed.

Has anyone else used any of the 1.0 beta versions on EeePC, 1000H in particular, and succeeded/failed with the installation?

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


#737
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,722 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag
Just got report for EeePC 1000x, 160GB HDD, latest BIOS and 4GB USB stick- everything went smoothly using beta3 and 4 :wacko:

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


#738
satire_rutilant

satire_rutilant
  • Member
  • 8 posts
  • Joined 03-January 10
Ok thanks for confirming - I'll try again with another image of xp then.

#739
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,722 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag
I'd try updating BIOS, or looking for some funny option in it, as many Eeepc's have, maybe different USB stick or port too.
Usb disk formatting or partitioning also may matter.

Windows version should not be that relevant, it's a known issue, check:
http://www.msfn.org/.../2-t139737.html

It was fixed by setting USB drivers to load earlier than default, and worked on all systems I tested. It seems this Eeepc has its own opinion, yet to find out what.

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


#740
comt

comt
  • Member
  • 4 posts
  • Joined 03-January 10
Hi ilko_t,
looks like the problem was my cheap USB Stick. Used one of my friends. And now is Windows Xp runing.
Is there a way i can donate some money to you guys? Possible while using my cell?

#741
theruan

theruan

    Newbie

  • Member
  • 31 posts
  • Joined 13-May 08
Hi,
First of all I HAVE TO SAY, wonderfull tool, lol!!!
Many thanks for it.

I was kidding a little bit and i have realized that if i had selected some windows install pointing the folder of the install and if after that i changed my mind and didn't wanted to put that anymore, i unmarked the [v] box and even though windows install was put on my usb hdd.
This is not a big bug, but most likely a gui mistake.

Another thing is about windows installs:
How do i place more than one install in this building mode?
Do they have to be in direfent partitions? Or can they stay all in the same?
Could you add something to remove previous cd or installations on the usb that were add with this great tool?
is there a way to include image ".ima(1,44mbdrives)" boot on the usb trough this tool?
Other insteresting thing would be to place a link for updates in the program or a readme including the link and if possible some kind of explain about the function, mainly about boot mode button.

Sorry my bad enligh.
Many thanks again!
TheRuan

Edited by theruan, 05 January 2010 - 01:52 PM.


#742
ilko_t

ilko_t

    MSFN Addict

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

if i had selected some windows install pointing the folder of the install and if after that i changed my mind and didn't wanted to put that anymore, i unmarked the [v] box and even though windows install was put on my usb hdd.

It's fixed in 1.0 beta4 I think, what version did you use?

How do i place more than one install in this building mode?


Multiple 2000/XP/2003 is fine, when program completes just select the next source and GO, everything is done automatically, no need to relaunch the program.

Multiple PE type (BartPE, UBCD4Win, WinFLPC, WinBuilder) in the same partition- no.
Multiple Vista/7/Server 2008 in the same partition- no.


Could you add something to remove previous cd or installations on the usb that were add with this great tool?

I am afraid not for now, that's tricky, a lot of things are generated on-the-fly according to the source and it would be tricky to keep track of what was added in order to remove it.

is there a way to include image ".ima(1,44mbdrives)" boot on the usb trough this tool?

Nope, just copy this image somewhere and edit menu.lst in the root, it has commented examples which you'd need to uncomment and change per your needs.


Other insteresting thing would be to place a link for updates in the program or a readme including the link and if possible some kind of explain about the function, mainly about boot mode button.

Updates from the program would require dedicated hosting. As for links in readme- yes, in the final versions I update it accordingly.

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


#743
wimb

wimb

    Senior Member

  • Developer
  • 679 posts
  • Joined 21-March 07
I did some experiments with the new version 1.0 beta 4

The approach with RAM loaded small ISO and booting only once from USB-stick is interesting, :thumbup
but for my computer configuration I had some problems with Install of XP from USB.

I tried to do Install of XP on the second Primary partition of my second harddisk.
The second harddisk has in BIOS the highest boot priority and second partition was Set Active.
This means my computer is set correctly as to boot from second partition of second harddisk.

Windows 7 is installed on the first partition of first harddisk and boots with BOOTMGR menu.

Now, when I Install XP on second partition of second harddisk by booting once from USB-stick,
then TXT-mode setup is running well, but on reboot for GUI-mode I get boot error NTLDR is missing. :ph34r:

It turned out that the XP bootfiles were made on first partition of first harddisk.
Moreover, the bootsector of the Windows 7 partition was changed into NTLDR-type.
so that the computer was also not bootable anymore with Windows 7 from first harddisk using F8 BIOS bootmenu.
Instead I got: Windows cannot start due to config error. :ph34r:
The boot.ini that was made wrongly on the first partition of first harddisk, did not have the right arcpath.
It tried wrongly to boot Windows from my USB-stick as rdisk(2) instead of referring to rdisk(1) for my second harddisk.

After booting with LiveXP I could repair the boot problems and after reboot continue with GUI-mode of XP Setup.
Everything else in GUI-mode of XP Setup, including using 5 DriverPacks, making UserAccount at T-13 and Install of Sound and Graphics drivers with DriverForge at T-9 and GUIRunOnce, was working as expected.

A drawback is however, that the booting XP partition gets then Drive Letter D: instead of the common drive letter C:

Conclusion:
The new method is very interesting and promising, :thumbup
but it requires that the XP bootfiles are made on the real boot partition,
instead of making them on the assumed boot partition.

EDIT:
Changing BIOS Setting such that for Install of XP booting occurs three times from USB-stick
enables to proceed with GUI-mode and to boot for login with Desktop. So, this seems OK, but .....
However, the XP bootfiles are still made at the wrong place and the BOOTMGR-type BootSector of the Windows 7 partition
is changed wrongly into NTLDR-type :ph34r:
Removing the USB-stick followed by Reboot gives then the same boot errors as described above. :ph34r:

Edited by wimb, 06 January 2010 - 09:25 AM.


#744
Valeron

Valeron

    Newbie

  • Member
  • 13 posts
  • Joined 02-January 10
Hi, ilko_t. I've successfully made an usb disk with 3 xp installation, ubcd4win and ubcd411. It's a great tool. Thank you again.

But I still got questions. Since the file copying process are very time consuming(small file copying are slow), can I make an ISO alike image backup? The next time I can burn the ISO into the disk and greatly save time. Though I've no idea what tool I can use to make that "ISO".

Edited by Valeron, 06 January 2010 - 08:30 AM.


#745
ilko_t

ilko_t

    MSFN Addict

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

I guess when you use shortcut key (F8, F12, whatever) your boot order in BIOS gets ignored/reset, so your first hard disk becomes first again and the second is second. The rest of your report is understandable and expected, if the above is true.
Just check in grub4dos cli when using boot menu shortcut, is hd1 the disk with 7, or it is the second hard disk.

I'd be grateful if you try changing boot order in BIOS- USB first, second your second hard disk, third your first hard disk and try again, this time NOT using F8/F12 in order to start from USB. In this case everything should go smoothly.

@Valeron
- try this little nice application:
http://www.roadkil.n...hp?ProgramID=12

Use PhysicalDiskN, not the drive letters in order to image the whole disk. And test the image once created.

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


#746
wimb

wimb

    Senior Member

  • Developer
  • 679 posts
  • Joined 21-March 07

I'd be grateful if you try changing boot order in BIOS- USB first, second your second hard disk, third your first hard disk and try again, this time NOT using F8/F12 in order to start from USB. In this case everything should go smoothly.

That is exactly what I tried and reported the result in the EDIT: section.
In that case Install of XP from USB works,
but removing AFTER install the USB-stick results in a computer being not bootable from any of the two harddisks,
with the errors as described in my post.

Otherwise just booting from stick via F8 BIOS boot menu gives in grub4dos cli that Win7 first harddisk is seen as hd1 and my second harddisk is seen as hd2 and the USB-stick is hd0

Edited by wimb, 06 January 2010 - 01:10 PM.


#747
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,722 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag
I couldn't quite understand this part:

Changing BIOS Setting such that for Install of XP booting occurs three times from USB-stick


Did you set the second internal disk as second in BIOS boot order, and first internal as third in boot order?

Boot files are expected to go on hd1 as seen in grub4dos CLI, since it's mapped/switched to hd0. When you tried again which disk was hd1?

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


#748
wimb

wimb

    Senior Member

  • Developer
  • 679 posts
  • Joined 21-March 07

Did you set the second internal disk as second in BIOS boot order, and first internal as third in boot order?

Yes, that is exactly what I did and reported about as my second test.

Boot files are expected to go on hd1 as seen in grub4dos CLI, since it's mapped/switched to hd0. When you tried again which disk was hd1?

In grub4dos CLI I see my first harddisk with Windows 7 as hd1.
Indeed the XP bootfiles are going to hd1 and the BOOTMGR-type bootsector is then changed to NTLDR-type.
But that is what causes the problem, because when you remove the USB-stick and Reboot,
then second harddisk gives error NTLDR is missing.
Trying to reboot from first harddisk gives then Windows boot config error,
since boot.ini wants to boot from rdisk(2) instead of rdisk(1)
So the computer is not bootable from any of the two internal harddisks. :ph34r:

The problem is that after booting from USB-stick then TXT-mode of XP Setup will place the XP bootfiles wrongly on the first internal disk instead of on the second internal disk where XP is installed.

I think it will be difficult (or impossible) for this way of Install of XP from USB to let TXT-mode of XP Setup behave differently ....

Edited by wimb, 07 January 2010 - 03:11 AM.


#749
ilko_t

ilko_t

    MSFN Addict

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

Yes, that is exactly what I did and reported about as my second test.

Boot files are expected to go on hd1 as seen in grub4dos CLI, since it's mapped/switched to hd0. When you tried again which disk was hd1?

In grub4dos CLI I see my first harddisk with Windows 7 as hd1.
Indeed the XP bootfiles are going to hd1 and the BOOTMGR-type bootsector is then changed to NTLDR-type.
But that is what causes the problem, because when you remove the USB-stick and Reboot,
then second harddisk gives error NTLDR is missing.
Trying to reboot from first harddisk gives then Windows boot config error,
since boot.ini wants to boot from rdisk(2) instead of rdisk(1)
So the computer is not bootable from any of the two internal harddisks. :ph34r:

The problem is that after booting from USB-stick then TXT-mode of XP Setup will place the XP bootfiles wrongly on the first internal disk instead of on the second internal disk where XP is installed.

So Setup ignores boot order and honors on what channel they are connected on. Similar behavior should be when installing from a CD too.
Boot.ini gets wrong value because USB stick is mapped to hd1, hence the second internal disk gets wrongly rdisk(2). This should be easily fixable ;)
You must have missed that:

...
To do list:
Find out what's going on with USB hard disks and x64 versions.
Test USB stick/disk mapped to say hd21.
Find workaround for USB sticks, seen as floppy by BIOS. Lacking hardware for this part...

or this one:

Maybe this can be usefull:

timeout 30
default /default

# After execute this commands -> usb-drive always (hd0)
# Nested calls like configfile /menu.lst is ignored
errorcheck off
# Try to supress unneeded messages
debug off
serial --unit=0 --speed=115200
terminal --silent serial
# Clearing mappings...
checkrange 0x00,0x01 read 0x8280 && map --unmap=0:0xff
checkrange 0x00,0x01 read 0x8280 && map --floppies=2
# Shifts (hd) devices (4 hdd by default)
checkrange 0x00,0x01 read 0x8280 && map (hd3) (hd4)
checkrange 0x00,0x01 read 0x8280 && map (hd2) (hd3)
checkrange 0x00,0x01 read 0x8280 && map (hd1) (hd2)
checkrange 0x00,0x01 read 0x8280 && map (hd0) (hd1)
# Maybe USB-ZIP like (fd1) or (fd0) ?
checkrange 0x01 read 0x8280 && map (fd1) (hd0)
checkrange 0x00 read 0x8280 && map (fd0) (hd0)
checkrange 0x00 read 0x8280 && map (fd0) (fd1)
checkrange 0x00 read 0x8280 && map (fd1) (fd0)
# Mapping changes
checkrange 0x00,0x01 read 0x8280 && map --hook
checkrange 0x00,0x01 read 0x8280 && rootnoverify (hd0,0)
# Try to hide unnecessary floppies
ls (fd1)/menu.lst && map --floppies=1
geometry (fd0) || map --floppies=0
# Enable messages output
terminal console
terminal graphics
debug normal
errorcheck on


gfxmenu /boot/_splash/message.gz
configfile /boot/_lst/2menu_en.lst

title
...

...


I think it will be difficult (or impossible) for this way of Install of XP from USB to let TXT-mode of XP Setup behave differently ....

You are joking, right? :w00t:
"Impossible" made this subforum exist and all the work done in here, "impossible" brought up this method, all the previous, and so many other projects, come on, heads up :)

Thanks for tests, useful as always.

Added:

Are both internal disks SATA?
Are they in AHCI or IDE mode?

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


#750
wimb

wimb

    Senior Member

  • Developer
  • 679 posts
  • Joined 21-March 07

Boot.ini gets wrong value because USB stick is mapped to hd1, hence the second internal disk gets wrongly rdisk(2). This should be easily fixable ;)

Yes, this part of the problem will be easily fixable.
But TXT-mode copying XP bootfiles to wrong disk and changing BOOTMGR-type bootsector into NTLDR-type bootsector will be more difficult to prevent from occurring. :unsure:

Are both internal disks SATA?
Are they in AHCI or IDE mode?

Both internal disks are SATA and BIOS setting is IDE-mode. ;)

Hope you will find a solution. I will try and think about it.

Cheers




15 user(s) are reading this topic

1 members, 14 guests, 0 anonymous users


    Goofy2000


How to remove advertisement from MSFN