Help - Search - Members - Calendar
Full Version: How to install from USB- WinSetupFromUSB with GUI
MSFN Forums > Member Contributed Projects > Install Windows from USB
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14

   


Google Internet Forums Unattended CD/DVD Guide
click-click
If I missed this skimming through this thread my apologies, but is it possible to reuse a usb stick prepared with WinSetupfromUsb without redoing the source and boot files after completing an installation?

The reason I ask is that when I install from a hard drive, the ~BT and ~LS dirs are only temporary and eventually get deleted by setup when it's done with them. I would assume that this will also happen to the USB stick if I install from that. Is there a way around this so that I can use it over again just like a CD?

I don't have any USBs that have write-protect switches, which might be a solution for some but not others like me.

Thanks ...
Lamoboy
QUOTE (click-click @ Oct 9 2009, 12:33 AM) *
If I missed this skimming through this thread my apologies, but is it possible to reuse a usb stick prepared with WinSetupfromUsb without redoing the source and boot files after completing an installation?

Yes, you can use your USB-stick for future installations without doing any special thing.
jaclaz
QUOTE (click-click @ Oct 8 2009, 11:33 PM) *
The reason I ask is that when I install from a hard drive, the ~BT and ~LS dirs are only temporary and eventually get deleted by setup when it's done with them. I would assume that this will also happen to the USB stick if I install from that. Is there a way around this so that I can use it over again just like a CD?


The "idea" is right, but ways were found to avoid the deleting. thumbup.gif
A prepared stick can be re-used any number of times. smile.gif

If you are interested in the "HOW it's done", take some time reading the "historical thread:
http://www.msfn.org/board/boot-install-usb-key-t61384.html

Some other info/ideas are in these threads:
http://www.msfn.org/board/win-nt-bt-can-om...03.html&hl=
http://www.msfn.org/board/move-xatsp-and-x...28.html&hl=

QUOTE (Lamoboy @ Oct 8 2009, 07:29 PM) *
Hi All!
Is it possible to install WinXP from 16Gb USB-flash?
I had successfully installed this OS from 4Gb and 8Gb USB-flash, but can't do this from 16Gb wacko.gif

Which "symptoms" do you have on the 16 Gb?
First thing that comes to mind is that you are going over the CHS boundary when going over 8 Gb.
Is it a problem of booting the stick?
Which filesystem are you using?

jaclaz
Lamoboy
QUOTE (jaclaz @ Oct 9 2009, 12:56 PM) *
Which "symptoms" do you have on the 16 Gb?

WinSetupFromUSB say that it couldn't backup MBR.
QUOTE
Is it a problem of booting the stick?

no, I couldn't even place a WinXP distributive to it (see my first answer)
QUOTE
Which filesystem are you using?

FAT32

I have tried NTFS and it worked! Thank you for your helping question!
jaclaz
QUOTE (Lamoboy @ Oct 9 2009, 02:46 PM) *
FAT32

I have tried NTFS and it worked! Thank you for your helping question!

Happy it worked smile.gif, though cannot say WHY. unsure.gif

Maybe I got it right (by chance), but there seems to be a misunderstanding.

The NTFS vs. FAT32 should work IF the stick had been partitioned properly and formatted with FAT32 AND it did not boot properly.


The:
QUOTE (Lamoboy @ Oct 9 2009, 02:46 PM) *
WinSetupFromUSB say that it couldn't backup MBR.

Sounds more like a stick formatted as superfloppy (i.e. not partitioned).

If it now works with NTFS, it should work as well if re-formatted as FAT32.

In case:
http://www.boot-land.net/forums/index.php?...=8528&st=21

jaclaz
hax
btw. fyi - the problem with grubinst.exe and not being able to backup the boot sector is probably happening when one has too many harddrives.
the grubinst seems to be able to only handle harddrives 0-9 and not 10. at least that was the problem for me - worked like a charm on my notebook and not on my desktop pc where the usb stick was hd10.
jaclaz
QUOTE (hax @ Oct 9 2009, 05:56 PM) *
btw. fyi - the problem with grubinst.exe and not being able to backup the boot sector is probably happening when one has too many harddrives.
the grubinst seems to be able to only handle harddrives 0-9 and not 10. at least that was the problem for me - worked like a charm on my notebook and not on my desktop pc where the usb stick was hd10.


Yes smile.gif, this is documented:
http://www.boot-land.net/forums/index.php?showtopic=5897
(but it should have been fixed) unsure.gif

Are you sure you are using latest version? (Limit should be 20 now)

jaclaz
z4ck
Hi,

Firstly, thanks for this great tool smile.gif

Is it possible to add xpsetup and WAREZ ?
jaclaz
WAREZ are NOT supported on this board.

SEE Rule #1a:
http://www.msfn.org/board/forum-rules-upda...ead-t18408.html

