Jump to content

Install XP from a ISO file


cdob

Recommended Posts

At DriverPacks edit presetup.cmd

:DPsFound
start /b "Open handle to virtual CD-ROM drive." pushd "%CDDRIVE%"

Another cmd.exe is launched in context to running hidden presetup.cmd.

Hence this cmd.exe is hidden too.

This modification of presetup.cmd works for me.

The WinVBlock virtual floppy is NOT needed anymore at reboot for GUI-mode.

The XP Setup source in virtual CD on USB is found and survives install of devices.

GUI-mode of XP Setup continues without error. Install of XP is OK. :thumbup

The proposed title 2 of grub4dos menu did NOT work for me.

On selecting title 2 I returned to grub4dos menu on USB-stick.

I did modify and used original mapping of title 2 and then everything worked for me:


title 1 Start Windows XP setup - XP3_11_2.iso
map --mem /winvblock.ima (fd0)
map --mem /winvblock.ima (fd1)
map /XP3_11_2.iso (0xff)
checkrange 0x80 read 0x8280 && map (hd0) (hd1)
checkrange 0x80 read 0x8280 && map (hd1) (hd0)
map --hook
chainloader (0xff)

title 2 Continue Windows XP setup
map /XP3_11_2.iso (0xff)
checkrange 0x80 read 0x8280 && map (hd0) (hd1)
checkrange 0x80 read 0x8280 && map (hd1) (hd0)
map --hook
chainloader (hd0)+1

Boot twice from USB (using title 1 and 2) - and then Reboot from drive where XP is installed.

Congratulations with the NEW method for Install of XP from USB

I think it is the most simple way to Install XP from USB :thumbup

The same method can also be used to Install XP in HDD Image file

as described by Doodoo and sara - pmedia and wimb

http://reboot.pro/13856/page__p__122385#entry122385

http://reboot.pro/13731/

http://www.911cd.net/forums//index.php?showtopic=23553

cheers.gif

post-132150-0-52536700-1298618620_thumb.

Edited by wimb
Link to comment
Share on other sites


The WinVBlock virtual floppy at reboot for GUI-mode is NOT needed anymore.

Except maybe if you want to use an answer file ? Or do you include it in the ISO itself (but I find that a little less flexible... Just a matter of personal taste really)

Link to comment
Share on other sites

Except maybe if you want to use an answer file ?

The winnt.sif file is only needed in TXT-mode.

The GUI-mode will use the created WINDOWS\system32\$winnt$.inf file which contains the info of winnt.sif

Edited by wimb
Link to comment
Share on other sites

I've tested it and works, setup goes on in text mode but after reboot I needed to build the MBR before step 2.

But I seriously suppose there must be a bug into the bios of my old test machine (mobo foxconn cpu intel p4).

as usual no way to repair the unknown device (winvblock) in device manager into XP.

@Davlak

Did you delete the partitions and reformat using XP Setup or did you leave the existing partition and just reformat. If you have off-track partitions (such as made by WinPE v2 and v3 DISKPART) then it may well fail to boot from HDD.

Always create a new partition for your tests.

I have to use DISKPART with the CRE PRI ALIGN 1065 command in WinPE v2/v3 before running winnt32 to ensure the partition is on a cylinder boundary. It may be the same with Setup?

Edited by steve6375
Link to comment
Share on other sites

If you tell ISO file name to WinVBlock in step 2, it should keep ISO file opened without having to use cmd trick.

Or you may try FiraDisk 0.0.1.30 with ISO file name in its parameter in small mem drive.

I tried to tell ISO filename to WinVBlock in step 2,

but unfortunately the virtual CD drive on USB-stick did NOT survive Install of devices in GUI-mode of XP Setup.

