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

Jump to content


  • 100 Pages +
  • « First
  • 11
  • 12
  • 13
  • 14
  • 15
  • 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

#241 User is offline   freddo 

  • Group: Members
  • Posts: 2
  • Joined: 10-September 08

Posted 11 December 2008 - 06:21 PM

View Postilko_t, on Dec 11 2008, 02:55 AM, said:

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 User is offline   James_patageul 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 11-December 08

  Posted 18 December 2008 - 12:18 PM

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

This post has been edited by James_patageul: 18 December 2008 - 01:28 PM


#243 User is offline   James_patageul 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 11-December 08

Posted 18 December 2008 - 12:25 PM

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 User is offline   ilko_t 

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

Posted 18 December 2008 - 03:38 PM

@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/board/index.php?showto...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

This post has been edited by ilko_t: 18 December 2008 - 03:45 PM


#245 User is offline   James_patageul 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 11-December 08

Posted 19 December 2008 - 04:25 AM

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 User is offline   NT Man 

  • Newbie
  • Group: Members
  • Posts: 20
  • Joined: 22-December 08

Posted 22 December 2008 - 03:35 PM

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 User is offline   ilko_t 

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

Posted 22 December 2008 - 03:48 PM

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.

#248 User is offline   cdob 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 876
  • Joined: 29-September 05

Posted 22 December 2008 - 04:25 PM

View Postilko_t, on Dec 22 2008, 03:48 PM, said:

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/board/index.php?s=&...st&p=603313

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

Quote

You may play setting it up when booted into PE, using winnt32.exe, just an idea.
I second this approach too.

#249 User is offline   jaclaz 

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

Posted 24 December 2008 - 10:00 AM

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 User is offline   NT Man 

  • Newbie
  • Group: Members
  • Posts: 20
  • Joined: 22-December 08

Posted 27 December 2008 - 01:53 PM

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.6K)
Number of downloads: 18)

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

Attached File  Picture_07.jpg (29.89K)
Number of downloads: 6

Attached File  Picture_08.jpg (35.52K)
Number of downloads: 8

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

Attached File  Picture_04.jpg (49.57K)
Number of downloads: 14

Attached File  Picture_05.jpg (28.77K)
Number of downloads: 17

What is wrong?

I used ASUS EEE-PC 900.

#251 User is offline   ilko_t 

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

Posted 27 December 2008 - 02:20 PM

As for winnt.exe- you need to use /t:X or was it /t:X: where X: is the drive letter for the SSD disk/partition.
http://www.microsoft.com/technet/prodtechn...t.mspx?mfr=true

I guess for NT 4 parameters are the same.

As for the error during 2003 setup- you will have to format the partitions in question using other program- gparted, format from DOS etc.
2003 setup detects the previously placed setup files, from winnt.exe, and refuses to format such partition, thinking its contents are critical for the setup.

#252 User is offline   NT Man 

  • Newbie
  • Group: Members
  • Posts: 20
  • Joined: 22-December 08

Posted 28 December 2008 - 01:31 AM

View Postilko_t, on Dec 28 2008, 01:20 AM, said:

As for winnt.exe- you need to use /t:X or was it /t:X: where X: is the drive letter for the SSD disk/partition.
http://www.microsoft.com/technet/prodtechn...t.mspx?mfr=true

I guess for NT 4 parameters are the same.

Yes, parameter are same, but when I load from USB flash my SSD have "D:" letter, when i load from SSD, SSD have "C:" letter. How you solve this problem in WinSetupFromUSB?

This post has been edited by NT Man: 28 December 2008 - 01:32 AM


#253 User is offline   ilko_t 

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

Posted 28 December 2008 - 01:29 PM

Winnt.exe with the proper parameters will prepare the SSD with all needed setup files. After that USB sick is no longer required, so I wouldn't worry about the drive letters.
Not sure though if it would preserve them, the file used for the purpose is migrate.inf in ~BT folder. After winnt.exe is completed check if migrate.inf exists in the SSD\$win_nt$.~bt\ and delete it if does. Unplug the USB disk and start the laptop from the SSD to start Text mode setup.

#254 User is offline   jaclaz 

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

Posted 29 December 2008 - 03:56 AM

Maybe you could make a step back and simply use the good ol' way:
http://www.911cd.net...showtopic=16713

just use FAT16 instead of FAT32 for NT 4.00.

jaclaz

#255 User is offline   Sergo 

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

Posted 04 January 2009 - 10:42 PM

Hi,
First, thank you to all the people who contributed to this project, I was thinking about it long time ago and here it is!
sorry I was searching all over this thread but could not find an answer for this problem,


===
- USB letter is fixed to U: in case of removable USB disk and U: is searched first among the drive letters to avoid at least some of the silly windows errors with empty card readers.
====

For some reason my USB stick sets itself as D: (which is normal according to MS KB since its active primary partition ) and shifting all other disk and I want to install set %programfiles% to second partiton on a hard drive, so I can't change letters later.
Is there a way to assign it to U: or any other letter?

Also I want to relocate Program files and it's in [unattended] section, what are the alternatives to change this?
Can this registry edit be done in GUI portion?

=================
Best regards,
Sergo.

#256 User is offline   ilko_t 

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

Posted 05 January 2009 - 01:43 AM

As for the drive letter- did you use USB hard disk? Or USB stick which is seen as fixed by windows?
Did you install WinSetupFromUSB in a path without spaces or special characters in it?
Do you have migrate.inf in ~BT folder on the USB stick? Does it say about U: ?

As for the program files location- that's actually the last workaround left for fixing because of the removed unattended section.
Maybe adding a line to presetup.cmd like:

REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion" /v ProgramFilesDir /t REG_SZ /d "D:\Program Files" /f
md "D:\Program Files"

Similar for CommonFilesDir if is desired.

This is not tested, just an idea. Not sure if Setup already placed during Text mode files for WMP or IE in c:\program files. Tests needed.

If presetup.cmd is too late to apply this changes, then we may have to use any means during text mode, setupreg.hiv, setupoem.inf or something like this. Not sure when this key is created during Text mode, it's not present in SETUPREG.HIV or HIVESFT.INF so must be dynamically created at some point.
Hope cdob is reading this, he is pretty good at this stuff. :ph34r: :)

edit:
BTW - quick and dirty workaround:
unattended section is remove because even with an empty section Text mode setup will attempt to install windows where ~BT and ~LS folders are.
But it will fail and return to partition selection screen if in that partition has less free space than the defined in txtsetup.sif.
Limited solution- put back unattended section, edit txtsetup.sif and set required free space more that you have free space on the partition on the USB disk/stick. Or create a dummy file, occupying so much space so it becomes less than the defined in txtsetup.sif:
fsutil.exe file createnew dummyfile.dum 1000000000

The latter is tested and works, but has limited usage.

This post has been edited by ilko_t: 05 January 2009 - 01:57 AM


#257 User is offline   Sergo 

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

Posted 05 January 2009 - 07:08 PM

Thank you, ilko_t for quick reply

Does it make a difference to try command line tool USB_MultiBoot.cmd?

View Postilko_t, on Jan 5 2009, 02:43 AM, said:

As for the drive letter- did you use USB hard disk? Or USB stick which is seen as fixed by windows?
Did you install WinSetupFromUSB in a path without spaces or special characters in it?
Do you have migrate.inf in ~BT folder on the USB stick? Does it say about U: ?

In d:\programs\WinSetupUSB
Source was prepared by latest Nlite.
I used 4GB A-Data USB stick, it's recognized as USB-HDD in BIOS,
I Also used AHCI text-mode drivers for ATI SB600 (hard drive)
migrate.inf form USB stick
HKLM,"SYSTEM\MountedDevices","\DosDevices\U:",0x00030001,\
5C,00,3F,00,3F,00,5C,00,53,00,54,00,4F,00,52,00,41,00,47,00,45,00,23,00,52,00,65,00,6D,00,6F,00,76,0
0,61,00,62,00,6C,00,65,00,4D,00,65,00,64,00,69,00,61,00,23,00,38,00,26,00,33,00,34,00,36,00,33,00,39
,
00,64,00,31,00,62,00,26,00,30,00,26,00,52,00,4D,00,23,00,7B,00,35,00,33,00,66,00,35,00,36,00,33,00,3
0
,00,64,00,2D,00,62,00,36,00,62,00,66,00,2D,00,31,00,31,00,64,00,30,00,2D,00,39,00,34,00,66,00,32,00,
2
D,00,30,00,30,00,61,00,30,00,63,00,39,00,31,00,65,00,66,00,62,00,38,00,62,00,7D,00


fsutil.exe file createnew dummyfile.dum 1000000000

View Postilko_t, on Jan 5 2009, 02:43 AM, said:

The latter is tested and works, but has limited usage.

That's what I was thinking just didn't know what program can create given length files.

This post has been edited by Sergo: 05 January 2009 - 07:13 PM


#258 User is offline   ilko_t 

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

Posted 05 January 2009 - 07:44 PM

Quote

Does it make a difference to try command line tool USB_MultiBoot.cmd?
Nope, the procedure is the same.

Do you use in Windows where you prepared the USB stick Hitachi microdrive filter driver or dummydisk.sys to make USB sticks seen as removable?
Can you compress and attach WinSetupFromUSB.log, it contains information how Windows saw the USB stick. You may find backed up log files in d:\programs\WinSetupUSB\backups\ directory, just renamed with date-time stamp, just pick the largest one if you have many.
Did you by any chance move the radio button USB disk type to fixed?


Quote

That's what I was thinking just didn't know what program can create given length files.
Mind you file size given to fsutil is in bytes.

This post has been edited by ilko_t: 05 January 2009 - 07:47 PM


#259 User is offline   Sergo 

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

Posted 05 January 2009 - 08:11 PM

View Postilko_t, on Jan 5 2009, 08:44 PM, said:

Do you use in Windows where you prepared the USB stick Hitachi microdrive filter driver or dummydisk.sys to make USB sticks seen as removable?

No, I didn't, I think it's removable already, there is an icon 'safely remove..' in a tray.
I attached the log
2009/01/03 22:10:32- Found USB Physical Disk: USB 2.0 USB Flash Drive USB Device -- \\.\PHYSICALDRIVE2
2009/01/03 22:10:32- Found USB Disk Partition: Disk #2, Partition #0
2009/01/03 22:10:34- Found USB Logical Disk: M: File system: FAT32 Bootable: -1

(I had two partitions on it before, HP util made one FAT32)
Disk management console in XP sees it as 'Removable'

Quote

Did you by any chance move the radio button USB disk type to fixed?

No.

Attached File(s)



#260 User is offline   ilko_t 

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

Posted 05 January 2009 - 09:46 PM

Open regedit with the USB stick inserted and go to HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices
Do you see multiple entries \DosDevices\R: where R: is USB stick drive letter?

If that's not the case- I am running out of clues why Setup ignored migrate.inf. :unsure:
Can you run the Setup on another computer just to the partition screen in Text mode, is the USB stick U:?

Did you copy paste here all contents of migrate.inf? Binary data must be on one whole line and a few other lines are missing in what you posted.

Share this topic:


  • 100 Pages +
  • « First
  • 11
  • 12
  • 13
  • 14
  • 15
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

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



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