MSFN Forum: How to install Windows from USB- WinSetupFromUSB with GUI - MSFN Forum

Jump to content


  • 100 Pages +
  • « First
  • 15
  • 16
  • 17
  • 18
  • 19
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

How to install Windows from USB- WinSetupFromUSB with GUI Lets make it easy

#321 User is offline   Boomh4u3r 

  • Group: Members
  • Posts: 1
  • Joined: 08-February 09

Posted 08 February 2009 - 10:48 PM

Sorry,but i get this

grubinst.exe could not make a backup of MBR

How do i get a MBR on my sd card?


#322 User is online   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 11,436
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 09 February 2009 - 03:19 AM

View PostBoomh4u3r, on Feb 9 2009, 05:48 AM, said:

Sorry,but i get this

grubinst.exe could not make a backup of MBR

How do i get a MBR on my sd card?


Are you using a SD card through a USB adapter?

Most (read ALL ;)) USB card adapters are set as "Removable".

Thus creating a MBR on them it's not that easy.

I cannot say if the HP USB utility or PEtoUSB can "work" with SD cards through USB. :unsure:, that would be the first thing to try.

You may want to try an indirect approach:
http://www.boot-land...?showtopic=5000

not easy, not straightforward, but it should work.

jaclaz

#323 User is offline   ilko_t 

  • MSFN Addict
  • Group: Super Moderator
  • Posts: 1,605
  • Joined: 06-December 06
  • OS:none specified
  • Country: Country Flag

Posted 09 February 2009 - 05:45 AM

View PostBoomh4u3r, on Feb 8 2009, 09:48 PM, said:

Sorry,but i get this

grubinst.exe could not make a backup of MBR

How do i get a MBR on my sd card?
WinSetupFromUSB log file would help. You could find the last one in program directory, or the previous ones in \backups\date-time-log.cab.

#324 User is offline   Sergo 

  • Newbie
  • Group: Members
  • Posts: 23
  • Joined: 22-September 05

  Posted 09 February 2009 - 07:58 AM

Sorry if this question was answered before

I assume this utility can safely be used to install from usb hard drive (and a specific partition on it) ?

#325 User is offline   ilko_t 

  • MSFN Addict
  • Group: Super Moderator
  • Posts: 1,605
  • Joined: 06-December 06
  • OS:none specified
  • Country: Country Flag

Posted 09 February 2009 - 08:53 AM

Should be fine, with 2 notes:
- use the first partition, set as active
- USB drive letter won't be U, most likely will be D.

#326 User is offline   jacopo 

  • Group: Members
  • Posts: 6
  • Joined: 10-February 09

Posted 10 February 2009 - 05:33 PM

Hi,
I'm trying to use WinSetupFromUSB to add UBCD4Win to my USB pen (8 GB): set as Removable, NTFS formatted with HP tool.
Tested on my laptop (Vista Home Premium 32 bit), it says "Bootmgr is missing. Type CTRL+ALT+CANC to reboot"
I'm not so expert, but does not bootmgr refer to Vista bootloader ? :blink:

#327 User is offline   dforionstar 

  • Newbie
  • Group: Members
  • Posts: 18
  • Joined: 12-August 06

Posted 10 February 2009 - 11:28 PM

I seem to be in a loop between reading the help, running my setup, reading the help, running my setup, etc.

Any help is warmly appreciated!

I have my UFD setup using WinSetupFromUSB 0.1.1.

I was able to boot from UFD and get into the Windows XP SP2 Blue text-based Setup screen . However, XP Setup was unable to see my internal HD. I am on a laptop with one internal HD and 3 partitions. I want to run the XP Setup non-destructive repair feature on internal HD partition (1).

My nLite install includes the Intel SATA drivers and works from CD. I have made sure I did NOT select "Operating System Options-->Manual Install and Upgrade for removal" during the nLite setup.

My XPSetup from UFD (when it was working) only sees the single partition on the UFD. I have read (many times) the help section on rdisks but am still not getting success. 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".

Any help is appreciated! :rolleyes:

Thank you!

#328 User is online   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 11,436
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 11 February 2009 - 02:24 AM

View Postdforionstar, on Feb 11 2009, 06:28 AM, said:

My nLite install includes the Intel SATA drivers and works from CD. I have made sure I did NOT select "Operating System Options-->Manual Install and Upgrade for removal" during the nLite setup.

I don't get it. :unsure:

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

#329 User is offline   ilko_t 

  • MSFN Addict
  • Group: Super Moderator
  • Posts: 1,605
  • Joined: 06-December 06
  • OS:none specified
  • Country: Country Flag

Posted 11 February 2009 - 02:31 AM

View Postjacopo, on Feb 10 2009, 04:33 PM, said:

Hi,
I'm trying to use WinSetupFromUSB to add UBCD4Win to my USB pen (8 GB): set as Removable, NTFS formatted with HP tool.
Tested on my laptop (Vista Home Premium 32 bit), it says "Bootmgr is missing. Type CTRL+ALT+CANC to reboot"
I'm not so expert, but does not bootmgr refer to Vista bootloader ? :blink:
Did you run WinSetupFromUSB under Vista? HP format tool makes Vista bootsector in this case, which is looking for BOOTMGR. WinSetupFromUSB is supposed to replace this bootsector with grub4dos one, which executes GRLDR.
What are contents of the USB stick? Can you post also your WinSetupFromUSB.log file, zipped and attached? Look at the previous post of mine where to find it. Or did you run only HP format tool, without copying UBCD4Win contents?

