Jump to content

How to install Windows from USB- WinSetupFromUSB with GUI


Recommended Posts


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:

geometry (hd0)

[ENTER]

and

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:

makeactive (hd0,1)

[ENTER]

to make the second partition active

OR

makeactive (hd0,2)

[ENTER]

to make the third partition active.

Then issue the commands:

find --set-root /menu.lst

[ENTER]

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

Link to comment
Share on other sites

Hi! :hello:

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 :

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:

>> 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 :

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

Edited by Axxoul
Link to comment
Share on other sites

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?

Link to comment
Share on other sites

Thanks ilko, i think that was the problem :( 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 "?

Edited by Axxoul
Link to comment
Share on other sites

Thanks ilko, i think that was the problem :( 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

Link to comment
Share on other sites

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. :w00t:

Which motherboard is it? :unsure:

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

Link to comment
Share on other sites

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 :

hardware.JPG

Edited by Axxoul
Link to comment
Share on other sites

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

You joking right? :unsure:

I usually shout this, NOT "hear" it. ;)

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: ):

http://www.boot-land.net/forums/index.php?showtopic=7507

http://www.boot-land.net/forums/index.php?...=5766&st=77

jaclaz

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...