MSFN Forum: Install XP from a RAM loaded ISO image - MSFN Forum

Jump to content



  • 14 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Install XP from a RAM loaded ISO image

#11 User is offline   wimb 

  • Senior Member
  • Group: Developers
  • Posts: 575
  • Joined: 21-March 07

Posted 08 September 2009 - 12:39 AM

Including the 5 small DriverPacks (C CP L M and W) is quite useful and the extra load of 36 MB of the OEM folder does not take too much time or space.

For Sound and Graphics DriverPacks the load is rather heavy and I decided then to provide the specific required drivers in $OEM$\$1\Drivers folder.
DriverForge is used automatic at T-9 to install these drivers by using UserExecute command in [SetupParams] section of winnt.sif file.

In this way the extra load remains limited and all drivers are installed during XP Setup.

In the case of using DriverPacks, what is causing then the Error of setupORG.exe is missing ?
Is it may be a name conflict by using twice the same mechanism of fake setup of Pyron ?

It would be nice if the problem can be solved.


#12 User is offline   jaclaz 

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

Posted 08 September 2009 - 01:04 AM

View Postwimb, on Sep 8 2009, 08:39 AM, said:

Including the 5 small DriverPacks (C CP L M and W) is quite useful a.....


How I would like it if people wouldn't speak using codes ....

C=Chipset
CP=CPU
L=LAN
M=Mass Storage
W=Wlan

jaclaz

#13 User is offline   wimb 

  • Senior Member
  • Group: Developers
  • Posts: 575
  • Joined: 21-March 07

Posted 08 September 2009 - 09:19 AM

SOLVED the problem of missing file setupORG.exe in case of XP Source slipstreamed with DriverPacks. :thumbup

The file setup.ex_ used to edit the floppy image must be taken from the original XP setup source,
since slipstreaming with DriverPacks makes a new setup.ex_ which when used will cause the reported problem of missing setupORG.exe

View Postcdob, on Sep 6 2009, 09:04 PM, said:

Edit the floppy image:
extract setup.ex_ from your ORIGINAL windows version
copy setup.exe to \setup\setuporg.exe


Install of XP including DriverPacks did run now very well :thumbup

NOW after second Reboot for GUI-mode the DriverPacks are extracted as it should be :rolleyes:

Loading of XP_RAM.ISO in only 10 seconds from internal Harddisk into firadisk RAMDISK is preferred,
instead of loading the RAMDISK in 25 minutes from USB-stick.
In this way one can Install XP from USB without booting from USB.

This post has been edited by wimb: 08 September 2009 - 12:17 PM


#14 User is offline   cdob 

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

Posted 08 September 2009 - 01:41 PM

View Postwimb, on Sep 8 2009, 09:19 AM, said:

setupORG.exe in case of XP Source slipstreamed with DriverPacks.

setupORG.exe from XP Source slipstreamed with DriverPacks is a renamed ORIGINAL setup.exe:
new name setupORG.exe

This approach and naming goes back to Pyron http://www.msfn.org/...-cd-t12566.html

Acutally I assumed, you copied setupORG.exe from XP Source slipstreamed with DriverPacks to the floppy image.
And wondered about the error report.


Added: Idea for full BTS support:

Given a sorted ISO image, OEM at end of ISO image.
Use grub4dos map to load first part to RAM only.
Does grub4dos support loading half a file?

Added 2:
Example: load the first 234567 sectors to RAM.
Remember one CD sector holds 2048 byte data
title Loading XP RAM install - /Inst/XP_RAM.ISO (0xFE)+234567
ls /Inst/XP_RAM.ISO || find --set-root /Inst/XP_RAM.ISO
map --mem /Inst/XP_INST.IMA (fd0)
map /Inst/XP_RAM.ISO (0xFE)
map --hook
map --mem (0xFE)+234567 (0xFF)
map --hook
chainloader (0xFF)/I386/SETUPLDR.BIN


Added 3:
Just to confirm. Yes, the idea does work.
You may add several hundred megabyte data with BTS driverpacks method 2 to end of ISO image.
And you may RAM load first part of ISO image only. Driverpacks addon won't require more RAM usage.
Windows installation does work.