jaclaz
dumble
Ok, i installed the latest version of winsetupfromusb. I extracted files from windowsxp iso file to a folder [WINXP]. I think first i need to format my usb with the use of rmprepusb, but what options do i have to choose? Is this ok?:
jaclaz
QUOTE (dumble @ Oct 15 2009, 04:21 PM) *
Ok, i installed the latest version of winsetupfromusb. I extracted files from windowsxp iso file to a folder [WINXP]. I think first i need to format my usb with the use of rmprepusb, but what options do i have to choose? Is this ok?:

Yes. smile.gif
(if you want a NTFS partition)
On a small stick FAT16 will do allright, anyway.

NTFS is faster:
http://www.msfn.org/board/fat16-vs-fat32-v...ck-t125116.html
but increases the numbers of write cycles, taht should not be a problem for a USB stick that is used only for install, however.

jaclaz
mjphelan
Ok bit confused,

I made a couple of request for help posts, that got deleted... with no explanation as to why.

Have I offended someone by asking for help?

edit: doh, that will teach me to wahct the whole forum, not just one thread ;o) Posts got split out.
jaclaz
QUOTE (mjphelan @ Oct 16 2009, 04:27 PM) *
Ok bit confused,

I made a couple of request for help posts, that got deleted... with no explanation as to why.

Have I offended someone by asking for help?

edit: doh, that will teach me to wahct the whole forum, not just one thread ;o) Posts got split out.


Yep, I tend to split help requests that I foresee (even without my crystall ball newwink.gif) won't be resolved in one single reply or two, to keep the present thread as "general" as possible and have as many "specific" threads as possible, so that info is easier to find later or by other users that may get the same problem.

jaclaz
Asoksevil
Hey all!

I got some problem there, everything is okay till I get the "select partition menu".

It just shows my USB Stick, it doesn't show the others one, the C: which got Windows Seven and D: which has all my data and documents.

I tried everything, edditing boot.ini but it's still showing just the USB Stick Partition.

Can anyoby help me?

Thanks for all!
mehboob
We have added a mirror for this : WinSetupFromUSB 0.2.3

LINK : http://www.netbookfiles.com/1022/winsetupfromusb-023/

OP, if you are interested you can add this into the mirros.

Thank You!!
bozo8787
Hi,

1st thank you to those that have made this tool possible.

1. I still have not figured out how to add more than one Win OS in USB. In the readme it states that one can add up to 10.

2. I have successfully installed UBCD4Win. However, when I run it on my dell mini10 2GB RAM, it freezes upon boot. But, it loads fine in other desktops.

3. Is it possible to add several Win OS's and UBCD4Win all in one USB? If so could you point me in the right direction?
ilko_t
1) From \WinSetupFromUSB\Docs\HOW-TOs.txt:
QUOTE
NOTE: Program can add multiple Windows sources to the USB disk (up to 10). Just run the program again and follow the prompts.

Program will detect existing Setup files and on the prompt will tell you what to press to add another source, patching the previous one.
2) At what stage it freezes? What's the last thing you see in the screen?
3) Yep, just add all those windows setups as per above and at some point UBCD4Win as well, order I think does not matter, could be even simultaneously with one of the windows sources.

@mehboob
Thanks, will add it as a mirror.
jaclaz
@bozo8787
Maybe to clarify, you do not add "several installs" in "one pass", you re-run the program from start for each source you want to add.
It's an "incremental" kind of "building".

jaclaz
atlantisman87
hello i'm a new french user on this topic
i've proceed with the WinSetupFromUSB_0-2-3.exe : i've formatted an externel usb drive seagate 100 Go with NTFS and reboot for the first step
the windows setup begin but end with the messe "\Windows can't be created'

what's the problem please ?
thanks
ilko_t
1) What Windows version did you put on it?
2) Did you select/move the radio button FIXED/REMOVABLE usb disk type? It should be on FIXED for your case.
smokada
it's possible to add a option to boot from internal HDD?
ilko_t
To grub4dos boot menu?

Just add this to menu.lst on the USB disk:
CODE
title Boot from first internal disk
map (hd0) (hd1)
map (hd1) (hd0)
map --hook
chainloader (hd0)+1
rootnoverify (hd0)
tenthor
Hi,

Trying to install new WinXPPro on the Asus Eee 1005HA (on the 2. free partition), where I have already systems WinXpHome (1. partittion) and Ubuntu (3. extended partition) I found the next problem, what is probably the fault of BIOS. The actual boot manager is GRUB from linux in the MBR.
I formatted my Kingston 1Gb pendrive with RMPrepUSB, options Boot as HDD / XP bootable.
Settings in WinSetupFromUSB:
- Force target disc drive: Removable
- BOOT.INI adjustments: DiskNR 0, PartitionNr 2
At copying boot files get a message about problem around installing GRUB (log bellow), but it finishes the full process (copying Win files, etc.)