XP Setup FAILED as described earlier .... :(

It means that the cmd trick as proposed by cdob will remain as working solution. :thumbup

This is the Grub4dos menu title 2 that I used and where XP Setup FAILED


title 2 Continue Windows XP setup
map /XP3_1102.iso (0xff)
checkrange 0x80 read 0x8280 && map (hd0) (hd1)
checkrange 0x80 read 0x8280 && map (hd1) (hd0)
map --rd-size=2048
map --mem (rd)+4 (0x55)
map --hook
write (0x55) #GRUB4DOS\x00v=1\x00XP3_1102.iso\x00\xff\x00
chainloader (hd0)+1

Edited by wimb
Link to comment
Share on other sites

I was attempting to run this type of setup but ran into a small snag...

If I go into presetup.cmd and add the line below "DPsFound" (as suggested).

:DPsFound

start /b "Open handle to virtual CD-ROM drive." pushd "%CDDRIVE%"

Then when it goes into TXT-mode setup, it will say that it "cannot copy presetup.cmd". If I go back to an ISO where this is unchanged, it will copy the file fine (but then loses the ISO mapping in GUI setup). If I manually copy the changed presetup.cmd then GUI setup will work fine.

Any ideas why modifying presetup.cmd would make it fail to copy in TXT setup?

If I look in TXTSETUP.SIF, I see setuporg.exe and presetup.cmd listed properly under sourcedisk files (as people on other message boards suggested checking this)

Thanks

~Fizz

Edited by daddy_fizz
Link to comment
Share on other sites

Or you may try FiraDisk 0.0.1.30 with ISO file name in its parameter in small mem drive.
Thanks, virtual CD-ROM survive PNP.

Install Windows XP from ISO on UFD to SATA hard disk by karyonix http://reboot.pro/13967/

I'm using

title 1 Start Windows XP setup - firadisk.img - /XP.iso
map --mem (md)0x800+4 (99)
map /firadisk.img (fd0)
map /firadisk.img (fd1)
map /XP.iso (0xff)
checkrange 0x80 read 0x8280 && map (hd0) (hd1)
checkrange 0x80 read 0x8280 && map (hd1) (hd0)
map --hook
write (99) [FiraDisk]\nStartOptions=cdrom,vmem=find:/XP.iso;floppy,vmem=find:/firadisk.img;\n\0
chainloader (0xff)

title 2 Continue Windows XP setup - firadisk.img /XP.iso
map --mem (md)0x800+4 (99)
checkrange 0x80 read 0x8280 && map (hd0) (hd1)
checkrange 0x80 read 0x8280 && map (hd1) (hd0)
map --hook
write (99) [FiraDisk]\nStartOptions=cdrom,vmem=find:/XP.iso;\n\0
chainloader (hd0)+1

Link to comment
Share on other sites

  • 3 weeks later...

Installing from iso always skip the part with licence agreament (where we need to pres F8 to accept)

and doesn't recognize previously installed Windows XP. What about you guys?

Link to comment
Share on other sites

@tonyzg

Yes, a existing a:\txtsetup.oem turns setupldr.bin to this internal defaults: a kind of unattended installation.

Hmmmm, so I can't use this method to repair Windows installation...

Is there a way to enable this? Changing txtsetup.oem maybe?

Link to comment
Share on other sites

so I can't use this method to repair Windows installation...

Adapt this method:

don't use a (virtual) floppy

integrate the mass storage driver into the ISO file

Link to comment
Share on other sites

  • 4 weeks later...

Hi, I am just dropping in to report that the installation of XP from an ISO, where both the mass storage drivers needed by the mobo and firadisk have been integrated using nlite, works fine. I built a XP ISO with drivers for all types of Intels ICH7(x) to ICH10(x) controller ( both raid and ahci drivers ), NVidias Nforce7 chipset ( raid and ahci ) and firadisk itself. Then I used the following configuration ( winsetup.lst ) for grub4dos:


title First part of Windows XP setup from ISO
map --mem (md)0x800+4 (99)
map /XP.iso (0xff)
checkrange 0x80 read 0x8280 && map (hd0) (hd1)
checkrange 0x80 read 0x8280 && map (hd1) (hd0)
map --hook
write (99) [FiraDisk]\nStartOptions=cdrom,vmem=find:/XP.iso;\n\0
chainloader (0xff)

title Second part of XP setup from ISO / Boot first internal hard drive
map --mem (md)0x800+4 (99)
checkrange 0x80 read 0x8280 && map (hd0) (hd1)
checkrange 0x80 read 0x8280 && map (hd1) (hd0)
map --hook
write (99) [FiraDisk]\nStartOptions=cdrom,vmem=find:/XP.iso;\n\0
chainloader (hd0)+1

The HDD for the installation was NOT connected via USB, because my mobo ( GA-P35DS3R rev. 1.0 ) only boots from USB in 1.1 mode and "Plops" USB driver did not work for me. Instead, the installation HDD was connected to the 4. S-ATA Port of the ICH9R, and the target HDD was on the 1. S-ATA port. Then I booted the installation HDD via the boot menu of the bios, which explains the mappings I needed in the winsetup.lst . I never installed a Windows XP so fast, even it could have been faster, since the installation HDD was only a 2,5" drive with 5400 rpm, which normally belongs into an external USB enclosure. Of course this method should work the same way if the installation HDD would have been booted through USB, but I did not test this since it would have been painfully slow with my mobo.

C.U. Picobot

Edited by PicoBot
Link to comment
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.
×
×
  • Create New...