This post has been edited by cdob: 09 September 2009 - 02:54 PM


#15 User is offline   tribat 

  • Group: Members
  • Posts: 3
  • Joined: 10-September 09

Posted 10 September 2009 - 11:03 AM

This didn't work that great, when the first stage installer was done and it rebooted for the second stage, there was a cmd window "setup -newsetup" and a box saying "Error starting the MSI file". After you click OK it reboots and same happends again. I tried both without the stick in the USB and with the stick in the USB and same thing.

So heres what I did:

Installed the grub4dos to a USB drive with fat32 FS

Added the "Loading XP RAM install" item to the menu.lst

Deleted file "I386/setup.ex_" from the "XP_RAM.ISO"

Copied "XP_RAM.ISO" to the USB Stick at "Inst/XP_RAM.ISO"

Copied the file "SUPPORT/TOOLS/SETUP.EXE" from inside "XP_RAM.ISO" to "setup/setuporg.exe" inside "XP_INST.IMA"
(there also was a SETUP.exe at the root of the XP_RAM.ISO but it wouldn't fit the floppy image so I guess its the other one?)
(what is this WINNT.SIF that you "may add", where is it, where you add it?)

Copied "XP_INST.IMA" to the USB Stick at "Inst/XP_INST.IMA"

Booted to the stick with my Eee PC 901 and selected the XP RAM Install

First stage install went just fine without any errors.

The computer reboots to second stage installer, the second stage installer reboots itself right away

After it comes back it spits out the error I described at the top

#16 User is offline   ilko_t 

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

Posted 10 September 2009 - 11:24 AM

View Posttribat, on Sep 10 2009, 10:03 AM, said:

...

Deleted file "I386/setup.ex_" from the "XP_RAM.ISO"
...
Copied the file "SUPPORT/TOOLS/SETUP.EXE" from inside "XP_RAM.ISO" to "setup/setuporg.exe" inside "XP_INST.IMA"
(there also was a SETUP.exe at the root of the XP_RAM.ISO but it wouldn't fit the floppy image so I guess its the other one?)
(what is this WINNT.SIF that you "may add", where is it, where you add it?)...

Don't delete anything.

Setuporg.exe which has to be placed in XP_INST.IMA \setup\ :

1) In case BTS driver packs were used, or any other method using "fake setup" at start of GUI- just use I386\setupORG.exe, which should be the original MS setup.exe.
2) Original media/unmodified setup.exe- extract it from I386 (7zip or default MS expand.exe) and rename it to setuporg.exe.

Don't worry about winnt.sif for now, that's optional.

#17 User is offline   tribat 

  • Group: Members
  • Posts: 3
  • Joined: 10-September 09

Posted 10 September 2009 - 01:03 PM

View Postilko_t, on Sep 10 2009, 11:24 AM, said:

View Posttribat, on Sep 10 2009, 10:03 AM, said:

...

Deleted file "I386/setup.ex_" from the "XP_RAM.ISO"
...
Copied the file "SUPPORT/TOOLS/SETUP.EXE" from inside "XP_RAM.ISO" to "setup/setuporg.exe" inside "XP_INST.IMA"
(there also was a SETUP.exe at the root of the XP_RAM.ISO but it wouldn't fit the floppy image so I guess its the other one?)
(what is this WINNT.SIF that you "may add", where is it, where you add it?)...

Don't delete anything.

Setuporg.exe which has to be placed in XP_INST.IMA \setup\ :

1) In case BTS driver packs were used, or any other method using "fake setup" at start of GUI- just use I386\setupORG.exe, which should be the original MS setup.exe.
2) Original media/unmodified setup.exe- extract it from I386 (7zip or default MS expand.exe) and rename it to setuporg.exe.

Don't worry about winnt.sif for now, that's optional.

Haha, oh dumb me. I thought when the instructions said to "extract the setup.ex_" that you had to take it away (delete) from the installation image =D I didn't know the setup.ex_ was the setup.exe in a compressed form =)