CODE

2009/11/09 03:38:21- Checking if grub4dos is installed properly
2009/11/09 03:38:21- grub4dos BS/MBR and files are NOT installed properly
2009/11/09 03:38:21- Installing grub4dos BS/MBR and files
2009/11/09 03:38:21- Backing up MBR of disk #1
2009/11/09 03:38:21- C:\WinSetupFromUSB\files\grub4dos\grubinst.exe -s=mbrdisk1-20091109-033439.dat -t (hd1)
2009/11/09 03:38:23- Backed up MBR of disk #1
2009/11/09 03:38:23- Backing up BootSector of disk #1 partition #0
2009/11/09 03:38:25- Backed up BootSector of disk #1 partition #0
2009/11/09 03:38:25- Checking for grldr string in BootSector of disk #1 partition #0
2009/11/09 03:38:27- Saved BootSector of disk #1 partition #0
2009/11/09 03:38:28- Grub4dos bootsector not found
2009/11/09 03:38:28- Checking for grldr string in MBR of disk #1
2009/11/09 03:38:30- Saved MBR of disk #1
2009/11/09 03:38:31- Grub4dos MBR not found
2009/11/09 03:38:31- Installing grub4dos bootsector to (hd1,0)
2009/11/09 03:38:31- C:\WinSetupFromUSB\files\grub4dos\grubinst.exe (hd1,0)
2009/11/09 03:38:35- Checking for grldr string in BootSector of disk #1 partition #0
2009/11/09 03:38:37- Saved BootSector of disk #1 partition #0
2009/11/09 03:38:38- Grub4dos bootsector not found
2009/11/09 03:38:38- Could not install grub4dos bootsector
2009/11/09 03:38:42- Installing grub4dos MBR to (hd1)
2009/11/09 03:38:42- C:\WinSetupFromUSB\files\grub4dos\grubinst.exe (hd1)
2009/11/09 03:38:46- Checking for grldr string in MBR of disk #1
2009/11/09 03:38:48- Saved MBR of disk #1
2009/11/09 03:38:49- Grub4dos MBR found
2009/11/09 03:38:49- Copying grldr
2009/11/09 03:38:50- Copying menu.lst
2009/11/09 03:38:50- Copying default
2009/11/09 03:38:50- grub4dos installed



After reboot in BIOS I set the boot order:
- removable
- hard disk (sees 2 hard disks: the original Hitachi and the prepared USB pendrive)
Unfortunately at hard disk selection I can only choose BETWEEN Hitachi and USB and not to SET ORDER.
So if I set Hitachi the boot order looks like
- removable
- Hitachi
In this case NOTHING happens, as if no USB device connected (starts the old Linux GRUB)
If I select USB as Hard disk then the boot order is
- removable
- USB
In this case starts the Win setup process, but the Setup program only sees the USB drive/partition and not the Hitachi partitions where should be install the new WinXPPro

In both case the first "removable" parameter as boot device has no effect, everything depends what I set up (as a second boot device) for hard disk (Hitachi or prepared USB)

I hope my problem is understandable (because of my poor English) and somebody have solution for my problem.

Thanks in advance
jaclaz
It's not clear WHEN the internal hard disk is not seen.

Try this: boot from the USB device and press "c" at the grub4dos choices.
You will get to the grub4dos command prompt.

