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

#226
Yoshii

Yoshii

    Newbie

  • Member
  • 11 posts
  • Joined 06-December 08

Please get dd for windows here:
http://www.chrysocome.net/dd

Open a Command Prompt in the directory where you unzipped it and type:


If the DR7 and DR8 correspond to entries starting with "DP(1)0-0+" they are devices of your card reader and they are probably getting in the way.

jaclaz


Where/how do I open that on the drive? From the working vista or the non working new one. I don't have access to the cmd prompt on the new machine...I'll try unplugging the devices from the motherboard..

Thanks for your replies..

Sorry if I sounded ignorant about the internal parts.


How to remove advertisement from MSFN

#227
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,722 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag
Internal card readers connect to the USB bus as well, so in our case internal=external. In both cases they create for windows a disk drive, with no disk in it.
You have to disconnect the card reader, leave ONLY one hard disk connected, start Text mode, recreate partitions on it, deleting the old ones, RESTART computer right after that part (F3 key), without continuing Text mode, start Text mode again and install Windows in the first newly created partition if you set up BOOT.INI like this.

Then report what happens at GUI mode.

dd is to be run on the same computer, so ignore it for now.

Edited by ilko_t, 07 December 2008 - 06:50 PM.

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


#228
Yoshii

Yoshii

    Newbie

  • Member
  • 11 posts
  • Joined 06-December 08
Oddly enough all I did was unplug the front usb and the usb card reader and the other SATA drive and voila. It loaded into the "Setup is restarting" and loaded right into the GUI mode. About 5 minutes later windows was installed and running!!!

Thanks so much guys!!! Didn't think it was such a little mistake that would cause this, but I learn something new every day.

One issue, well not so much an issue, just an annoyance is when windows boots up it gives me an option to load Windows XP or to load USB Windows XP (not for using, just install) or something along those lines. Any way to knock off the USB one so it just auto loads into Windows XP?

Again thanks guys for your help!!

#229
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,722 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag
Glad you made it :)
As a matter of fact, similar, if not the same error is displayed while presetup.cmd finds USB drive letter and there is an empty card reader attached, but clicking IGNORE gets you going, haven't read a report, when it hangs.
In your case I suspect Windows itself was screwing up, as we removed those lines in presetup.cmd, which find the drive letter.
Next time promise you pay more attention to the questions you are were asked, no matter how irrelevant they may seem to you.

As for the USB entry in menu- read \WinSetupFromUSB\Docs\HOW-TOs.txt

12. Program adds additional entry in BOOT.INI on the internal disk for USB repair, which is displayed during boot. Without it you cannot perform Windows repair installation from USB disk.
If this entry bothers you, right click on My Computer, select Properties-->Advanced-->Startup and Recovery group Settings and
either decrease "Time to display list of operating system" to 5-10 seconds, or press Edit, remove the line for USB repair and save the file.


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


#230
Yoshii

Yoshii

    Newbie

  • Member
  • 11 posts
  • Joined 06-December 08

Glad you made it :)
As a matter of fact, similar, if not the same error is displayed while presetup.cmd finds USB drive letter and there is an empty card reader attached, but clicking IGNORE gets you going, haven't read a report, when it hangs.
In your case I suspect Windows itself was screwing up, as we removed those lines in presetup.cmd, which find the drive letter.
Next time promise you pay more attention to the questions you are were asked, no matter how irrelevant they may seem to you.

As for the USB entry in menu- read \WinSetupFromUSB\Docs\HOW-TOs.txt

12. Program adds additional entry in BOOT.INI on the internal disk for USB repair, which is displayed during boot. Without it you cannot perform Windows repair installation from USB disk.
If this entry bothers you, right click on My Computer, select Properties-->Advanced-->Startup and Recovery group Settings and
either decrease "Time to display list of operating system" to 5-10 seconds, or press Edit, remove the line for USB repair and save the file.


Definately will in the future :).

Also it seems that on bootup its not just 2 choices but 3. The 3rd one is Windows XP (default)...exactly like that. And it's always the one highlighted (hence default I guess). But oddly enough that option locks up windows start up and restarts the system.

Here is what my boot.ini looks like in case there is something in here that could be wrong:

[Boot Loader]
timeout=30
Default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS /usepmtimer
[Operating Systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect /usepmtimer
multi(0)disk(0)rdisk(1)partition(1)\WINDOWS="USB Repair NOT to Start Microsoft Windows XP Professional" /noexecute=optin /fastdetect

Thanks again! :thumbup

#231
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,722 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag
Remove /usepmtimer from the second line and decrease timeout value to 1 or 2 so the USB repair entry won't bother you.
[Boot Loader]
timeout=2
Default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[Operating Systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect /usepmtimer
multi(0)disk(0)rdisk(1)partition(1)\WINDOWS="USB Repair NOT to Start Microsoft Windows XP Professional" /noexecute=optin /fastdetect

About /usepmtimer switch:
http://support.microsoft.com/kb/895980

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


#232
Yoshii

Yoshii

    Newbie

  • Member
  • 11 posts
  • Joined 06-December 08

Remove /usepmtimer from the second line and decrease timeout value to 1 or 2 so the USB repair entry won't bother you.

[Boot Loader]
timeout=2
Default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[Operating Systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect /usepmtimer
multi(0)disk(0)rdisk(1)partition(1)\WINDOWS="USB Repair NOT to Start Microsoft Windows XP Professional" /noexecute=optin /fastdetect

About /usepmtimer switch:
http://support.microsoft.com/kb/895980


Okay but the Default option gives me a hal.dll error so I always have to manually select the 1st option in the list. Would it work if I just copied the XP Pro startup info into Default=?

Thanks again :)

#233
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,722 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag
Which one is the first line? Which one do you exactly see and use?

Default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS

only shows which line, listed under [Operating Systems] is default:

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect /usepmtimer

I asked to you to remove /usepmtimer from default=... line, as AFAIK it is not expected there and may lead to unpredictable results. Did you remove it and test?
Have you connected another mass storage device (card reader, hard disk etc.) after the setup?

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


#234
Yoshii

Yoshii

    Newbie

  • Member
  • 11 posts
  • Joined 06-December 08

Which one is the first line? Which one do you exactly see and use?

Default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS

only shows which line, listed under [Operating Systems] is default:

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect /usepmtimer

I asked to you to remove /usepmtimer from default=... line, as AFAIK it is not expected there and may lead to unpredictable results. Did you remove it and test?
Have you connected another mass storage device (card reader, hard disk etc.) after the setup?


Yeah I have a 2nd hard drive hooked up with a Windows XP Install on it. That could be what's causing the error I guess but it's not set up as a boot device.

The exact info that shows up is:

Windows XP Pro
USB
Windows (default)

The curser automatically chooses the last one so I have to manually select Windows XP Pro.

***EDIT***

I'm just in the process of backing up the old drive. I will then format the drive and use it solely as a backup and hopefully that removes the issues.

Edited by Yoshii, 08 December 2008 - 09:25 PM.


#235
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,722 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag
Well, just check for BOOT.INI on old hard drive active partition. Most likely it become first at boot order and it's BOOT.INI is used.
Reformatting if it's just because of this issue is overkill, we just have to figure out which BOOT.INI is used and correct it's entries.

Edited by ilko_t, 08 December 2008 - 10:06 PM.

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


#236
Yoshii

Yoshii

    Newbie

  • Member
  • 11 posts
  • Joined 06-December 08

Well, just check for BOOT.INI on old hard drive active partition. Most likely it become first at boot order and it's BOOT.INI is used.
Reformatting if it's just because of this issue is overkill, we just have to figure out which BOOT.INI is used and correct it's entries.


LOL naw I formatted it because it's now used as a backup. After I did all this everything is good now. Thanks again :)

Will definately be using this forum to find info on future problems that might occur.

Thanks again!

Cheers and Happy Holidays!!

#237
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,722 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag
You are welcome, happy holiday to you too :)

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


#238
freddo

freddo
  • Member
  • 2 posts
  • Joined 10-September 08
Congrats to all who put together this great piece of code.. I've just tested it with XP Pro Corp SP3 With driverpacks and apps on a 4G Tanscend drive and it worked a treat.. Sorry if i've missed anything i tried to read through the whole post but am at work so had to skip a few pages, do you guys think it would be possible to automate the selection when booting from the usb key after you selected XP Pro (i.e. Choose to install XP then where you normally select part 2/3 have that automated) like once the first stage is finished it writes a file to the hard disk which stores what part of the install the pc is up to and just have the usb key look for that file on the next boot?? i'd be willing to give it a shot if someone might be able to point me at where to start, if it's possible. Anyhow any info would be greatly appreciated. THANKS

#239
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,722 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag
Sorry, I did not understand what you exactly mean.
Is it automatic selection of the boot menu upon start?

Right now what it does:
-upon first start of Text mode part, the GUI part is made default
-on next relaunch, as the GUI mode is set default, it will be started

There is a timeout value in seconds in menu.lst and winsetup.lst, after those seconds the default entry is auto launched (now is GUI mode). You can see the timer on the bottom of the grub4dos screen. If you press any key this timer will stop and default entry will not be auto launched.

I thinks timeout value in both menu.lst and winsetup.lst was decreased to 10 in 0.1.1, but you could also play with it- just open up menu.lst and winsetup.lst in Notepad and change timeout value to what suits you.

The default entry stays GUI mode, so for the next full setup Text mode must be selected manually, GUI mode will remain default and auto selected if you don't press any key.

Did this answer your question?

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


#240
eva2000

eva2000

    Newbie

  • Member
  • 26 posts
  • Joined 08-November 03

...Does this message really mean to now unplug the USB stick from SOURCE PC, and to plug it in to the TARGET PC. Then boot to begin the install of XP from USB stick, and to follow the three restarts without unplugging it from the TARGET PC?...

Correct :)
It means when you connect USB disk to the target computer, you have to start from USB 3 times, apparently keeping the USB disk plugged in:
1. Text mode part of Setup
2. GUI mode part
3. First start of Windows