Well I shall try it again tomorrow, ill post the results =)

#18 User is offline   tribat 

  • Group: Members
  • Posts: 3
  • Joined: 10-September 09

Posted 12 September 2009 - 09:08 AM

View Posttribat, on Sep 10 2009, 01:03 PM, said:

View Postilko_t, on Sep 10 2009, 11:24 AM, said:

View Posttribat, on Sep 10 2009, 10:03 AM, said:

...

Deleted file "I386/setup.ex_" from the "XP_RAM.ISO"
...
Copied the file "SUPPORT/TOOLS/SETUP.EXE" from inside "XP_RAM.ISO" to "setup/setuporg.exe" inside "XP_INST.IMA"
(there also was a SETUP.exe at the root of the XP_RAM.ISO but it wouldn't fit the floppy image so I guess its the other one?)
(what is this WINNT.SIF that you "may add", where is it, where you add it?)...

Don't delete anything.

Setuporg.exe which has to be placed in XP_INST.IMA \setup\ :

1) In case BTS driver packs were used, or any other method using "fake setup" at start of GUI- just use I386\setupORG.exe, which should be the original MS setup.exe.
2) Original media/unmodified setup.exe- extract it from I386 (7zip or default MS expand.exe) and rename it to setuporg.exe.

Don't worry about winnt.sif for now, that's optional.

Haha, oh dumb me. I thought when the instructions said to "extract the setup.ex_" that you had to take it away (delete) from the installation image =D I didn't know the setup.ex_ was the setup.exe in a compressed form =)

Well I shall try it again tomorrow, ill post the results =)

Worked perfectly on Asus EeePC 901 with a Windows XP Pro SP3 image :)

#19 User is offline   jaclaz 

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

Posted 12 September 2009 - 09:42 AM

Thread Pinned (Sticky). :thumbup

jaclaz

#20 User is offline   maanu 

  • Newbie
  • Group: Members
  • Posts: 24
  • Joined: 15-September 09

Posted 15 September 2009 - 12:46 PM

View Postcdob, on Sep 8 2009, 02:41 PM, said:

Added 2:
Example: load the first 234567 sectors to RAM.
Remember one CD sector holds 2048 byte data
title Loading XP RAM install - /Inst/XP_RAM.ISO (0xFE)+234567
ls /Inst/XP_RAM.ISO || find --set-root /Inst/XP_RAM.ISO
map --mem /Inst/XP_INST.IMA (fd0)
map /Inst/XP_RAM.ISO (0xFE)
map --hook
map --mem (0xFE)+234567 (0xFF)
map --hook
chainloader (0xFF)/I386/SETUPLDR.BIN


Added 3:
Just to confirm. Yes, the idea does work.
You may add several hundred megabyte data with BTS driverpacks method 2 to end of ISO image.
And you may RAM load first part of ISO image only. Driverpacks addon won't require more RAM usage.
Windows installation does work.


this is beautiful approach for the legacy systems , to load specific sectors of the iso . just couple of questions ( i ll try the above tomorrow hopefully ) ,

1. HOW the iso image can be sorted to have OEM folder at the end of the iso , the current structure of my iso is

/$OEM$ (15,415,570 bytes )
/I386 (97,704,075 bytes )
/OEM (21,293,545 bytes )
/WIN51
/WIN51IP
/WIN51IP.SP2

i guess OEM is already the end , so it ll be fine if i ll load specific sectors first ? actually the above image is 133 MB only . it is very stripped down image which im using for testing this ram thing only coz i have slow system . since im weak in math , so i dont know how much i should specify to load in place of
map --mem (0xFE)+234567 (0xFF)

2. lets suppose we have 3 xp images to be installed from usb using firadisk method . is it possible to have OEM (BTS packs) at root of usb drive , so that all 3 xp images can use them ?
i mean it SEEMS possible with a batch command which can copy them at the time of need to the target partition but then i guess we ll have to use C:\ only for installing purposes . or am i just dreaming ? :whistle:

#21 User is offline   demontager 

  • Group: Members
  • Posts: 5
  • Joined: 15-September 09

Posted 16 September 2009 - 05:32 AM

Could somebody help me figure out what is my problem. I did all above mentioned steps:
1. installed grub4dos on USB pendrive
2.Edited menu.lst
title Loading XP RAM install - /Inst/XP_RAM.ISO
ls /Inst/XP_RAM.ISO || find --set-root /Inst/XP_RAM.ISO
map --mem /Inst/XP_INST.IMA (fd0)
map --mem /Inst/XP_RAM.ISO (0xFF)
map (hd0) (hd1)
map (hd1) (hd0)
map --hook
chainloader (0xFF)/I386/SETUPLDR.BIN


3. Copied Inst folder with XP_INST.IMA and XP_RAM.ISO to USB pen drive
4. Then booted from pendrive in Virtual Box, chosen XP in menu and here is strange, just shows me that window, freezes, nothing happens, waited 15 minutes same. Also i have tested booting from this pendrive in real environment, no changes, freezes.
Posted Image

#22 User is offline   uid0 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 336
  • Joined: 12-June 06

Posted 16 September 2009 - 05:50 AM

View Postmaanu, on Sep 15 2009, 07:46 PM, said:

1. HOW the iso image can be sorted to have OEM folder at the end of the iso

You can use mkisofs -sort sort.txt
Cdob's boot-the-loop is an alternative to mapping counted sectors, if you can write the sizes into the cd at build time:
http://www.boot-land.net/forums/index.php?...amp;#entry24379

#23 User is offline   ilko_t 

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

Posted 16 September 2009 - 05:51 AM

@demontager

1) How large is the ISO file?
2) How much RAM you had in the real and the virtual machine?
3) Not related, but did you put original setup.exe as setuporg.exe in \setup\I386\ in XP_INST.IMA? Mount the image, use ImDisk for example, put setup.exe renamed to setuporg.exe in \setup\I386\ if using 32bit Windows and unmount the virtual disk. Make sure you are not monting it as read-only.

This post has been edited by ilko_t: 16 September 2009 - 05:53 AM


#24 User is offline   demontager 

  • Group: Members
  • Posts: 5
  • Joined: 15-September 09

Posted 16 September 2009 - 06:06 AM

ilko_t :
1. XP_RAM.ISO size is 714MB

2.I set for VB use 1 GB of ram, because when less of 256 it reports-"cannot fit image to ram", and real machine has 4 Gb of ram.

3.Oops, I didn't make these steps. is it mandatory to put original setup.exe to \setup\I386\ in XP_INST.IMA?

#25 User is offline   ilko_t 

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

Posted 16 September 2009 - 07:31 AM

1) You may have to wait longer for 700MB ISO, perhaps the real hardware was using USB 1.1 at boot. Alternatively try Plop:
http://www.boot-land...?showtopic=8605

For loading in VirtualBox- same applies, no idea if PLOP could help.

3) Yes, critical for the GUI mode, which you have not reached yet.

This post has been edited by ilko_t: 16 September 2009 - 07:32 AM


#26 User is offline   TigerWhite 

  • Group: Members
  • Posts: 2
  • Joined: 25-September 07

Posted 16 September 2009 - 08:07 AM

View Postcdob, on Sep 7 2009, 04:20 PM, said:

This is not necessary anymore at firadisk 0.0.1.12.
Once is sufficient now
map --mem /Inst/XP_INST.IMA (fd0)



I tested XP_INST_v02 (which I understand includes firadisk 0.0.1.12) for installing XP SP3 integrated with BTS massstorage driverpack on VirtualBox mapping only once:

map --mem /Inst/XP_INST.IMA (fd0)


The setup fails in the textmode itself complaining that it could not copy the firadisk files.

However mapping twice with

map --mem /Inst/XP_INST.IMA (fd0)
map --mem /Inst/XP_INST.IMA (fd1)


installation is successful!

I have confirmed this with wimb's approach given in Post #7 in VirtualBox. I am yet to test this in a real system.