Type in it
CODE
find (

and press [TAB] key.
You should see a (hd0) and a (hd1) devices.

Has the source the drivers (SATA) for the internal hard disk integrated, right? unsure.gif

jaclaz
tenthor
The BIOS Boot Settings section is

(A) Boot device priority
1st boot device Removable device
2nd boot device HDD: Hitachi <<<< this value depends from the next setting

(B) Hard disk drives
1st drive HDD: Hitachi
2nd drive USB: Kingston
(If pendrive isn't plugged in then no choice available)


So, if I choose HDD:Hitachi at (B) Hard disk drives as a (A) 2nd boot device then nothing happens, as if no USB device connected (starts the old boot process)

If I choose USB:Kingston at (B) Hard disk drives as a (A) 2nd boot device then starts the boot process from pendrive, but when the setup process ask where to install the system, it shows only the pendrives partition as possible choice.

GRUB4DOS displax hd0 hd1 and rd as possible disks

... and SATA drivers for the internal hard disk isn't integrated into Windows (original WinXP+SP3 used as source)
asriphet
it's possible to prepare xp / win7 x86 / win7 x64 in one UFD?
jaclaz
QUOTE (tenthor @ Nov 9 2009, 03:31 PM) *
GRUB4DOS displax hd0 hd1 and rd as possible disks


Good. smile.gif

QUOTE (tenthor @ Nov 9 2009, 03:31 PM) *
... and SATA drivers for the internal hard disk isn't integrated into Windows (original WinXP+SP3 used as source)

... and how do you expect that setup can see the internal SATA drive without it's drivers? woot.gif

@asriphet
Re-read, this time attentively, post #1

QUOTE (ilko_t @ Jul 11 2008, 09:31 PM) *
Here comes the first GUI for our little project.

What it can be used for adding to your USB stick/disk:

- multiple Windows XP/2kX sources in the same partition (up to 10). They have to be in the first partition of the disk! Existing folders ~BT and ~LS and TXTSETUP.SIF will be renamed, and SETUPLDR.BIN and SETUPDD.SYS patched against the new names. Checksum checks are also corrected. BTS OEM folders are supported and renamed accordingly.
- BartPE/WinBulder/UBCD4Win/WinFLPC (NOT ramdisk versions) to any primary partition. Multiple BartPE for example, in the SAME partition are NOT supported. Neither is the mix of them on a single partition.
- Vista/Windows 7 setup to different primary partitions. Multiple Vista sources in the SAME partition are NOT supported. Place your second Vista setup in another partition. It can be placed on any primary partition.
- PartedMagic, a friendly Linux distro including GParted- open source partition manager.
- SyLinux bootsector, and optionally a directory, containing (Linux) distro booting off SysLinux. For example you may extract UBCD411.ISO, and point it to this folder. Entire contents will be copied and entry for SysLinux will be added to the boot menu.

Please read "Multiple Vista" as "Multiple Vista or Windows 7". newwink.gif

jaclaz
asriphet
QUOTE (jaclaz @ Nov 9 2009, 10:24 PM) *
@asriphet
Re-read, this time attentively, post #1


Thank jaclaz for fast reply
I was tried as follow methods in several times but I can't get it done.

1) To install dummydisk driver which included in WinSetupFromUSB package.
2) To partition my UDF as partition#1,#2 and #3
note:
partition#1 -> primary, active.
partition#2 -> primary.
partition#3 -> primary.

3) To run WinSetupFromUSB_0-2-3.exe and get
  • partition#1 - WinXP installation source.
  • partition#2 - Win7 x86 installation source.
  • partition#3 - Win7 x64 installation source.


its done without any problems.

4) To try installation WinXP -> Success.
5) To try installation Win7 x86 -> Win7 x86 setup lunched but it can't found source folder. I was tried to continue installation with browe button but i can't see source folder also partition#2 is missing.
6) To try installation Win7 x64 -> it same as Win7 x86 setup process above.

Sorry for my English.
jaclaz
Hmmm, strange.

However one Windows 7 can co-live on the same primary partition as the (one or various) XP's.

In other words:
1st partition one or more XP + 1 instance of 7
2nd partition "other" version of 7

64 bit version were having some problems, though.

You may wait for a reply by ilko_t, he should be able to better clear the matter and help you specifically.


Rest assured smile.gif, your English is better than you think. newwink.gif

jaclaz
ilko_t
I'd guess sticks seen as removable are displayed the same way as in XP/2003- only one partition can be used.

To go around that- either flip the removable bit and use separate partitions as described, or put the other sources in their own folders, initiating setup by entering recovery mode using the one in root-->command prompt and manually executing setup.exe for the desired version.
Haven't played much yet with Vista/7...
tenthor
QUOTE
... and how do you expect that setup can see the internal SATA drive without it's drivers?


thanks for your help
jaclaz
QUOTE (asriphet @ Nov 9 2009, 05:23 PM) *
5) To try installation Win7 x86 -> Win7 x86 setup lunched but it can't found source folder. I was tried to continue installation with browe button but i can't see source folder also partition#2 is missing.
6) To try installation Win7 x64 -> it same as Win7 x86 setup process above.


As a workaround.
when you are at the grub4dos choice, press "c" to get to command line.
In it type:
CODE
geometry (hd0)

[ENTER]
and
CODE
geometry (hd1)

[ENTER]

in order to make sure which of the two is the stick (it should be (hd0) as the drives have not been yet exchanged).
Then issue the command:
CODE
makeactive (hd0,1)

[ENTER]
to make the second partition active
OR
CODE
makeactive (hd0,2)

[ENTER]
to make the third partition active.

Then issue the commands:
CODE
find --set-root /menu.lst

[ENTER]
CODE
configfile /menu.lst

[ENTER]
to get back to the choices.

In this cases BOOTMGR and /boot/BCD have to be in the same partition that is made active.

Report what happens.

If this approach works, you can add the makeactive commands in the menu.lst.

jaclaz
cdob
Multiple boot partitions on the same drive:
http://www.boot-land.net/forums/index.php?showtopic=7138

As far as I remember, XP maps (hd0,0) at USB flash drive.


