Install XP from a RAM loaded ISO image
#81
Posted 05 November 2009 - 01:19 PM
XP install
7 install
UBCD
Memtest x86
ect...
It would be nice to have a number of images on a USB stick and then pick them from grub.
Also, it would be easy to upgrade the versions of the ISO's because all you would have to do is replace the ISO with the most recent version (and maybe modify the bootloader, if the image name changed).
Not sure if this is capable of this but if it was that would be awesome.
#82
Posted 05 November 2009 - 01:55 PM
tjcinnamon, on Nov 5 2009, 08:19 PM, said:
XP install
7 install
UBCD
Memtest x86
ect...
You are reading "this" and "this" is the XP install one, nothing less, nothing more.
If the question is "is it possible to multiboot from USB choosing among several .iso images?":
The UBCD is possible and documented.
The Memtest also.
Start reading here:
http://www.boot-land...?showtopic=5041
BUT read here also:
http://www.boot-land...?showtopic=8944
There is not a definite "windows 7" report/tutorial/howto:
http://www.boot-land.net/forums/index.php?...=5041&st=26
http://www.boot-land.net/forums/index.php?...ic=9038&hl=
http://www.boot-land...?showtopic=9076
If you are "windows 7" oriented you may want to try the workarounds and contribute to the solution, or experiment with "this" porting the method to Windows 7.
jaclaz
This post has been edited by jaclaz: 05 November 2009 - 01:55 PM
#83
Posted 09 November 2009 - 05:47 PM
advpack.dll.mui
icardie.dll.mui
iedkcs32.dll.mui
ieframe.dll.mui
iepeers.dll.mui
iernonce.dll.mui
iesetup.dll.mui
ieui.dll.mui
ieunatt.exe.mui
inetcpl.cpl.mui
inseng.dll.mui
msfeedsbs.dll
mshta.exe
mshtml.dll.mui
mshtmled.dll
mshtmler.dll.mui
urlmon.dll.mui
winfxdocobj.exe.mui
wininet.dll.mui
If I skip each of these files, the setup continues ok until the GUI setup where I receive the error "The file 'asms' is needed" and I cannot proceed further.
The source I used to create XP_RAM.iso was an nlited XPSP3 with IE7 slipstreamed and an $OEM$ folder just containing a cmdlines, a batch script and reg files. I have no issues with this source when mounting it as a CD. Testing done in Virtual Box and the ISO was loaded via a usb flash drive. I feel like I'm missing something obvious...
#84
Posted 09 November 2009 - 05:54 PM
Do you have the SP tag files in root of the CD/ISO?
#85
Posted 09 November 2009 - 06:32 PM
travis_san, on Nov 9 2009, 06:47 PM, said:
Use clean source files. Don't integrate IE7.
As ilko_t requested already: which txtsetup.sif and menu.lst do you use?
Quote
Try fixBoot.USB, compare first message and http://www.msfn.org/board/index.php?s=&...st&p=888710
Quote
How do you integrate the usb flash drive? A virtual physicaldrive isn't a USB drive anymore.
#86
Posted 10 November 2009 - 03:40 AM
please be aware that the board "linking to post" does not work properly.
Your link gives "a suffusion of yellow" and just points to the thread.
Use this style of links:
http://www.msfn.org/...ic=137714&st=71
hxxp://www.msfn.org/board/index.php?showtopic=137714&st=71
jaclaz
This post has been edited by jaclaz: 09 November 2010 - 07:55 AM
#87
Posted 10 November 2009 - 05:45 AM
Sorry for the late answer, I was too busy last days...
Russian forums hard to translate becouse all forum posts filled with technical jargon.
Quote
Sort some files at mkISO_RAMload_sort.cmd
...
I don't test running recovery console from sorted iso yet, becouse I use isolated iso (~15Mb) with integrated mass storage drivers.
title cmdcons.iso map --floppies=1 map --mem /boot/_ima/firadisk.gz (fd0) map --mem /boot/_iso/cmdcons.iso (0xFF) map --hook ls (fd0)/firadisk.sys chainloader (0xFF)
Quote
http://forum.ru-boar...mp;start=1680#3
http://forum.ru-boar...p;start=1720#19
I don't understand clearly: does this refer to windows or another operating system?
This posts in forum not about using XP_Inst method, only general talk about making bootable CD whith grub4dos as boot loader.
#88
Posted 10 November 2009 - 02:21 PM
Quote
Oops, this is not a problem. I had been resetting the vm between text and gui setup.
Quote
There is a 'WIN51IP.SP3' file in the root if that is what you mean.
Quote
How do you integrate the usb flash drive? A virtual physicaldrive isn't a USB drive anymore.
Yes, I did RAM load this way by linking the usb drive as a virtual drive. Between the text and gui setup I could not change the boot order of physical drives without resetting the vm, so I tried adding this to menu.lst:
title find and load NTLDR of Windows NT/2K/XP find --set-root --ignore-floppies /ntldr chainloader /ntldr
This does not work ("File not found" in VirtualBox, instantaneous reset in Qemu). However, this entry does work if booted from a mounted ISO (I'm puzzled as to why) instead of a linked usb drive. This was the method I used to create a successful install. Is this how you tested it in a vm or did you use a different method?
Quote
I tried this as you said and the install works perfectly. What can I do to slipstream IE7 without generating missing file errors in text setup? Can you help me understand why these errors exist with the RAM loaded version and not when mounted as a CD?
I've attached txtsetup.sif from my IE7 slipstreamed source. Here is my menu.lst (it's just the same as in cdob's first post):
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) #(fd1) optional, required at some BIOS #map --mem /Inst/XP_INST.IMA (fd1) map --mem /Inst/XP_RAM.ISO (0xFF) map (hd0) (hd1) map (hd1) (hd0) map --hook chainloader (0xFF)/I386/SETUPLDR.BIN
Attached File(s)
-
TXTSETUP.7z (55.7K)
Number of downloads: 36
This post has been edited by travis_san: 10 November 2009 - 03:25 PM
#89
Posted 10 November 2009 - 06:36 PM
travis_san, on Nov 10 2009, 12:21 PM, said:
title find and load NTLDR of Windows NT/2K/XP find --set-root --ignore-floppies /ntldr chainloader /ntldr
This does not work ("File not found" in VirtualBox, instantaneous reset in Qemu). However, this entry does work if booted from a mounted ISO (I'm puzzled as to why) instead of a linked usb drive. This was the method I used to create a successful install. Is this how you tested it in a vm or did you use a different method?
To start the second phase (GUI mode) from the same drive, you'd need to "swap" hard drives order using grub4dos:
title Start GUI mode map (hd0) (hd1) map (hd1) (hd0) map --hook find --set-root /ntldr chainloader /ntldr
Or boot MBR on HD0 (hd0 after mapping/swapping) directly, not chainloading ntldr:
title Start GUI mode map (hd0) (hd1) map (hd1) (hd0) map --hook rootnoverify (hd0) chainloader +1
NTLDR expects NTDETECT.COM in the active partition of the first disk, not on the second, as would be if no swapping is made, hence the need of swapping.
travis_san, on Nov 10 2009, 12:21 PM, said:
Quote
I tried this as you said and the install works perfectly. What can I do to slipstream IE7 without generating missing file errors in text setup? Can you help me understand why these errors exist with the RAM loaded version and not when mounted as a CD?
http://www.msfn.org/board/integration-ie7-...icardie.dll.mui
http://www.msfn.org/board/error-winxp-winn...;hl=icardie.dll
Here were several similar reports, somewhere in the last pages:
http://www.msfn.org/...32-t120444.html
No idea why RAM loaded ISO would differ from a regular CD, seems Setup is picky when detecting source media used and makes additional checks, or the double dotted files matter, or the long file names...
Can you attach \I386\layout.inf as well, from the modified source?
#90
Posted 11 November 2009 - 01:44 AM
I use a dual-boot and I've made a third (primary) partition to store the ISO and IMA on, so that I can format the other two partitions if I feel like it. TXT-mode setup goes OK but after rebooting, it says:
"Couldn't open drive multi(0)disk(0)rdisk(0)partition(1)
NTLDR: Couldn't open drive multi(0)disk(0)rdisk(0)partition(1)"
This is after trying to install to the first partition, so those parameters seem correct. Any idea what's going on there?
I'm also trying to test this in Vmware. Again I've made a third (primary) partition to store the ISO and IMA on but trying to install either "Vanilla" XPSP3 (558MB) or nlited-XPSP3 (381MB) to either the first or second partition in VMware, after selecting Quick Format I get:
"Setup cannot format the partition
Your computer may not have enough memory to perform this operation or your Windows XP CD-ROM may contain some corrupted files."
I've given the VMachine 1GB RAM, so lack of memory shouldn't be a problem. Installing with either of the ISO's mounted to the V-CD-ROM works fine.
If I format the partition manually and select "Leave the current file system intact (no changes)" in XP setup, I get:
"Setup was unable to verify drive C:
Your computer may not have enough memory to examine the drives or your Windows XP CD-ROM may contain some corrupted files.
To continue, press ENTER"
and pressing Enter gets me:
"Setup cannot access the CD containing the Windows XP installation files"
Has anyone had any success testing this in a Virtual machine?
#91
Posted 11 November 2009 - 02:01 AM
#92
Posted 11 November 2009 - 04:22 AM
I've been doing some testing with XP install files on the HD and it seems the errors I'm getting in Vmware are caused by an incorrect "SetupSourceDevice = " line in TXTSETUP.sif.
So, what should I set this to before making the ISO?
This post has been edited by doveman: 11 November 2009 - 05:12 AM
#93
Posted 11 November 2009 - 07:39 AM
travis_san, on Nov 10 2009, 02:21 PM, said:
Is this how you tested it in a vm or did you use a different method?
There are no USB drivers used. This does not test USB boot.
Installation way work anyway, but test internal hard disk behaviour.
I'm using VMWare Player, mount the USB drive, boot a PLoP Boot Manager floppy image and continue USB boot.
Windows setup use USB drivers for the USB drive. This does test USB boot.
travis_san said:
Long names are renamed at installation.
txtsetup.sif said:
nLlite breaks XP defaults
txtsetup.sif said:
travis_san said:
And if you use one hard disk, dosn't use grub4dos hd swap.
#94
Posted 11 November 2009 - 10:41 AM
I'm not using the HD swap when installing from the same HD either.
I had another problem in that the XP install was assigning C: to the third partion, but that turned out to just be because that partition was active. Setting the first partition active fixed that.
This post has been edited by doveman: 11 November 2009 - 10:58 AM
#95
Posted 11 November 2009 - 04:01 PM
Quote
Thanks ilko_t, this works now.
Quote
To clarify, the nlited source installed via RAM load works fine. However, nlited source + IE7 slipstreamed creates errors in text mode.
I was considering cdob's post on how nlite breaks the naming convention in txtsetup.sif and yet this is functional if the source is an ISO created by nlite. I noticed these ISOs are Joliet, whereas XP_RAM.ISO was not. I simply added
set mkisofs_option=-R -J
to mkISO_RAMload_sort.cmd to enable Joliet. This works; no missing file errors in text mode.
Thank you for your help guys. I will test this on real hardware soon.
#96
Posted 11 November 2009 - 06:30 PM
Anyway, I rebuilt my "Vanilla" XP ISO with the below command, but it didn't help
mkisofs -v -volid XPPSP3 -R -l -iso-level 4 -J -joliet-long -duplicates-once -b boot.ima -no-emul-boot -boot-load-size 4 -boot-load-seg 0x07C0 -o XPPROSP3Un.iso "XPProSP3-Vanilla-Unattend"
#97
Posted 11 November 2009 - 07:10 PM
I've tried putting it in the root and in setup\I386\ of the IMA, but I still get the EULA every time. Where exactly am I meant to put this file?
#98
Posted 12 November 2009 - 06:59 AM
doveman, on Nov 12 2009, 03:10 AM, said:
I've tried putting it in the root and in setup\I386\ of the IMA, but I still get the EULA every time. Where exactly am I meant to put this file?
Try to reread Post #73
This post has been edited by kDn: 12 November 2009 - 07:01 AM
#99
Posted 12 November 2009 - 09:43 AM
I tested by copying the XP_RAM.iso and XP_INST.IMA to a usb stick and booting from that, starting the RAM install with drive mapping, and that worked fine.
It turns out that it's just a problem with my test CD ISO, to do with case. I don't even have to put WINNT.SIF in the IMA, it works fine from the XP_RAM.ISO once the problem's fixed.
After a lot of testing, it turns out that XP_RAM.iso needs to be XP_RAM.ISO for the WINNT.SIF to work from a CD ISO in Vmware. I've got no idea why it should work with a lower-case extension from a USB stick but not a CD ISO but there you are.
#100
Posted 12 November 2009 - 10:20 AM
travis_san, on Nov 11 2009, 04:01 PM, said:
To allow multiple dots at ISO 9660: mkisofs -allow-multidot
Yes, or add Joliet file system: mkISO_RAMload_sort.cmd -joliet-long
Rock Ridge extension won't matter in that case. Anyay use -r instead of -R at windows in future.
doveman, on Nov 12 2009, 09:43 AM, said:
Quote
Grub4dos is case sensitive at ISO 9660 file system, your CD.



Help
Back to top