Is the necessity of double mapping limited to VirtualBox only?
Can redundant mapping cause problems in real hardware?

#27 User is offline   cdob 

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

Posted 16 September 2009 - 12:18 PM

View Postmaanu, on Sep 15 2009, 01:46 PM, said:

HOW the iso image can be sorted to have OEM folder at the end of the iso
I'm using mkisofs -sort and investigate some ocassions currently.
Sorry no further hint so far.

Quote

i guess OEM is already the end

IsoBuster Free does list LBA (Logical Block Address) of files. http://www.isobuster...ense-models.php
The LBA show the file location.
Calculate N: LBA of file and add file length
Use this number to load image to RAM.

Quote

2. lets suppose we have 3 xp images to be installed from usb using firadisk method . is it possible to have OEM (BTS packs) at root of usb drive , so that all 3 xp images can use them ?
i mean it SEEMS possible with a batch command which can copy them at the time of need to the target partition but then i guess we ll have to use C:\ only for installing purposes . or am i just dreaming ? :whistle:
No need for deaming, should work already.

View Postdemontager, on Sep 16 2009, 07:06 AM, said:

1. XP_RAM.ISO size is 714MB

The ISO image is loaded at BIOS speed. This maybe solw despite USB2.0 hardware.
A 700 mb imgae is loaded in about a minute at USB2.0 speed. Setup does work.

Try the PLOP Boot Manager. This allows USB2.0 speed at some 1.1 speed BIOS.

@TigerWhite
Thanks for report.
Which BIOS settings do you use?
Does your VirtualBox use a floppy drive? Does exist a floppy controller?

TigerWhite said:

Can redundant mapping cause problems in real hardware?
I've no Idea. Should work without errors.

#28 User is offline   demontager 

  • Group: Members
  • Posts: 5
  • Joined: 15-September 09

Posted 16 September 2009 - 02:30 PM

After putting real setup.exe all works, but speed of loading to RAM about 7 minutes(tested on real hardware) and about 10 mins in Virtual Box.
So I tried to use Plop, creates /boot folder on USB pendrive and put there plpbt.img. Then edited menu.lst:
title Load USB2.0
find --set-root /boot/plpbt.img
map --mem /boot/plpbt.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
map --floppies=1
boot

When Plop graphical screen started I chosen USB, but also available: hda partition1, hdb partition1, cdrom,floppy( also below setup, about, shutdown in grey colour), then it shows installing IHCI driver and back me to grub4dos menu. Then I've chosen
Loading XP RAM install - /Inst/XP_RAM.ISO

And after 30 sec received error
 
Error 21: Selected disc does not Exist
Press any key to continue...

i pressed and it back to grub4dos menu again. What is the reason, wrong disk? If I not use Plop, setup starts, but as I mentioned need wait ~7 minutes.

This post has been edited by demontager: 16 September 2009 - 02:33 PM


#29 User is offline   kDn 

  • Newbie
  • Group: Members
  • Posts: 19
  • Joined: 13-September 09

Posted 16 September 2009 - 03:12 PM

Little bug in TXTSETUP.OEM (XP_INST.IMA)

Need to correct section:
[Files.scsi.VMSCSI]
driver  = VMSCSI, vmscsi.sys, VMSCSI
inf = VMSCSI, vmscsi.inf
catalog = VMSCSI, vmscsi.cat


#30 User is offline   TigerWhite 

  • Group: Members
  • Posts: 2
  • Joined: 25-September 07

Posted 20 September 2009 - 08:35 AM

View Postcdob, on Sep 17 2009, 12:48 AM, said:

@TigerWhite
Thanks for report.
Which BIOS settings do you use?
Does your VirtualBox use a floppy drive? Does exist a floppy controller?

VirtualBox system settings :
System
Base Memory:   1024 MB
Processor(s):	 1
Boot Order:	   CD/DVD-ROM, Hard Disk
VT-x/AMD-V:	 Enabled
Nested Paging:   Disabled

Floppy  :			Not mounted

Though I have not mounted any floppy, a floppy controller exists in the vm.

Share this topic:


  • 14 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

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



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