Topic: If Build model: "normal" then ISO building error  (Read 2949 times)

If Build model: "normal" then ISO building error
« on: June 16, 2013, 03:59:00 PM »

0scar

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jan 2013
  • Posts: 309
         When the option  in Main configuration is:
         Build Model: normal   (no boot.wim)
         
        I get the error Retrieve - Failed to retrieve the file size from: [%BaseDir%\ISO\Win8PE_x86.ISO] - File does not exist
       
       
Code: [Select]
                                             //--]
         [//-- Print size of folder, and after we build CD, then size of ISO]
         Retrieve - Sucessfully retrieved the directory size from: [%BaseDir%\Target\Win8PESE] to variable: [%sizeFolder%] with result: [1588542349]
         StrFormat - converted: [1588542349] to variable: [%sizeFolder%] with result: [1.48 Gb]
         Creating ISO: [%BaseDir%\ISO\Win8PE_x86.ISO] Folder size: 1.48 Gb
         [//--]
         [//- NormalCD or CompatibleCD with the addition of EFI boot if selected for Win8 or Win7x64. Add EFI Boot]
               IF - [yes] is equal to: [yes] evaluated string: [If,%BootEFI%,Equal,Yes,Begin]
               [// Create an image file for either a UEFI-based or BIOS-based]
               IF - [boot/etfsboot.com] is equal to: [boot/etfsboot.com] evaluated string: [If,%BootSect%,Equal,Boot/etfsboot.com,Run,%IsoScript%,NormalCD_EFI]
             Run - Processing section: [NormalCD_EFI] From file: [%BaseDir%\Projects\Win8PESE\Finals\yy_2-iso.script]
                     ShellExecute: [Open] using: [%BaseDir%\Projects\Tools\Win8PESE\X86\oscdimg.exe] with parameters: [-h -m -o -u1 -udfver102 -l"Win8PESE" -bootdata:2#p0,e,b"%BaseDir%\Target\Win8PESE\Boot\etfsboot.com"#pEF,e,b"%BaseDir%\Target\Win8PESE\efi\microsoft\boot\efisys_noprompt.bin" "%BaseDir%\Target\Win8PESE" "%BaseDir%\ISO\Win8PE_x86.ISO"]
             Run - Processed section [NormalCD_EFI] in file: [%BaseDir%\Projects\Win8PESE\Finals\yy_2-iso.script]
                     IF - [boot/etfsboot.com] is equal to: [boot/etfsboot.com] evaluated string: [If,Not,%BootSect%,Equal,Boot/etfsboot.com,Begin]
                     [// No IsoLinux support with Oscdimg!]
                     [If,Not,%BootSector%,Equal,IsoLinux,Run,%IsoScript%,CompatibleCD_EFI]
                           [Else,Begin]
                           [// Workaround with grub4dos (default 0|timeout 0|title isolinux|chainloader /isolinux/isolinux.bin) after user question.]
                                 [If,%CheckB_EFIIsoLinux%,Equal,true,Begin]
                                 [Run,%IsoScript%,Grub4DosMGRStartIsolinux]
                                 [Set,%BootSect%,Boot/grldr]
                                 [Set,%OscdimgBootSect%,%TargetImage%\Boot\grldr]
                                 [Run,%IsoScript%,CompatibleCD_EFI]
                           [End]
                                 [Else,Begin]
                                 [Set,%BootEFI%,Noo]
                                 [Call,Echo,"No IsoLinux support (Oscdimg!) for now to create an image file for either a UEFI-based or BIOS-based. The ISO is created only for legacy BIOS-based.",Warn]
                                 [Run,%IsoScript%,CompatibleCD]
                           [End]
                     [End]
               [End]
         [End]
               ELSE - [Begin]
               [// Create an image file for legacy BIOS-based]
               [If,%BootSect%,Equal,Boot/etfsboot.com,Run,%IsoScript%,NormalCD]
               [If,Not,%BootSect%,Equal,Boot/etfsboot.com,Run,%IsoScript%,CompatibleCD]
         [End]
         [//]
        Retrieve - Failed to retrieve the file size from: [%BaseDir%\ISO\Win8PE_x86.ISO] - File does not exist:
        Halt
 Run - Processed section [ProcessISO] in file: [%BaseDir%\Projects\Win8PESE\Finals\yy_2-iso.script]
   Script time: 2 seconds and 390 milliseconds

  Finished processing script: Create ISO
 
  As a workaround to create the ISO I had added a not here (yy_2-iso.cript) and works:
   //- NormalCD or CompatibleCD with the addition of EFI boot if selected for Win8 or Win7x64. Add EFI Boot
If,not,%BootEFI%,Equal,Yes,Begin

The box to unmark Add standar Efi boot...  seems not to work...

Re: If Build model: "normal" then ISO building error
« Reply #1 on: June 17, 2013, 01:28:51 PM »

ChrisR

  • XPE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 3494
Hi Oscar,

Thank you for having tested the normal build model  :thumbsup:

The ISO was created with UDF file systems and the error is:
Unicode filename "\Windows\WinSxS\Manifests\x86_microsoft.windows.c..-controls.resources_6595b64144ccf1df_5.82.9200.16384_sr-..-cs_5bf3106532ac6f3d.manifest" is longer than 110 characters

I removed UDF preserving only ISO 9660 with long file names and allowing lowercase filenames as for the others build model.
the ISO creation goes well, however, I do not have success with flat files at startup, it is not going to the end !!!
I do not remember if it has operated previously :embarrassed:

Re: If Build model: "normal" then ISO building error
« Reply #2 on: June 18, 2013, 04:39:01 PM »

0scar

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jan 2013
  • Posts: 309
Yes,  the booting never ends.
Normal build worked for me long ago and win7pe_se

Re: If Build model: "normal" then ISO building error
« Reply #3 on: June 20, 2013, 06:24:44 PM »

ChrisR

  • XPE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 3494
I retried the normal build on a real computer, and this time it went to the end.
However, starting with flat files is long, very long :suda:
So I will keep the option even if it does not seem very useful.

 

Powered by EzPortal