thanks that message confused me as well!
...

#241
freddo

freddo
  • Member
  • 2 posts
  • Joined 10-September 08

Sorry, I did not understand what you exactly mean.
Is it automatic selection of the boot menu upon start?

Right now what it does:
-upon first start of Text mode part, the GUI part is made default
-on next relaunch, as the GUI mode is set default, it will be started

There is a timeout value in seconds in menu.lst and winsetup.lst, after those seconds the default entry is auto launched (now is GUI mode). You can see the timer on the bottom of the grub4dos screen. If you press any key this timer will stop and default entry will not be auto launched.

I thinks timeout value in both menu.lst and winsetup.lst was decreased to 10 in 0.1.1, but you could also play with it- just open up menu.lst and winsetup.lst in Notepad and change timeout value to what suits you.

The default entry stays GUI mode, so for the next full setup Text mode must be selected manually, GUI mode will remain default and auto selected if you don't press any key.

Did this answer your question?


Hey, thanks for the quick reply. Yup that fully answered my question. Sorry i didnt even notice the timer. Many thanks your app has helped me heaps

#242
James_patageul

James_patageul

    Newbie

  • Member
  • 11 posts
  • Joined 11-December 08
Hi people,

i have just downloaded & try WinSetupFromUSB 0.1.1

i have try to install

XP, UBCD, UBCD4WIN

Posted Image


UBCD seem to work, install of XP also
but UBCD4WIN dont work

here is my actual menu.lst

color black/cyan yellow/cyan
default /default
default	 0
timeout	 10

title Install Windows XP SP3
root (hd0,0)
configfile /winsetup.lst
savedefault

title Launch "The Ultimate Boot CD for Windows"
fallback 1
find --set-root /ntldr
chainloader /ntldr
savedefault --wait=2

title commandline
savedefault --wait=2
commandline

title reboot
savedefault --wait=2
reboot

title Memtest86
map --mem (hd0,0)//Images/memtest.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)



title Launch "Windows(tm) Recovery Console"
fallback 1
find --set-root /cmdcons/setupldr.bin
chainloader /cmdcons/setupldr.bin
#####################################################################
# write string "cmdcons" to memory 0000:7C03 in 2 steps:
#####################################################################
# step 1. Write 4 chars "cmdc" at 0000:7C03
write 0x7C03 0x63646D63
# step 2. Write 3 chars "ons" and an ending null at 0000:7C07
write 0x7C07 0x00736E6F
savedefault --wait=2


title Ultimate Boot CD
root (hd0,0)
chainloader (hd0,0)/syslin.dat

so how make UBCD4WIN work and add ubuntu on my key ? thx a lot people

Edited by James_patageul, 18 December 2008 - 01:28 PM.


#243
James_patageul

James_patageul

    Newbie

  • Member
  • 11 posts
  • Joined 11-December 08
hi (again)

i have just add this code in (menu.lst)
title Acronis True Image
map --mem (hd0,0)/acronis.iso (hd32)
map --hook
chainloader (hd32)

and add acronis.iso in root of my USB device and it's work pretty well, can we do that with all iso ?? or what is required to do that (because is very simple)

#244
ilko_t

ilko_t

    MSFN Addict

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

About UBCD4Win- you should have ubcd4win.lst in root of USB stick, menu.lst entry should be like:

title Start UBCD4Win
root (hd0,0)
configfile /ubcd4win.lst

About ISO files- some examples which do work:
http://www.boot-land...?showtopic=5041

You may also look at the subforum, the question has been discussed many times with detailed answers:
http://www.boot-land...hp?showforum=66

About Ubuntu:
http://www.msfn.org/...o...9&hl=ubuntu

For newer versions you have to check and amend kernel parameters if necessary, check isolinux.cgf or syslinux.cfg in Ubuntu ISO.

edit: I've noticed your partition with XP Setup is FAT32, have a look at this thread:
http://www.msfn.org/...howtopic=125116

Edited by ilko_t, 18 December 2008 - 03:45 PM.

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


#245
James_patageul

James_patageul

    Newbie

  • Member
  • 11 posts
  • Joined 11-December 08
For ubuntu, is really not clear so i will start a new topic to describe how to do it, step by step... (i need help)

check: http://www.msfn.org/...howtopic=127558

#246
NT Man

NT Man

    Newbie

  • Member
  • 20 posts
  • Joined 22-December 08
Hello!
I want install Windows FLP and Windows NT 4.0 from USB flash.

It would be great if next WinSetupFromUSB could do it.

#247
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,722 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag
WinFLPC is already supported, look at the first post in this thread.

As for NT- hmm, I doubt. It's very outdated, does it support USB at all?
http://support.micro...com/kb/q196661/

You may play setting it up when booted into PE, using winnt32.exe, just an idea.

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


#248
cdob

cdob

    MSFN Expert

  • Member
  • PipPipPipPipPipPip
  • 1,000 posts
  • Joined 29-September 05

It's very outdated, does it support USB at all?

Yes, NT4 dosn't support USB.

Contrary there are third party drivers, e.g. Inside Out Networks USB drivers.
http://www.msfn.org/...p...st&p=603313

Install NT4 from USB maybe possible.
But what's the benefit? Any volunteer arround?

You may play setting it up when booted into PE, using winnt32.exe, just an idea.

I second this approach too.

#249
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,562 posts
  • Joined 23-July 04
  • OS:none specified
  • Country: Country Flag
More links here:
http://www.everythin...windows_nt.html

Best bet for USB Mass Storage should be Woodhead's set of drivers:
http://www.geocities...ic99/index.html

jaclaz

#250
NT Man

NT Man

    Newbie

  • Member
  • 20 posts
  • Joined 22-December 08
How you define path to Windows install?

I try install Windows NT (copy in DOS mode distrib to SSD and run winnt /b. First step complite successful, but on second after mass storage setup, wroute "unable to locate the hard drive partition prepared by MS-DOS portion of Setup" Attached File  Picture_22.jpg   37.6KB   20 downloads)

Now I try install patched by WinSetupFromUSB Windows 2003 Enterprise, and setup wroute same error.

Attached File  Picture_07.jpg   29.89KB   8 downloads

Attached File  Picture_08.jpg   35.52KB   10 downloads

And I can't delete partition with Windows NT setup, created before installation from Windows 2003 setup.

Attached File  Picture_04.jpg   49.57KB   16 downloads

Attached File  Picture_05.jpg   28.77KB   19 downloads

What is wrong?

I used ASUS EEE-PC 900.




10 user(s) are reading this topic

0 members, 10 guests, 0 anonymous users