Maybe it't time to split this multi partitions posts.
Axxoul
Hi! welcome.gif

First off thanks to everyone for their support. I have a Fujitsu Simens laptop but my disk CD drive is broken. Have tried to boot from my XP CD from an external disk drive but i get the NTDETECT failed error. So installing from a USB key is my last resort (although i will try the ram method)

I have used the latest version of WinSetupFromUSB. I have XP MCE SP3. I have attached the log file. However when I reboot, i only get a GRUB4DOS commandline. (booting works fine)

I went back and edited the first boot command to put errorcheck on and this is what i get :

CODE
configfile /menu.lst
Error 11 : Unrecognised device string, or you omitted the required DEVICE part which should lead the filename.


I opened a commandline and entered the following:

CODE
>> root (hd0,0)
filesystem is NTFS, partition type 0x07

>> configfile /menu.lst
Error 15: File not found


Anyone have any tips?

Here is my WinSetupFromUSB.log :
CODE
2009/11/12 19:17:14- WinSetupFromUSB 0.2.3 started
2009/11/12 19:17:14- OS: WIN_XP Architecture type: X86 ServicePack: Service Pack 3 OS Language: 0409
2009/11/12 19:17:14- Getting USB drives information
2009/11/12 19:17:14- Found USB Physical Disk: CBM Flash Disk USB Device -- \\.\PHYSICALDRIVE1
2009/11/12 19:17:14- Found USB Disk Partition: Disk #1, Partition #0
2009/11/12 19:17:15- Found USB Logical Disk: D: File system: NTFS Bootable: -1
2009/11/12 19:17:15- Found USB Disk Partition: Disk #1, Partition #1
2009/11/12 19:17:15- Target drive selected- D:
2009/11/12 19:17:15- Drive letter of the active partition in selected disk- D:
2009/11/12 19:17:15- Total target size avialable- 1432 MB
2009/11/12 19:17:15- Checking sizes...
2009/11/12 19:17:15- Total source size- 0 MB
2009/11/12 19:17:15- Target space available- 1432 MB
2009/11/12 19:17:35- Windows source selected-
2009/11/12 19:17:35- Source version-
2009/11/12 19:17:35- Service Pack-
2009/11/12 19:17:35- AMD64 flag- 0
2009/11/12 19:18:22- Checking sizes...
2009/11/12 19:18:22- Total source size- 538.6 MB
2009/11/12 19:18:22- Target space available- 1432 MB
2009/11/12 19:18:22- Windows source selected- E:
2009/11/12 19:18:22- Source version- Windows XP Professional
2009/11/12 19:18:22- Service Pack- Windows XP Professional Service Pack 3
2009/11/12 19:18:22- AMD64 flag- 0
2009/11/12 19:18:23- Getting USB drives information
2009/11/12 19:18:23- Found USB Physical Disk: CBM Flash Disk USB Device -- \\.\PHYSICALDRIVE1
2009/11/12 19:18:23- Found USB Disk Partition: Disk #1, Partition #0
2009/11/12 19:18:24- Found USB Logical Disk: D: File system: NTFS Bootable: -1
2009/11/12 19:18:24- Found USB Disk Partition: Disk #1, Partition #1
2009/11/12 19:18:24- Target drive selected- D:
2009/11/12 19:18:24- Drive letter of the active partition in selected disk- D:
2009/11/12 19:18:24- Total target size avialable- 1432 MB
2009/11/12 19:18:24- Checking sizes...
2009/11/12 19:18:24- Total source size- 538.6 MB
2009/11/12 19:18:24- Target space available- 1432 MB
2009/11/12 19:18:24- RMPrepUSB launched
2009/11/12 19:18:55- RMPrepUSB closed
2009/11/12 19:19:00- Getting USB drives information
2009/11/12 19:19:00- Found USB Physical Disk: CBM Flash Disk USB Device -- \\.\PHYSICALDRIVE1
2009/11/12 19:19:00- Found USB Disk Partition: Disk #1, Partition #0
2009/11/12 19:19:00- Found USB Logical Disk: D: File system: NTFS Bootable: -1
2009/11/12 19:19:00- Found USB Disk Partition: Disk #1, Partition #1
2009/11/12 19:19:00- Target drive selected- D:
2009/11/12 19:19:00- Drive letter of the active partition in selected disk- D:
2009/11/12 19:19:00- Total target size avialable- 1980 MB
2009/11/12 19:19:00- Checking sizes...
2009/11/12 19:19:01- Total source size- 538.6 MB
2009/11/12 19:19:01- Target space available- 1980 MB
2009/11/12 19:19:24- Removing TEMP folder
2009/11/12 19:19:24- Checking if grub4dos is installed properly
2009/11/12 19:19:24- grub4dos BS/MBR and files are NOT installed properly
2009/11/12 19:19:24- Installing grub4dos BS/MBR and files
2009/11/12 19:19:24- Backing up MBR of disk #1
2009/11/12 19:19:24- C:\WinSetupFromUSB\files\grub4dos\grubinst.exe -s=mbrdisk1-20091112-191713.dat -t (hd1)
2009/11/12 19:19:26- Backed up MBR of disk #1
2009/11/12 19:19:26- Backing up BootSector of disk #1 partition #0
2009/11/12 19:19:28- Backed up BootSector of disk #1 partition #0
2009/11/12 19:19:28- Checking for grldr string in BootSector of disk #1 partition #0
2009/11/12 19:19:30- Saved BootSector of disk #1 partition #0
2009/11/12 19:19:31- Grub4dos bootsector not found
2009/11/12 19:19:31- Checking for grldr string in MBR of disk #1
2009/11/12 19:19:33- Saved MBR of disk #1
2009/11/12 19:19:35- Grub4dos MBR not found
2009/11/12 19:19:35- Installing grub4dos bootsector to (hd1,0)
2009/11/12 19:19:35- C:\WinSetupFromUSB\files\grub4dos\grubinst.exe (hd1,0)
2009/11/12 19:19:35- Launching fsutil volume dismount D:
2009/11/12 19:19:39- Checking for grldr string in BootSector of disk #1 partition #0
2009/11/12 19:19:41- Saved BootSector of disk #1 partition #0
2009/11/12 19:19:42- Grub4dos bootsector found
2009/11/12 19:19:42- Copying grldr
2009/11/12 19:19:42- Copying menu.lst
2009/11/12 19:19:42- Copying default
2009/11/12 19:19:42- grub4dos installed
2009/11/12 19:19:44- DOSNET.INF parsed, 117 files for ~BT folder
2009/11/12 19:19:44- E:\I386\disk1---> C:\WinSetupFromUSB\TEMP\$WIN_NT$.~BT\disk101
2009/11/12 19:19:51- Preparing ~BT folder completed
2009/11/12 19:19:51- Launching MkMigrateInf3.cmd
2009/11/12 19:19:54- Adding lines for binifix5.cmd and start64.exe
2009/11/12 19:19:54- Preparing ~BT folder and boot files
2009/11/12 19:19:54- Preparing ~LS folder
2009/11/12 19:20:00- Preparing BOOT.INI
2009/11/12 19:20:00- Preparing winsetup.lst
2009/11/12 19:20:00- Copy started
2009/11/12 19:20:51- E:\I386\EULA.TXT---> D:\$WIN_NT$.~LS\I386\EULA.TXT
2009/11/12 19:20:51- ERROR!!!--- not copied:E:\I386\EULA.TXT 0 fil(er) copied.
2009/11/12 19:25:51- E:\I386\AUTOCHK.EXE---> D:\$WIN_NT$.~LS\I386\AUTOCHK.EXE
2009/11/12 19:25:51- ERROR!!!--- not copied:E:\I386\AUTOCHK.EXE 0 fil(er) copied.
2009/11/12 19:25:51- E:\I386\AUTOFMT.EXE---> D:\$WIN_NT$.~LS\I386\AUTOFMT.EXE
2009/11/12 19:25:51- ERROR!!!--- not copied:E:\I386\AUTOFMT.EXE 0 fil(er) copied.
2009/11/12 19:34:23- Copying completed. Took: 862.495403186718 seconds
2009/11/12 19:34:23- Fixing unattended section in winnt.sif
2009/11/12 19:34:23- setupORG.exe not found, replacing the original file
2009/11/12 19:34:24- OEMPreinstall found, editing presetup.cmd
2009/11/12 19:34:24- Removing duplicate entries in boot.ini
2009/11/12 19:34:48- Checking sizes...
2009/11/12 19:34:48- Total source size- 0 MB
2009/11/12 19:34:48- Target space available- 1980 MB
2009/11/12 19:34:48- Getting USB drives information
2009/11/12 19:34:49- Found USB Physical Disk: CBM Flash Disk USB Device -- \\.\PHYSICALDRIVE1
2009/11/12 19:34:49- Found USB Disk Partition: Disk #1, Partition #0
2009/11/12 19:34:50- Found USB Logical Disk: D: File system: NTFS Bootable: -1
2009/11/12 19:34:50- Found USB Disk Partition: Disk #1, Partition #1
2009/11/12 19:34:50- Target drive selected- D:
2009/11/12 19:34:50- Drive letter of the active partition in selected disk- D:
2009/11/12 19:34:50- Total target size avialable- 1432 MB
2009/11/12 19:34:50- Checking sizes...
2009/11/12 19:34:50- Total source size- 0 MB
2009/11/12 19:34:50- Target space available- 1432 MB
2009/11/12 19:40:16- ---------------------------------Program quited-----------------------------------------------