View Postdforionstar, on Feb 10 2009, 10:28 PM, said:

I was able to boot from UFD and get into the Windows XP SP2 Blue text-based Setup screen . However, XP Setup was unable to see my internal HD. I am on a laptop with one internal HD and 3 partitions. I want to run the XP Setup non-destructive repair feature on internal HD partition (1).

My nLite install includes the Intel SATA drivers and works from CD. I have made sure I did NOT select "Operating System Options-->Manual Install and Upgrade for removal" during the nLite setup.
To perform the repair install you need an extra line in BOOT.INI on the internal disk.
For example if this is the current boot.ini:
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Home Edition" /noexecute=optin /fastdetect
you need to add another line at the bottom:
multi(0)disk(0)rdisk(1)partition(1)\WINDOWS="USB repair, NOT to start Windows
Then Setup will recognize the existing installation. This is if Windows is in the first partition.
You may add that line using UBCD4Win for example.

Quote

My XPSetup from UFD (when it was working) only sees the single partition on the UFD. I have read (many times) the help section on rdisks but am still not getting success. 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".
Why are you entering step 2 (GUI mode) of the setup at all? Didn't you want to perform repair install?

This post has been edited by ilko_t: 11 February 2009 - 02:32 AM


#330 User is offline   jacopo 

  • Group: Members
  • Posts: 6
  • Joined: 10-February 09

Posted 11 February 2009 - 06:38 AM

View Postilko_t, on Feb 11 2009, 09:31 AM, said:

Did you run WinSetupFromUSB under Vista?


Yes.

View Postilko_t, on Feb 11 2009, 09:31 AM, said:

What are contents of the USB stick?


I only formatted to NTFS and added UBCD4Win contents, nothing else.

Just another question: does Qemu test work on Vista ? When I try to run, it gives me an error - event viewer says there was a problem with ntdll.dll -

:hello:

Attached File(s)

  • Attached File  log.zip (64.59K)
    Number of downloads: 5


#331 User is offline   ilko_t 

  • MSFN Addict
  • Group: Super Moderator
  • Posts: 1,605
  • Joined: 06-December 06
  • OS:none specified
  • Country: Country Flag

Posted 11 February 2009 - 07:42 AM

@jacopo

In the log file grub4dos part seems fine:

Quote

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:

Quote

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.ip....php?f=5&t=4363

This post has been edited by ilko_t: 11 February 2009 - 07:49 AM


#332 User is offline   jacopo 

  • Group: Members
  • Posts: 6
  • Joined: 10-February 09

Posted 11 February 2009 - 08:18 AM

@ 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..

#333 User is offline   ilko_t 

  • MSFN Addict
  • Group: Super Moderator
  • Posts: 1,605
  • Joined: 06-December 06
  • OS:none specified
  • Country: Country Flag

Posted 11 February 2009 - 10:57 AM

Good :)

Quote

I run WinSetup with admin rights
By using an account with admin rights, or right click->run as administrator? Try the latter please.

Quote

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

#334 User is offline   dforionstar 

  • Newbie
  • Group: Members
  • Posts: 18
  • Joined: 12-August 06

Posted 11 February 2009 - 12:23 PM

View Postjaclaz, on Feb 11 2009, 12:24 AM, said:

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!

#335 User is offline   jacopo 

  • Group: Members
  • Posts: 6
  • Joined: 10-February 09

Posted 11 February 2009 - 02:41 PM

View Postilko_t, on Feb 11 2009, 05:57 PM, said:

By using an account with admin rights, or right click->run as administrator?

The second one.

View Postilko_t, on Feb 11 2009, 05:57 PM, said:

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:

#336 User is online   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 11,436
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 11 February 2009 - 02:55 PM

View Postdforionstar, on Feb 11 2009, 07:23 PM, said:

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

#337 User is offline   ilko_t 

  • MSFN Addict
  • Group: Super Moderator
  • Posts: 1,605
  • Joined: 06-December 06
  • OS:none specified
  • Country: Country Flag

Posted 11 February 2009 - 02:59 PM

View Postdforionstar, on Feb 11 2009, 11:23 AM, said:

...
Did you miss my answer?


View Postjacopo, on Feb 11 2009, 01:41 PM, said:

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

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...?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?

This post has been edited by ilko_t: 11 February 2009 - 03:13 PM


#338 User is offline   jacopo 

  • Group: Members
  • Posts: 6
  • Joined: 10-February 09

Posted 11 February 2009 - 04:35 PM

ilko_t said:

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:
Posted Image
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 ?

#339 User is offline   ilko_t 

  • MSFN Addict
  • Group: Super Moderator
  • Posts: 1,605
  • Joined: 06-December 06
  • OS:none specified
  • Country: Country Flag

Posted 11 February 2009 - 04:59 PM

View Postjacopo, on Feb 11 2009, 03:35 PM, said:

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...hp?showforum=66

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

#340 User is offline   jacopo 

  • Group: Members
  • Posts: 6
  • Joined: 10-February 09

Posted 11 February 2009 - 05:06 PM

View Postilko_t, on Feb 11 2009, 11:59 PM, said:

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...hp?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:

Share this topic:


  • 100 Pages +
  • « First
  • 15
  • 16
  • 17
  • 18
  • 19
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

50 User(s) are reading this topic
0 members, 50 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy