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

Install 2000/XP/2003 from RAM loaded small ISO


  • Please log in to reply
39 replies to this topic

#26
cdob

cdob

    MSFN Expert

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

In the past I tried creating a much better setup.exe based on pyrons method.

Thanks, a volunteer :whistle:
Can you forward the command line?
At fake setup: read the given command line and forward the command line to presetup.cmd?

XP 64: still no USB hard disk explanation.

Work arround updated: Boot driver settings enhanced at presetup.cmd.

Txtsetup.sif can be adjuted at [BootBusExtenders.Load] and at [InputDevicesSupport.Load].
This is not necessary.

1) If USB drive is available, just continue.
2) If USB drive is missing, set minimal USB driver settings and reboot.
PNP overwrite the settings later. After installation there are default USB settings.
3) If USB drive is missing still, set enhanced USB driver settings and reboot.
There are non default settings after full installation.
4) If USB drive is available still, no further trials, just continue and read the error.

At pyron's fake, 64 bit compiled
@echo offsetlocal EnableExtensions EnableDelayedExpansionSET TAGFILE=\WIN_SETUPFOR %%h IN (U C D E F G H I J K L M N O P Q R S T V W X Y) DO (  IF EXIST "%%h:%TAGFILE%" (    SET CDDRIVE=%%h:    goto :CDDRIVE_found  ))echo no %TAGFILE% drive foundecho no %TAGFILE% drive found >> winsetup.logREM +=======================================================+REM | prepare USB boot configuration                        |REM |-------------------------------------------------------|echo presetup fixBoot.USBset reboot=rem second trial: permanent USB changesif exist reboot.1 if not exist reboot.2 (  set reboot=true  echo reboot ÚSB driver setting >reboot.2  echo prepare USB boot configuration %date% %time% - permanent changes >>winsetup.log  call :set_usb_boot_setting_full SYSTEM CurrentControlSet  reg.exe load HKLM\loaded_SYSTEM config\system.sav  call :set_usb_boot_setting_full loaded_SYSTEM ControlSet001  reg.exe unload HKLM\loaded_SYSTEM)rem first trial: minimal, no permanent changesif not exist reboot.1 (  set reboot=true  echo reboot ÚSB driver setting >reboot.1  echo prepare USB boot configuration %date% %time% - minimal changes>>winsetup.log  call :set_usb_boot_setting SYSTEM CurrentControlSet  reg.exe load HKLM\loaded_SYSTEM config\system.sav  call :set_usb_boot_setting loaded_SYSTEM ControlSet001  reg.exe unload HKLM\loaded_SYSTEM)REM +=======================================================+REM | reboot the machine once, avoid endless loop           |REM |-------------------------------------------------------|if defined reboot (  (echo reboot %date% %time% &echo.)>> winsetup.log  goto :eof):CDDRIVE_found ===============================================set srcpath=\??\%CDDRIVE%%TAGFILE%\XP_X64\echo CDDRIVE %CDDRIVE% - srcpath %srcpath%echo CDDRIVE %CDDRIVE% - srcpath %srcpath% >> winsetup.logif exist $winnt$.new del /f $winnt$.newFOR /F "tokens=1* delims== " %%a in ($winnt$.inf) DO (  set line=%%a = %%b  if %%b.==. set line=%%a  rem requires a drive letter still  rem IF /I sourcepath.==%%a. set line=sourcepath = "\\?\GLOBALROOT\Device\Harddisk1\Partition1\WIN_SETUP\XP_X64"  IF /I sourcepath.==%%a. set line=sourcepath = "%srcpath%"  IF /I dospath.==%%a. set line=;   echo !line!>>$winnt$.new)if exist $winnt$.new ( ren $winnt$.inf $winnt$.0 if exist $winnt$.inf del /f $winnt$.inf ren $winnt$.new $winnt$.inf)findstr.exe "sourcepath" $winnt$.inffindstr.exe "sourcepath" $winnt$.inf >> winsetup.logrem required at all?rem start /min "USB keep mount work arround" pushd %CDDRIVE%REM +=======================================================+REM | Finally start the installation                        |REM |-------------------------------------------------------|if exist setupold.exe del /f setupold.exe >> winsetup.logif exist setup.exe ren setup.exe setupold.exeif exist setupORG.exe ren setupORG.exe setup.exerem often setup.exe -newsetupFOR /F "tokens=1-2*" %%a IN ('reg.exe query "HKLM\SYSTEM\Setup" /v "CmdLine"') DO (  set CmdLine=%%c)IF "%CmdLine:~-2%"=="\0" set CmdLine=%CmdLine:~0,-2%(echo. &echo run setup CmdLine: %CmdLine% - %date% %time%)(echo. &echo run setup CmdLine: %CmdLine% - %date% %time%) >> winsetup.logstart /WAIT %CmdLine%REM +=======================================================+EXITgoto :eof =============================================================:set_usb_boot_setting =================================================set Services=HKLM\%1\%2\Servicesecho onreg.exe query "%Services%\usbohci" | findstr.exe /I "Start" && (   reg.exe add "%Services%\usbohci" /f /t REG_DWORD /v "Start" /d 0  reg.exe add "%Services%\usbohci" /f /v "Group" /d "Boot Bus Extender")reg.exe query "%Services%\usbuhci" | findstr.exe /I "Start" && (   reg.exe add "%Services%\usbuhci" /f /t REG_DWORD /v "Start" /d 0  reg.exe add "%Services%\usbuhci" /f /v "Group" /d "Boot Bus Extender")reg.exe query "%Services%\usbehci" | findstr.exe /I "Start" && (   reg.exe add "%Services%\usbehci" /f /t REG_DWORD /v "Start" /d 0  reg.exe add "%Services%\usbehci" /f /v "Group" /d "Boot Bus Extender")reg.exe add "%Services%\usbhub"  /f /t REG_DWORD /v "Start" /d 0reg.exe add "%Services%\usbhub" /f /v "Group" /d "System Bus Extender"reg.exe add "%Services%\usbstor" /f /t REG_DWORD /v "Start" /d 0reg.exe add "%Services%\usbstor" /f /v "Group" /d "System Bus Extender"@echo offgoto :eof  === end set_usb_boot_setting ===============================:set_usb_boot_setting_full ============================================set CriticalDeviceDatabase=HKLM\%1\%2\Control\CriticalDeviceDatabaseset Services=HKLM\%1\%2\Servicesecho onreg.exe add "%CriticalDeviceDatabase%\PCI#CC_0C0300" /f /v "ClassGUID" /d "{36FC9E60-C465-11CF-8056-444553540000}"reg.exe add "%CriticalDeviceDatabase%\PCI#CC_0C0300" /f /v "Service" /d "usbuhci"reg.exe add "%CriticalDeviceDatabase%\PCI#CC_0C0310" /f /v "ClassGUID" /d "{36FC9E60-C465-11CF-8056-444553540000}"reg.exe add "%CriticalDeviceDatabase%\PCI#CC_0C0310" /f /v "Service" /d "usbohci"reg.exe add "%CriticalDeviceDatabase%\PCI#CC_0C0320" /f /v "ClassGUID" /d "{36FC9E60-C465-11CF-8056-444553540000}"reg.exe add "%CriticalDeviceDatabase%\PCI#CC_0C0320" /f /v "Service" /d "usbehci"reg.exe add "%CriticalDeviceDatabase%\USB#CLASS_08" /f /v "ClassGUID" /d "{36FC9E60-C465-11CF-8056-444553540000}"reg.exe add "%CriticalDeviceDatabase%\USB#CLASS_08" /f /v "Service" /d "usbstor"reg.exe add "%CriticalDeviceDatabase%\USB#CLASS_09" /f /v "ClassGUID" /d "{36FC9E60-C465-11CF-8056-444553540000}"reg.exe add "%CriticalDeviceDatabase%\USB#CLASS_09" /f /v "Service" /d "usbhub"reg.exe add "%CriticalDeviceDatabase%\USB#ROOT_HUB" /f /v "ClassGUID" /d "{36FC9E60-C465-11CF-8056-444553540000}"reg.exe add "%CriticalDeviceDatabase%\USB#ROOT_HUB" /f /v "Service" /d "usbhub"reg.exe add "%CriticalDeviceDatabase%\USB#ROOT_HUB20" /f /v "ClassGUID" /d "{36FC9E60-C465-11CF-8056-444553540000}"reg.exe add "%CriticalDeviceDatabase%\USB#ROOT_HUB20" /f /v "Service" /d "usbhub"reg.exe add "%Services%\usbohci" /f /v "Group" /d "Boot Bus Extender"reg.exe add "%Services%\usbohci" /f /t REG_DWORD /v "Tag" /d 3reg.exe add "%Services%\usbohci" /f /t REG_DWORD /v "ErrorControl" /d 1reg.exe add "%Services%\usbohci" /f /t REG_DWORD /v "Start" /d 0reg.exe add "%Services%\usbohci" /f /t REG_DWORD /v "Type" /d 1reg.exe add "%Services%\usbuhci" /f /v "Group" /d "Boot Bus Extender"reg.exe add "%Services%\usbuhci" /f /t REG_DWORD /v "Tag" /d 3reg.exe add "%Services%\usbuhci" /f /t REG_DWORD /v "ErrorControl" /d 1reg.exe add "%Services%\usbuhci" /f /t REG_DWORD /v "Start" /d 0reg.exe add "%Services%\usbuhci" /f /t REG_DWORD /v "Type" /d 1reg.exe add "%Services%\usbehci" /f /v "Group" /d "Boot Bus Extender"reg.exe add "%Services%\usbehci" /f /t REG_DWORD /v "Tag" /d 3reg.exe add "%Services%\usbehci" /f /t REG_DWORD /v "ErrorControl" /d 1reg.exe add "%Services%\usbehci" /f /t REG_DWORD /v "Start" /d 0reg.exe add "%Services%\usbehci" /f /t REG_DWORD /v "Type" /d 1reg.exe add "%Services%\usbhub" /f /v "Group" /d "System Bus Extender"reg.exe add "%Services%\usbhub" /f /t REG_DWORD /v "Tag" /d 2reg.exe add "%Services%\usbhub" /f /t REG_DWORD /v "ErrorControl" /d 1reg.exe add "%Services%\usbhub" /f /t REG_DWORD /v "Start" /d 0reg.exe add "%Services%\usbhub" /f /t REG_DWORD /v "Type" /d 1reg.exe add "%Services%\usbstor" /f /v "Group" /d "System Bus Extender"reg.exe add "%Services%\usbstor" /f /t REG_DWORD /v "Tag" /d 7reg.exe add "%Services%\usbstor" /f /t REG_DWORD /v "ErrorControl" /d 1reg.exe add "%Services%\usbstor" /f /t REG_DWORD /v "Start" /d 0reg.exe add "%Services%\usbstor" /f /t REG_DWORD /v "Type" /d 1@echo offgoto :eof  === end set_usb_boot_setting_full ============================



How to remove advertisement from MSFN

#27
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,722 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag
Thanks cdob.

Run a few tests on real hardware with the same USB hard disk, using USB-IDE adapter. Added changes to txtsetup.sif for starting usb group earlier. Left changes to USB at start of GUI as a backup.
None of the tested versions (2000-XP-2003 32 and 64 bit) required reboot at start of GUI and installed right to the end.

Why did you give up on changing txtsetup.sif? Did you encounter any troubles using it only?

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


#28
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,722 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag
Beta version of WinSetupFromUSB if anyone wants to help testing:

http://www.datafilehost.com/download-20d0545c.html

edit: Newest download link is in the first post.

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


#29
Siginet

Siginet

    Windows XP PowerPacker Creator

  • Member
  • PipPipPipPipPip
  • 739 posts
  • Joined 22-January 05

Beta version of WinSetupFromUSB if anyone wants to help testing:

http://www.datafileh...d-20d0545c.html

What's different in this version? I'll test it tommorrow.

Thanks :thumbup

Posted Image
For those of you interested in my next software venture you can check it out here:
www.ITTechware.com


#30
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,722 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag
Txtsetup.sif amended and usb group starts earlier, thus in case of USB hard disk it's detected and a drive letters given at start of GUI.
The rest is as per cdob's last post.

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


#31
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,722 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag
I think I've found another workaround for the missing drive letters at start of GUI:

Add to setup.cmd, right above
echo no %TAGFILE% drive found

FOR /L %%G IN (0,1,20) DO (
mnt.exe Y: \device\harddisk%%G\partition1
dir Y:%TAGFILE% > nul 2>&1 && set CDDRIVE=Y:
if defined CDDRIVE goto :CDDRIVE_found
)
http://www.uwe-siebe...les/unmnt10.zip

Only mnt.exe is needed. In case of x64 place it in SysWow64 folder and change mnt.exe to %systemroot%\SysWow64\mnt.exe in setup.cmd.

txtsetup.sif:
32 bit:
mnt.exe=1,,,,,,,2,0,0
64 bit:
mnt.exe=55,,,,,,,82,0,0

Worked in XP 32 bit and 2003 64 bit, haven't checked 2000 yet, for the tests USB entries in txtsetup.sif were not modified, left them as in the original.
No silly warnings because of the empty USB card reader slots too.

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


#32
jmo

jmo
  • Member
  • 8 posts
  • Joined 17-December 13
  • OS:Server 2012
  • Country: Country Flag

I have tried to format my laptop with windows xp sp3 from a bootable usb because my cd-drive doesn't work at all and this  message keeps  showing up:

"C:\windows\system32\presetup.cmd file not found

C:\windows\system32\setuporg.exe file not found

cause

Presetup.cmd not in i386 uxpcd
setuporg.exe no in i386 uxpcd

check txtsetup.sif in i386 folder"

 

abort installation and then restarts by itself and then again the same message and this goes on and on... 

I have read everything you post in this topic but still  i haven't understand what i have to do...

could someone please explain maybe a bit more simple for someone that is not expert in computers.  Please is a little urgent.

Thank you in advance, i am awaiting a reply.



#33
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,593 posts
  • Joined 23-July 04
  • OS:none specified
  • Country: Country Flag

 

I have tried to format my laptop with windows xp sp3 from a bootable usb because my cd-drive doesn't work at all and this  message keeps  showing up:

 

Point here is HOW EXACTLY the specific bootable usb device was prepared/made.

 

Why didn't you use one of the more common automated tools, most of which are stickies in the Forum:

http://www.msfn.org/...ndows-from-usb/

Like:

http://www.msfn.org/...omusb-with-gui/

http://www.winsetupfromusb.com/

 

 

However, your issue should be the same as this one, simply add the needed files:

http://www.msfn.org/...file-not-found/

 

jaclaz



#34
jmo

jmo
  • Member
  • 8 posts
  • Joined 17-December 13
  • OS:Server 2012
  • Country: Country Flag

I have already made my usb bootable by winsetupusb, and tried to install windows xp with it but then this happened and now i can't even make my laptop start. I already read this topic  http://www.msfn.org/...file-not-found/ but still i did not understand what i am suppose to do.  Could you please explain to me step by step what i have to do?  I would be more than grateful. Thank you



#35
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,593 posts
  • Joined 23-July 04
  • OS:none specified
  • Country: Country Flag

I have already made my usb bootable by winsetupusb, and tried to install windows xp with it but then this happened and now i can't even make my laptop start. I already read this topic  http://www.msfn.org/...file-not-found/ but still i did not understand what i am suppose to do.  Could you please explain to me step by step what i have to do?  I would be more than grateful. Thank you

No.

You need to stop panicking :w00t: and start again from scratch using a known to be working approach with some calm and attention.

Which is your original source (the original Windows XP CD you use as source)?

I mean is it "untouched"? Something like 90% of the issues when installing from USB are due to "bad" sources, i.e. something that has been (badly) nlited or with "queer" modifications/additions/integrated drivers and what not.

Which SP it is?

Which specific hardware are you trying to install it to?

Are you sure (in the sense that have you tested it with RMPREPUSB testing features) that the USB stick is OK?

Are you sure you used the latest Winsetupfromusb program version AND that you followed to the letter the instructions?

Under which OS have you run Winsetupfromusb?

 

Essentially what the WinsetupfromUSB program does is to make a bootable USB stick (that boots to grub4dos) and to prepare on it a suitable install source.

If you set aside the install XP part for a moment your USB stick remains a bootable USB stick to grub4dos, if now you cannot start your PC from it (and get at least to the grub4dos) it means that somehow the stick got corrupted or that you are having hardware issues on the PC or that you haven't properly set the BIOS to boot from USB.

 

jaclaz



#36
jmo

jmo
  • Member
  • 8 posts
  • Joined 17-December 13
  • OS:Server 2012
  • Country: Country Flag

I downloaded Windows XP Professional SP3 Nov 2013 + SATA Drivers, i originally had windows xp on the laptop but i cannot install original because of cd-driver not working.  

I used winsetupfromusb 1-1 version and i auto-format FBinst (NTFS format), i have tried with multiple usb sticks but with all the same result.

I did not understant the question with OS (sorry i am not very good)



#37
jmo

jmo
  • Member
  • 8 posts
  • Joined 17-December 13
  • OS:Server 2012
  • Country: Country Flag

Sorry i forgot to answer that my BIOS is set first from Usb hard drive

 

My laptop is HP Compaq nx 7400 (intel Centrino Duo)



#38
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,593 posts
  • Joined 23-July 04
  • OS:none specified
  • Country: Country Flag

I downloaded Windows XP Professional SP3 Nov 2013 + SATA Drivers

Which presumably is a non-original, heavily modified XP source, (please read as WAREZ) :ph34r:. :(

 

READ, this time ATTENTIVELY, MSFN Etiquette:

http://www.msfn.org/...tion=boardrules

Particularly point #1.a:

 

» No Illegal/Copyrighted Software Discussion

1.a This is not a warez site! Links/Requests to warez and/or illegal material (e.g., cracks, serials, etc.) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/license restrictions, use of keygens, or any other illegal activity, including, but not limited to, requests for help where pirated software is being used or being discussed, will also not be tolerated. Offenders may be banned on first violation.

 

 

You won' t have support on this board for using that.

 

 

jaclaz



#39
jmo

jmo
  • Member
  • 8 posts
  • Joined 17-December 13
  • OS:Server 2012
  • Country: Country Flag

sorry but i have original windows XP which i cannot use because my cd-drive is not working. I have my original product key under my laptop but i cannot use it.    What else can i do then?



#40
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,593 posts
  • Joined 23-July 04
  • OS:none specified
  • Country: Country Flag

sorry but i have original windows XP which i cannot use because my cd-drive is not working. I have my original product key under my laptop but i cannot use it.    What else can i do then?

Prepare the USB stick from your original CD on someone else's computer with a working CD/DVD drive.

Find a friend or relative that has a working PC and use it to prepare the USB stick, or at least to make a .iso of the original CD.

 

jaclaz






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users