[Win7PE_SE]4-iso.script
#1
Posted 14 November 2011 - 02:31 PM
With that new script v.25 it is no longer possible to get a multiboot project. Grub4Dos is selected in main configuration but is not integrated in the final iso, win7pe starts directly. Going back to the old version v.22 and everything is fine again
#2
Posted 14 November 2011 - 04:37 PM
Scott
#3
Posted 14 November 2011 - 04:49 PM
http://www.fileden.c...Nov-13_18-41.7z
http://www.fileden.c...Nov-14_15-24.7z
History of the script
History023=Lancelot new IniVariables added
History024=Lancelot CheckBootMGR removed (already exists at mainconfig)
History025=Lancelot AutoBootMGR replaced // PressAnykey enhanced
#4
Posted 14 November 2011 - 06:01 PM
But I had v22, and can go get v25, so will look at them too...
#5
Posted 14 November 2011 - 06:06 PM
#6
Posted 14 November 2011 - 06:11 PM
Also, did you update JUST this script - OR all the scripts...I noticed a lot of things (scripts) were updated... HOPEFULLY, they aren't updating the server until all the parts are working together...
I am noticing a lot of changes to the way they try to detect if it is supposed to be GRUB4DOS or "standard"...
#7
Posted 14 November 2011 - 06:30 PM
//-- // Based on selected boot manager, go run the proper stuff... //-- //BootManager=Normal -> bootsect.bin -- if not exists --> etfsboot.com If,%BootSector%,Equal,bootsect.bin,Begin If,ExistFile,%targetdir%bootsect.bin,Begin FileRename,%targetdir%bootsect.bin,%targetdir%bootsect.tmp FileRename,%targetdir%bootsect.tmp,%targetdir%bootsect.bin Set,%BootSect%,bootsect.bin End End Else,Set,%BootSector%,etfsboot.com
In this, Lancelot tried to move this processing from a section of the script to in-line code, BUT - ot sure at all it is right...In any case, it totally screws up the bootsector variable...
I think it should be...
//-- // Based on selected boot manager, go run the proper stuff... //-- //BootManager=Normal -> bootsect.bin -- if not exists --> etfsboot.com If,%BuildModel%,Equal,Normal,Begin If,ExistFile,%targetdir%bootsect.bin,Begin FileRename,%targetdir%bootsect.bin,%targetdir%bootsect.tmp FileRename,%targetdir%bootsect.tmp,%targetdir%bootsect.bin Set,%BootSect%,bootsect.bin End Else,Set,%BootSector%,etfsboot.com End //
This is at about line 130...
#8
Posted 14 November 2011 - 06:48 PM
#9
Posted 14 November 2011 - 06:53 PM
#10
Posted 14 November 2011 - 07:01 PM
OT , just for my personal knowledge, can you explain to me what these two lines actually do?
FileRename,%targetdir%bootsect.bin,%targetdir%bootsect.tmp FileRename,%targetdir%bootsect.tmp,%targetdir%bootsect.bin
Wonko
#11
Posted 14 November 2011 - 08:25 PM
- pscEx likes this
#12
Posted 14 November 2011 - 08:33 PM
If i remember correctly, that is used to make sure the filename has certain letter casing.
Peter
#13
Posted 14 November 2011 - 08:34 PM
#14
Posted 14 November 2011 - 08:46 PM
So the FileRename function accepts as input "case INsensitive" BUT outputs "CaSe SeNsiTivE"?If i remember correctly, that is used to make sure the filename has certain letter casing.
Thanks.
Maybe this piece of info could be specified here:
http://code.google.c...wiki/filerename
Wonko
#15
Posted 14 November 2011 - 10:16 PM
What? We should specify, how windows works?So the FileRename function accepts as input "case INsensitive" BUT outputs "CaSe SeNsiTivE"?
Thanks.
Maybe this piece of info could be specified here:
What are you doing reading scripts anyway, if you don't even know basic windows functionality?
#16
Posted 15 November 2011 - 01:29 AM
Windows will create a file with whatever case you use - i.e. creation is "case SenSiTiVe", but lookups are always Insensitive as MedEvil stated...yes, that *IS* the way windows works...But tools like Grub4dos, even with it's dos-ness added to basic "grub" is still insiting on lookups that are sensitive to the CaSe used!
Oh well...
Scott
#17
Posted 15 November 2011 - 08:28 AM
It's not really grub4dos, which is CaSe SeNsItiVe ONLY on CDFS.But tools like Grub4dos, even with it's dos-ness added to basic "grub" is still insiting on lookups that are sensitive to the CaSe used!
BTW, ad example Windows 2K/XP/2003 (cannot say later) Install disks are also CaSe Sensitive.
When making a BartPE, which some of you may be familiar with, in some cases the little paraglider's tool toupper.exe is used:
http://www.paraglide...ies/toupper.htm
And to cite a known program, Winimage in some cases makes strange things inside images, Capitalizing First Letter of a filename..
Wonko
#18
Posted 15 November 2011 - 01:28 PM
Just the files named in setupldr are case sensitive. Because the names arn't treated as a row of letters, but as a row of charcters.BTW, ad example Windows 2K/XP/2003 (cannot say later) Install disks are also CaSe Sensitive.
Just hexedit setupldr to reflect your favorite casing.
#19
Posted 15 November 2011 - 02:00 PM
Yes/No.Just the files named in setupldr are case sensitive. Because the names arn't treated as a row of letters, but as a row of charcters.
Just hexedit setupldr to reflect your favorite casing.
http://www.911cd.net...showtopic=11192
http://www.911cd.net...showtopic=16400
Wonko
#20
Posted 15 November 2011 - 04:37 PM
Both lead to threads, where people solved their problems uppercasing everything. That's like leveling a single building with an atom bomb!
If that's the way you roll, great do it! Just don't tell the rest of the world, that that's the only way to do it.
I have for years a nice PE with my favorite casing. First letter uppercase, rest lower case, extension all lower case.
Took some hexediting, but it boots fine.
#21
Posted 15 November 2011 - 06:16 PM
Never pretended that this is the "only" solution or the "right" solution, sorry if I gave you this impression.If that's the way you roll, great do it! Just don't tell the rest of the world, that that's the only way to do it.
Anyway, the given links are not about uppercasing "everything", but just a bunch of files, which I presume are the same or mostly the same you change by hex-editing.
Only pointing out how things are "strange" when using CDFS and some files (both grub4dos and MS) or some tools (like mkisofs in the various builds)...
BTW, if I remember right original MS discs also used, besides all upper case 8.3 file format...
Good for you.I have for years a nice PE with my favorite casing. First letter uppercase, rest lower case, extension all lower case.
Maybe if you would detail your solution, that will be an alternative that a lot of peeps still playing with PE 1.x builds will gladly adopt.
Wonko
#22
Posted 15 November 2011 - 06:54 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users