Jump to content

Install XP from a ISO file


cdob

Recommended Posts

Don`t mean to change the subject or highjack thread here, been trying to get this going for ages and normally would just keep trial an erroring/reading threw posts to figure it out but I just got out of hospital from an ulcer that bout bled me to death so you`d be literally saving me from another transfusion if yall could help a brother out here. My question is about directly mapping first 4gb boot partition to ram, first is it possible ? and what would the menu.ist look like ? I got my win 7 pro x64 trimmed down perfect with everything installed I plan to use at 3.5gb and have been having hell of a time trying to get it up and running in ram via .img or .vhd so if its possible I can just boot this sucker up with firadisk installed, skip the whole image creation, and map the partition in grub I would really appreaciate a tip on what grub commands I`d need to do so.

thanks if you fellas can help

Link to comment
Share on other sites


Thanks, cdob. Just load XP home with the method below. Works good! I like no floppy. I am going to write a Windows script script that will add all the lines to txtsetup, copy the firadisk files to I386 and create and write MIGRATE.INF all in one click from Windows

Or use another approach:

Copy firadisk.sys and firadisk.inf to directory \I386\

Edit \I386\TXTSETUP.SIF

[sourceDisksFiles]

firadisk.sys = 1,,,,,,,4,0,0

firadisk.inf = 1,,,,,,,20,0,0

;firadisk.inf edited: CopyFiles excluded:

;[FiraDiskDevice.NTx86]

;;CopyFiles=CopyFilesFiraDisk_x86

[bootBusExtenders.Load]

firadisk = firadisk.sys

[bootBusExtenders]

FiraDisk = "FiraDisk Virtual Disk",files.none,firadisk

Add a \I386\MIGRATE.INF

[Version]

Signature = "$Windows NT$"

[Addreg]

;search ISO image

HKLM,"SYSTEM\CurrentControlSet\Control\FiraDisk","StartOptions",0x0,"cdrom,vmem=find:\images\winsetup.iso"

;####################################################################################

Edit \I386\HIVESYS.INF

[AddReg]

;search ISO image

HKLM,"SYSTEM\CurrentControlSet\Control\FiraDisk","StartOptions",0x0,"cdrom,vmem=find:\images\winsetup.iso"

;####################################################################################

menu.lst

title Setup Windows XP from ISO: \nfiradisk integrated in ISO image

set myISO=/images/winsetup.iso

#ilko_t

/boot/shifthd.bat

find --set-root --devices=h %myISO%

map %myISO% (222)

map --hook

root (222)

chainloader (222)/I386/SETUPLDR.BIN

Link to comment
Share on other sites

if i want to change iso path , i should only edit the isoimage.ini file ?

Write the path on the fly

write --offset=0 (fd0)/setup/ISOimage.ini \\pathhere\\isoname\n;\n;\n;

write --offset=0 (fd1)/setup/ISOimage.ini \\pathhere\\isoname\n;\n;\n;

Link to comment
Share on other sites

If I write MCE2005.ISO like this

write --offset=0 (fd0)/setup/ISOimage.ini \\ISO\\MCE2005.ISO\n;\n;\n;
write --offset=0 (fd1)/setup/ISOimage.ini \\ISO\\MCE2005.ISO\n;\n;\n;

I get setup error Can not find iso as the O is left off so its MCE2005.IS

search ISO file "C:\XP\ISO\MCE2005.IS"

search ISO file "D:\XP\ISO\MCE2005.IS"

search ISO file "E:\XP\ISO\MCE2005.IS"

can not find iso

and if I do just MCE.ISO all is well

search ISO file "C:\XP\ISO\MCE.ISO"

search ISO file "D:\XP\ISO\MCE.ISO"

search ISO file "E:\XP\ISO\MCE.ISO"

found ISOfile E:\XP\ISO\MCE.ISO

Link to comment
Share on other sites

Which windows contains file MCE2005.ISO?

Not sure what you mean by this?

Strange: didn't this work at other versions so far?

My ISO are labeled as following

HOME.ISO

PRO.ISO

MCE2005.ISO

if I remove the (in bold)

write --offset=0 (fd0)/setup/ISOimage.ini \\ISO\\MCE2005.ISO\n;\n;\n;

write --offset=0 (fd1)/setup/ISOimage.ini \\ISO\\MCE2005.ISO\n;\n;\n;

MCE2005.ISO is found and loads fine but HOME AND PRO get errors cant find ISO so I have to put back the \n;\n;\n;

Ok once I put the \n;\n;\n; back for HOME and PRO to be found, I have to relabel MCE2005 TO MCE and all three are found no problem. Been meaning to post this a week or so back but been busy so last night I had some free time and thought I would post this

\r\n;\r\n

I will try this today

Edited by laddanator
Link to comment
Share on other sites

write --offset=0 (fd0)/setup/ISOimage.ini \\XP\\ISO\\MCE2005.ISO\r\n;\r\n

cat (fd0)/setup/ISOimage.ini

\XP\ISO\MCE2005.IS

Which grub4dos version do you use?

Command does work here at 0.4.5c 2012-01-17 : cat does list \XP\ISO\MCE2005.ISO

Write a report to grub4dos author.

And add a ; in addition.

write --offset=0 (fd0)/setup/ISOimage.ini \\XP\\ISO\\MCE2005.ISO\r\n;\r\n;

But I doubt this solve described case.

Added:

Which ISOimage.ini file do you use inside floppy image?

Which file size goes to this file? Write won't change file size.

Edited by cdob
Link to comment
Share on other sites

write --offset=0 (fd0)/setup/ISOimage.ini \\XP\\ISO\\MCE2005.ISO\r\n;\r\n;

Still a no go and no O. How many characters can be written? I count 19 in that line counting \ and . If I changed the name to MCE.ISO, all is well

@cdob, not sure why it worked for you. If it was a character limit. Should have not worked for you.

I been using the add to source method so I can't stress about this. :wacko:

but again, why in the F@#k doesn't MCE2005.ISO name work!! :realmad::lol:

Edited by laddanator
Link to comment
Share on other sites

Which ISOimage.ini file do you use inside floppy image?

Which file size goes to this file? Write won't change file size.

Using the untouched one that's in your new 5v. Since you updated the firadisk and Imdisk, I felt no need for me to mod anything in your IMA.

Link to comment
Share on other sites

Mystery continues.

Can you run

title debug MCE2005.ISO
map --mem /Inst/XP_Inst.ima (fd0)
map --hook
write --offset=0 (fd0)/setup/EMPTY512.LST \\XP\\ISO\\MCE2005.ISO\r\n;\r\n;
cat (fd0)/setup/EMPTY512.LST
pause

I get

0x19 bytes written at offset 0x0.

\XP\ISO\MCE2005.ISO

;

;

_

What's your output?

Link to comment
Share on other sites

title debug MCE2005.ISO

map --mem /Inst/XP_Inst.ima (fd0)

map --hook

write --offset=0 (fd0)/setup/EMPTY512.LST \\XP\\ISO\\MCE2005.ISO\r\n;\r\n;

cat (fd0)/setup/EMPTY512.LST

pause

I will try this tomorrow. Left all my boot stuff at work. Needed a break tonight! :crazy:

Thanks, cdob. I will report back tomorrow afternoon.

By the way, cdob, did you say you had a V6?

Edited by laddanator
Link to comment
Share on other sites

ran the test like this

title debug MCE2005.ISO
map --mem /XP/Floppy/XP_Inst.ima (fd0)
map --hook
write --offset=0 (fd0)/setup/EMPTY512.LST \\XP\\ISO\\MCE2005.ISO\r\n;\r\n;
cat (fd0)/setup/EMPTY512.LST
pause

and got this. Same as you

0x19 bytes written at offset 0x0.

\XP\ISO\MCE2005.ISO

;

;

Ok, this is in my ISOimage.ini file from the IMA

\XP\ISO\MCE2005.IS

Must have not map to mem or something and didn't realize sine this has changed from stock. Will replace and try again

Ok, put everything back to stock in the ini file and made sure I was mapping IMA to mem and

title debug MCE2005.ISO
map --mem /XP/Floppy/XP_Inst.ima (fd0)
map --hook
write --offset=0 (fd0)/setup/ISOimage.ini \\XP\\ISO\\MCE2005.ISO\r\n;\r\n;
cat (fd0)/setup/ISOimage.in
pause

still no O

with 0x12 bytes written at offset 0x0

Edited by laddanator
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...