Dynthor Posted January 24, 2012 Posted January 24, 2012 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
laddanator Posted January 25, 2012 Posted January 25, 2012 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 WindowsOr use another approach:Copy firadisk.sys and firadisk.inf to directory \I386\Edit \I386\TXTSETUP.SIF[sourceDisksFiles]firadisk.sys = 1,,,,,,,4,0,0firadisk.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,firadiskAdd a \I386\MIGRATE.INF[Version]Signature = "$Windows NT$"[Addreg];search ISO imageHKLM,"SYSTEM\CurrentControlSet\Control\FiraDisk","StartOptions",0x0,"cdrom,vmem=find:\images\winsetup.iso";####################################################################################Edit \I386\HIVESYS.INF[AddReg];search ISO imageHKLM,"SYSTEM\CurrentControlSet\Control\FiraDisk","StartOptions",0x0,"cdrom,vmem=find:\images\winsetup.iso";####################################################################################menu.lsttitle Setup Windows XP from ISO: \nfiradisk integrated in ISO imageset myISO=/images/winsetup.iso#ilko_t /boot/shifthd.batfind --set-root --devices=h %myISO%map %myISO% (222)map --hookroot (222)chainloader (222)/I386/SETUPLDR.BIN
laddanator Posted January 25, 2012 Posted January 25, 2012 if i want to change iso path , i should only edit the isoimage.ini file ?Write the path on the flywrite --offset=0 (fd0)/setup/ISOimage.ini \\pathhere\\isoname\n;\n;\n;write --offset=0 (fd1)/setup/ISOimage.ini \\pathhere\\isoname\n;\n;\n;
laddanator Posted January 30, 2012 Posted January 30, 2012 If I write MCE2005.ISO like thiswrite --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 isoand if I do just MCE.ISO all is wellsearch 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
cdob Posted January 30, 2012 Author Posted January 30, 2012 I get setup error Can not find iso as the O is left off so its MCE2005.IS Which windows contains file MCE2005.ISO?Strange: didn't this work at other versions so far?Try CR+LF: \r\n http://en.wikipedia.org/wiki/Newlinewrite --offset=0 (fd0)/setup/ISOimage.ini \\ISO\\MCE2005.ISO\r\n;\r\n
laddanator Posted January 30, 2012 Posted January 30, 2012 (edited) 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.ISOPRO.ISOMCE2005.ISOif 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\nI will try this today Edited January 30, 2012 by laddanator
laddanator Posted January 30, 2012 Posted January 30, 2012 Ok Used this write --offset=0 (fd0)/setup/ISOimage.ini \\XP\\ISO\\MCE2005.ISO\r\n;\r\ncat (fd0)/setup/ISOimage.inipauseResults\XP\ISO\MCE2005.ISJust a cursor after the S and no O
cdob Posted January 30, 2012 Author Posted January 30, 2012 (edited) write --offset=0 (fd0)/setup/ISOimage.ini \\XP\\ISO\\MCE2005.ISO\r\n;\r\ncat (fd0)/setup/ISOimage.ini\XP\ISO\MCE2005.ISWhich grub4dos version do you use? Command does work here at 0.4.5c 2012-01-17 : cat does list \XP\ISO\MCE2005.ISOWrite 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 January 30, 2012 by cdob
laddanator Posted January 30, 2012 Posted January 30, 2012 Which grub4dos version do you use? I am using 0.4.5c 2012-01-17write --offset=0 (fd0)/setup/ISOimage.ini \\XP\\ISO\\MCE2005.ISO\r\n;\r\n;I Will try this again
laddanator Posted January 31, 2012 Posted January 31, 2012 (edited) 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. but again, why in the F@#k doesn't MCE2005.ISO name work!! Edited January 31, 2012 by laddanator
cdob Posted January 31, 2012 Author Posted January 31, 2012 Which ISOimage.ini file do you use inside floppy image?Which file size goes to this file? Write won't change file size.
laddanator Posted January 31, 2012 Posted January 31, 2012 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.
cdob Posted January 31, 2012 Author Posted January 31, 2012 Mystery continues. Can you runtitle debug MCE2005.ISOmap --mem /Inst/XP_Inst.ima (fd0)map --hookwrite --offset=0 (fd0)/setup/EMPTY512.LST \\XP\\ISO\\MCE2005.ISO\r\n;\r\n;cat (fd0)/setup/EMPTY512.LSTpauseI get0x19 bytes written at offset 0x0.\XP\ISO\MCE2005.ISO;; _What's your output?
laddanator Posted February 1, 2012 Posted February 1, 2012 (edited) title debug MCE2005.ISOmap --mem /Inst/XP_Inst.ima (fd0)map --hookwrite --offset=0 (fd0)/setup/EMPTY512.LST \\XP\\ISO\\MCE2005.ISO\r\n;\r\n;cat (fd0)/setup/EMPTY512.LSTpauseI will try this tomorrow. Left all my boot stuff at work. Needed a break tonight! Thanks, cdob. I will report back tomorrow afternoon.By the way, cdob, did you say you had a V6? Edited February 1, 2012 by laddanator
laddanator Posted February 1, 2012 Posted February 1, 2012 (edited) ran the test like this title debug MCE2005.ISOmap --mem /XP/Floppy/XP_Inst.ima (fd0)map --hookwrite --offset=0 (fd0)/setup/EMPTY512.LST \\XP\\ISO\\MCE2005.ISO\r\n;\r\n;cat (fd0)/setup/EMPTY512.LSTpauseand 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.ISMust 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.ISOmap --mem /XP/Floppy/XP_Inst.ima (fd0)map --hookwrite --offset=0 (fd0)/setup/ISOimage.ini \\XP\\ISO\\MCE2005.ISO\r\n;\r\n;cat (fd0)/setup/ISOimage.inpausestill no Owith 0x12 bytes written at offset 0x0 Edited February 1, 2012 by laddanator
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now