Apprently 3 files were not copied : AUTOFMT.EXE, AUTOCHK.EXE and EULA.TXT. (I deleted all other lines regarding copying)

Thanks! thumbup.gif
ilko_t
Is menu.lst in root of the USB stick?
Are those 3 files in D:\$WIN_NT$.~LS\I386\ ?

Try in grub4dos command line to type:
cat (fd0)/menu.lst
cat (fd1)/menu.lst
cat (hd0,0)/menu.lst

Does any of them find and print menu.lst? Which one? FD0?
Axxoul
All files are where they are supposed to be.

the cat (fd0)/menu.lst prints the menu.lst file

all other commands give me "Error 15: File not found"

Thanks for the fast reply btw smile.gif
ilko_t
Your stick is presented by BIOS as a floppy.
Try to find an option in BIOS for USB emulation type:
http://www.msfn.org/board/problem-usbkey-i...on-t139446.html
Axxoul
Thanks ilko, i think that was the problem sad.gif My bios does have USB HDD but my usb stick only shows under USB KEY which i guess is a floppy... Pretty weird since my other usb key with ubuntu boots up fine. Both keys are 2Gigs.

You think the " Install XP from a RAM loaded ISO image " method might work in this case? or maybe " Install XP from USB AFTER Booting with PE from HDD or USB "?
jaclaz
QUOTE (Axxoul @ Nov 13 2009, 11:56 AM) *
Thanks ilko, i think that was the problem sad.gif My bios does have USB HDD but my usb stick only shows under USB KEY which i guess is a floppy... Pretty weird since my other usb key with ubuntu boots up fine. Both keys are 2Gigs.

