ilko_t

How to install Windows from USB- WinSetupFromUSB with GUI

2,142 posts in this topic

@jacopo

In the log file grub4dos part seems fine:

2009/02/11 12:38:30- D:\MULTIBOOT\WinSetupFromUSB\files\grub4dos\grubinst.exe -s=mbrdisk2-20090211-123830.dat -t (hd2)

2009/02/11 12:38:30- Backed up MBR of disk #2

2009/02/11 12:38:30- Backing up BootSector of disk #2 partition #0

2009/02/11 12:38:30- Backed up BootSector of disk #2 partition #0

2009/02/11 12:38:30- Installing grub4dos bootsector to (hd2,0)

2009/02/11 12:38:30- D:\MULTIBOOT\WinSetupFromUSB\files\grub4dos\grubinst.exe (hd2,0)

2009/02/11 12:38:34- grub4dos installed

Did you run it with administrator rights?

I see you have another USB mass storage device:

2009/02/11 12:38:01- Found USB Physical Disk: Hitachi HTS541280H9AT00 USB Device -- \\.\PHYSICALDRIVE1
When you booted from USB did you unplug this device? Are you sure that you booted from "Ut163 USB2FlashStorage USB Device"?

As for the QEMU- I don't have Vista to test it under. You may try to replace it (\winsetupfromusb\files\qemu\) with a newer version:

http://bellard.org/qemu/

edit: the version included is 0.9.1, try 0.9.0 or the latest snapshot:

http://homepage3.nifty.com/takeda-toshiya/...229-windows.zip

This also may help:

http://qemu-forum.ipi.fi/viewtopic.php?f=5&t=4363

Edited by ilko_t
0

Share this post


Link to post
Share on other sites

@ ilko_t

Thank you very much ! Latest snapshot works with Vista :)

So I tried to test with Qemu and gave me same error "bootmgr missing".

I run WinSetup with admin rights, and there were no other usb devices plugged..

0

Share this post


Link to post
Share on other sites

Good :)

I run WinSetup with admin rights
By using an account with admin rights, or right click->run as administrator? Try the latter please.
there were no other usb devices plugged
:blink:

Where did this one come from?

Found USB Physical Disk: Hitachi HTS541280H9AT00 USB Device -- \\.\PHYSICALDRIVE1

Please open up command prompt as administrator and type:

D:\MULTIBOOT\WinSetupFromUSB\files\grub4dos\grubinst.exe -l (hd1)
D:\MULTIBOOT\WinSetupFromUSB\files\grub4dos\grubinst.exe -l (hd2)
devcon.exe find USB*

Please copy-paste the output.

You may get devcon.exe if missing from this package, copy it to \windows\system32:

http://download.microsoft.com/download/1/1...0240/devcon.exe

0

Share this post


Link to post
Share on other sites
You need to repair your laptop install?

Do you have a CD working on the laptop?

If yes, use it, if no, how can you say that the build works from CD on the specific laptop? :w00t:

Can you change in BIOS the settings for SATA to "IDE compatibility mode" or the like?

Or is it a "philosophical" kind of questions, and you are testing it "just in case"?

jaclaz

jclaz: The issue here is how to get the UFD working properly to install XP Setup from UFD - philosophy aside.

Yes, there is a setting in the BIOS to turn off (SATA) native mode, which may help. But this is not required when I run the XP setup from CD, so why should it be required when run from UFD?

Yes, of course my CD works; I can run from CD if I choose. But to save time, I am trying to get the XP Setup to run from UFD, as I have already mentioned.

Would you be kind enough to re-read my previous post and see if you can offer some constructive advice to get this working properly using WinSetupFromUSB 0.1.1, specifically:

My XPSetup from UFD (when it was working) only sees the single partition on the UFD. After changing the rdisk to (0) and (1) I am no longer able to get to the first XP Setup screen. With rdisk(0), I get the missing HAL.dll error message, With rdisk(1), I get a screen telling me "Windows could not start because of a computer disk hardware configuration problem. Could not read from the selected boot disk".

Thank you, in advance!

0

Share this post


Link to post
Share on other sites
By using an account with admin rights, or right click->run as administrator?

The second one.

Where did this one come from?

It is an USB HD used to store some data, but nothing related to WinSetup e co. :whistle:

D:\MULTIBOOT\WinSetupFromUSB\files\grub4dos\grubinst.exe -l (hd1)
Partition list
# id base leng
0 07 3F F0FFC0 (7712M)

D:\MULTIBOOT\WinSetupFromUSB\files\grub4dos\grubinst.exe -l (hd2)
grubinst: open: No such file or directory

devcon.exe find USB*
USB\ROOT_HUB\4&1273BA28&0 : Hub radice USB
USB\ROOT_HUB\4&1961C18&0 : Hub radice USB
USB\ROOT_HUB\4&254C9F50&0 : Hub radice USB
USB\ROOT_HUB\4&27C19DAC&0 : Hub radice USB
USB\ROOT_HUB\4&31740A99&0 : Hub radice USB
USB\ROOT_HUB20\4&25E7C816&1 : Hub radice USB
USB\ROOT_HUB20\4&EC6843D&2 : Hub radice USB
USB\VID_04F2&PID_B015\SN0001 : Dispositivo USB composito
USB\VID_04F2&PID_B015&MI_00\6&1FAFCD28&0&0000 : HP Webcam
USB\VID_1307&PID_0163\071111E7B86755 : Dispositivo di archiviazione di massa USB
USBSTOR\DISK&VEN_UT163&PROD_USB2FLASHSTORAGE&REV_0.00\071111E7B86755&0: Ut163 USB2FlashStorage USB Device
11 matching device(s) found.

However, this afternoon I tried to reformat in fat32 and adding UBCD4Win..it works.

So I tried another time with NTFS and bootmgr error. :blink:

0

Share this post


Link to post
Share on other sites
Would you be kind enough to re-read my previous post and see if you can offer some constructive advice to get this working properly using WinSetupFromUSB 0.1.1, specifically:

ilko_t already replied to you a couple posts above.

jaclaz

0

Share this post


Link to post
Share on other sites
...
Did you miss my answer?
However, this afternoon I tried to reformat in fat32 and adding UBCD4Win..it works.

So I tried another time with NTFS and bootmgr error. :blink:

Can you try formatting it again in NTFS and place UBCD4Win files, then run manually this and post the output:

D:\MULTIBOOT\WinSetupFromUSB\files\grub4dos\grubinst.exe -v --pause (hd1,0)

Assuming the other USB disk is still not plugged in.

Before doing the above, please look at this, after grubinst.exe do it again:

magicalsnap200902112254xt3.th.jpg

Select the USB stick drive letter and click on Read Sector from Disk. Do you see 'grldr' string before and after launching grubinst.exe?

Could it be the same issue as here:

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

http://www.boot-land.net/forums/index.php?...ost&p=38845

Maybe NTFS triggers write cache usage (optimize for performance) as described here:

http://www.boot-land.net/forums/index.php?...ost&p=38935

Does Vista has an option "optimize for removal"? Can you try switching to it and test?

Edited by ilko_t
0

Share this post


Link to post
Share on other sites
Do you see 'grldr' string before and after launching grubinst.exe?

I don't see it.

Before and after, sector image is exactly the same:

beforedr8.th.jpg

grubinst.exe gave me this output:

C:\>D:\MULTIBOOT\WinSetupFromUSB\files\grub4dos\grubinst.exe -v --pause (hd1,0)
Start sector: 0x3F
Image type: NTFS
Install mode
grubinst: Write error
Press <ENTER> to continue ...

USB pen is set to "optimize for removal", it was never set to "optimize for perfomance".

What do you think ? Does grubinst.exe have a successful output ?

0

Share this post


Link to post
Share on other sites
What do you think ? Does grubinst.exe have a successful output ?
I would post here for support from grub4dos developers, mentioning the error above, result of grubinst.exe -l (hd1), your OS you run grubinst under, partition is NTFS and that FAT32 works fine:

http://www.boot-land.net/forums/index.php?showforum=66

For some reason grubinst fails to write the bootsector, I cannot troubleshoot any further.

0

Share this post


Link to post
Share on other sites
I would post here for support from grub4dos developers, mentioning the error above, result of grubinst.exe -l (hd1), your OS you run grubinst under, partition is NTFS and that FAT32 works fine:

http://www.boot-land.net/forums/index.php?showforum=66

I will do.

But first, I would try to run WinSetup from XP and see if it is a Vista-related issue. :unsure:

0

Share this post


Link to post
Share on other sites
I will do.

But first, I would try to run WinSetup from XP and see if it is a Vista-related issue. :unsure:

To save time- play directly with HP USB format tool + grubinst.exe and compare bootsectors with HDhacker. Edited by ilko_t
0

Share this post


Link to post
Share on other sites
]Why are you entering step 2 (GUI mode) of the setup at all? Didn't you want to perform repair install?

I understand what you are saying and the diff between 1) and 2) GUI mode, but I was not deliberately selecting the GUI mode.

0

Share this post


Link to post
Share on other sites
I would post here for support from grub4dos developers, mentioning the error above, result of grubinst.exe -l (hd1), your OS you run grubinst under, partition is NTFS and that FAT32 works fine:

http://www.boot-land.net/forums/index.php?showforum=66

I will do.

But first, I would try to run WinSetup from XP and see if it is a Vista-related issue. :unsure:

I would also try on another PC, or double check the BIOS, some (few) BIOS have a setting that to avoid Viruses tampering with MBR disable writings to it, as well some antivirus softwares have this feature.

Maybe this is the case. :unsure:

jaclaz

Edited by jaclaz
0

Share this post


Link to post
Share on other sites

Have been playing with WinSetupFromUSB for a while worked ok so far, even on laptop.

But hit a snag today with Dell Optiplex 755 (ICH9)

with all drivers integrated (same install for on Dell E6400,also intel chipset)

I got a bSOD 0x7B only when boot from USB (when 32 bit setup starts)

booting the same image from CD is OK.

It seems setup considers USB drive a boot device but can't find a 32 bit driver for it?

Edit: Also tested on external USB hard drive - same result.

0

Share this post


Link to post
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.