Well, NO.
If your BIOS has a "USB HDD" option, it should be able to recognize a USB stick with a proper MBR on it as a partitioned device.
This has nothing to do with booting or not booting, is about booting as HD vs. booting as superfloppy.

Use HDhacker:
http://dimio.altervista.org/eng/

to save first sector of the Physicaldrive corresponding to your USB stick , compress it in a .zip archive and attach it to your next post, I'd like to have a look at it.

jaclaz
Axxoul
Thanks jaclaz, attached is the MBR_HardDisk1.dat file

Took the first sector of physicaldrive of the usb key...

Here is a screen of my bios:

jaclaz
Really strange, the MBR is allright, it appears like one created with RMPREPUSB.

The stoopid BIOS must be checking for the "Removable" status of the stick, though it's the first time I see something like that. woot.gif

Which motherboard is it? unsure.gif

You have probably two ways out:
  1. find out the manufacturer of the stick, find the Production Tool for it and "flip" the "removable" bit to have the stick seen as fixed (best)
  2. try using fbinst:
    http://www.boot-land.net/forums/index.php?showtopic=9460


Try running Chipgenius on the stick:
http://www.boot-land.net/forums/index.php?showtopic=4661
if your key is one for which a suitable software can be found, it is the easiest (and permanent) solution.

jaclaz
Axxoul
Trying using fbinst right now...

However saw this in boot-land :

"However, ZIP disk would be (fd0) at boot time, and the data partition is (fd0,0), some application can't handle this properly. To solve this, you can use grub4dos's map command to map (fd0) to (hd0)."

Have you heard of this? if yes any idea how to map fd0 to hd0?

The only info i can get on the motherboard at the moment is this :

jaclaz
QUOTE (Axxoul @ Nov 14 2009, 01:37 PM) *
Have you heard of this? if yes any idea how to map fd0 to hd0?

You joking right? unsure.gif

I usually shout this, NOT "hear" it. newwink.gif

Point is that it greatly depends on how the BIOS handles the thing.

Your stick is actually a partitioned device, i.e. it has a MBR and 63 hidden sector (MBR+62).

What a BIOS may do is to simply "ignore" the first 63 sectors and access the partition bootsector as if it was first sector instead of the 64th, thus "removing" all info about the partition (and "vanifying" the NT boot process using Disk Signature).

There are quite a few reports of these "strange" BIOS behaviour, but, mainly due to posters "abandoning" the game, there is NO real, solid, documented solution, AFAIK.

fbinst can use a workaround to this behaviour, that may (or may completely fail to) work in your specific case.

Maybe reading this seemingly unrelated threads will clear the matter (or completely confuse you blushing.gif ):
http://www.boot-land.net/forums/index.php?showtopic=7507
http://www.boot-land.net/forums/index.php?...=5766&st=77

jaclaz
martinss
works with flash usb 16 GB?
jaclaz
QUOTE (martinss @ Nov 16 2009, 04:07 PM) *
works with flash usb 16 GB?


Of course NO. blink.gif

Size of the stick in bytes NEEDS to be a prime number, but not a Mersenne one:
http://en.wikipedia.org/wiki/Mersenne_prime

Additionally and of course, the formatting has to be carried on with FULL moon, otherwise it won't ever work. whistling.gif

Just TRY it! newwink.gif

jaclaz
class101
Hi guys, small contribution:

-I have verified that this is possible to install Win x64 from an USB HDD + 1 Extended Partition & 1 Logical Drive + it works around XP setup "stealing" C:

Tips:

1)
-with diskpart, set the logical partition active
-create a temp primary partition very small and set it active

after that done, WinSetupFromUSB_0-2-3 will detect the logical drive so you can deploy your installation on it

-don't forget to delete the temp primary partition (this one is just needed for WinSetupFromUSB and this could be a problem after because this partition will still your the C: drive letter)

2)
-make sure you just have your USB HDD plugged in your comp and no existing primary partition, start WIndows Setup and when to the partionning page you should see the destination drive first unpartitionned, and second place for your USB drive with a D: assigned to your logical partition

-create your destination partition, C: will be applied to it
-create a partition in an unpartitioned area of your usb hdd so win write boot files inside

Then some small boot fix and that is done, better to have 2 comp on that method but without thats not possible to assign C because setup files are on a primary partition so thats technically not possible to use C: because Windows assigns C to the USB HDD

It seems Windows installs fine from a logical drive and auto assign D: to it, refusing to assign C: to a logical part to our benefit newwink.gif

Verified with a nlited XP x64

Sorry for my crap english guys Im french
jaclaz
QUOTE (class101 @ Nov 17 2009, 08:34 PM) *
Hi guys, small contribution:

Thanks. smile.gif

But this is not clear (at least to me):

QUOTE (class101 @ Nov 17 2009, 08:34 PM) *
1)
-with diskpart, set the logical partition active
-create a temp primary partition very small and set it active

after that done, WinSetupFromUSB_0-2-3 will detect the logical drive so you can deploy your installation on it

-don't forget to delete the temp primary partition (this one is just needed for WinSetupFromUSB and this could be a problem after because this partition will still your the C: drive letter)


I mean, from reading it it seems like you have two partitions active in the same moment. woot.gif
Also it is not clear if the thing "made active" is the Extended Partition (i.e. the container inside which one or more Logical Volumes or partitions can be created) or an actual Logical volume or partition.

If you want, PM me in French an explanation of the entire process, and I will try translating it in English (your English seems allright to me thumbup.gif , but some terms need to be disambiguated)

jaclaz
class101
ha yeah sorry this is the logical volume I mean to set active

1 Extended Partition + 1 Logical volume
&
1 really small primary partition like 100Mb and active

Forget about the Logical volume made active, I just tested again with a small primary partition made active and this was enough to have winsetupfromusb detecting the USB hdd

To resume how I do it:

1) my usb stick has no partition
2) doing 1Gb extended partition
3) inside a 1Gb logical volume
4) a small 100Mb primary partition inside the unpartitioned space
5) set active the primary partition
6) installing grub though grubinst
7) Copying XP setup on logical volume through your SetupwinfromUSB program
8) moving some boot files from the primary part to logical drive
9) deleting primary partition
At this point the install hdd is ok
10) copying HBCD from Hiren's BootCD 10.0 iso to logical drive
11) adding the code below to menu.lst
At this point the install hdd is ok + hiren boot cd to install the loaders to our futur C:

then I reboot
12) TXT setup
13) to the partitioning options you should see only ONE partition, our USB HDD (logical volume) is shown down with a letter D:
14) create the C: partition to your disk (should be shown first)
15) create a small partition inside the unpartitioned space of your usbhdd (windows will tell you it anyway because it refuses to write boot files to a logical volume)

Then to the reboot, poweroff, reinstall grubinst to the USB HDD, reboot with it and the second step starts
Setup may then warn you it fails at finding HarddiskVolume2, just set instead Harddisk1/Partition2 and its works perfectly

finally copy boot file from the small primary partition you created during setup and install an MBR to the C: with Hiren bootcd.

Hope it helps I made that quickly I need to eat biggrin.gif

so yesterday I had done to get the logical volume detected in setupwinfromusb tool without having to create a fake primary part and moving boot files but can't remember yet how I did, will post if I remember
ilko_t
QUOTE (class101 @ Nov 17 2009, 01:13 PM) *
...
There is a new approach, much easier and without most of the limitations until now:
http://www.msfn.org/board/install-2000-xp-...so-t139737.html

There is a test version of WinSetupFromUSB attached, don't pay attention to BOOT.INI, FIXED/REMOVABLE and STARTUP FILES ONLY fields, they do nothing and will be removed in next release. Should work just fine with USB stick and x64 sources. Second boot, for GUI mode, can be either the USB stick or the internal hard disk.




Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.