Topic: Query on "Add standard EFI Boot for Win8PE or Win7PE x64"  (Read 37282 times)

Re: Query on "Add standard EFI Boot for Win8PE or Win7PE x64"
« Reply #40 on: February 01, 2014, 07:07:33 PM »

cdob

  • Code Baker
  • Jr. Chef
  • **
  • Date Registered: Feb 2014
  • Posts: 44
I saw that on the latest versions of mkisofs there is also the switch "-eltorito-platform efi".
Yes, this is required to satisfy EFI specification.
Without this, the CD may boot by change at some machines and will fail at others.
It's highly reommended to set eltorito-platform.
This was integrated at 3.01a05

mkisofs with storage optimization: Cygwin and MinGW win32 binaries
currently cdrtools-3.01.a22-bootcd.ru
http cdob reboot pro/


Another approach
Back then at BartPE aec used a default boot sector with a renamed grldr file
http  www 911cd net/forums/index.php?showtopic=19124
oscdimg, etfsboot.com and renamed grldr may work too, not tested.

Re: Query on "Add standard EFI Boot for Win8PE or Win7PE x64"
« Reply #41 on: February 02, 2014, 02:01:07 PM »

SIW2

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jul 2012
  • Posts: 197
Thanks for letting us know.  :thumbsup:

I have been able to decipher your cryptic link. Where can we use the command in this new version?

Does it go like this:

mkisofs.exe -iso-level 4 -volid "SIW2" -b BOOT/ETFSBOOT.COM -no-emul-boot -boot-load-size 8 -eltorito-platform efi -alt-boot -b BOOT/EFISYS.BIN -no-emul-boot -boot-load-size 8
« Last Edit: February 02, 2014, 02:13:34 PM by SIW2 »

Re: Query on "Add standard EFI Boot for Win8PE or Win7PE x64"
« Reply #42 on: February 03, 2014, 01:19:45 PM »

ChrisR

  • XPE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 3494
Thanks a lot cdob  :thumbsup:

Have you seen advantages or disadvantages between a13 or a22 and cygwin/mingw versions.
Back from weekend, I have not tested them, I'll take the latest mingw version surely.

For the command line for x64 arch and grldr/efisys.bin,  I think putting this :
Code: [Select]
mkisofs.exe -v -iso-level 4 -l -J -joliet-long -R -volid #$Win8PESE" -A "MKISOFS-GRLDR/EFI" -b "Boot/grldr" -no-emul-boot -boot-load-size 4 -boot-info-table -eltorito-alt-boot -eltorito-platform efi -b efi/microsoft/boot/efisys.bin -no-emul-boot -duplicates-once -o "D:\...\ÌSO\Win8PESE_x86.iso" "D:\...\ISO\WIM"

With an option mkisofs or oscdimg (+Larsh's bootloadsize patch reply #34) on plugin.

You really know better  :thumbsup:, if you have any advice, I will take into account, of course  :wink:
« Last Edit: February 03, 2014, 01:20:12 PM by ChrisR »

Re: Query on "Add standard EFI Boot for Win8PE or Win7PE x64"
« Reply #43 on: February 03, 2014, 10:23:44 PM »

cdob

  • Code Baker
  • Jr. Chef
  • **
  • Date Registered: Feb 2014
  • Posts: 44
This results in oscdimg automatically setting boot-load-size in the resulting iso image to the whole size of the grldr file, instead of only 4 sectors like mkisofs. This apparently leads to some BIOSes refusing to boot from the CD.
Which versions did you used?

At testing againg I get: osdimg.exe has been changed:
Windows 7 : x86 2.55 sets the whole file
Windows 8 : x86 2.56 sets 4 sectors

Windows 8 PE x64; oscdimg x86 2.56
LBA 530  El Torito load 4 sectors, a copy from grldr, following the whole file
LBA 664  El Torito load 1 sector, first sector copy from efisys.bin, following the whole file


I have been able to decipher your cryptic link.
Sorry, as a newbie I'm not allowed to post a link.

One idea was: copy Boot\grldr Boot\bootfix.bin and use etfsboot.com
eftsboot.com loads grub4dos that way.
Almost all manufacturer has to test etfsboot.com. Should be the most generic approach.

Code: [Select]
".\Projects\Tools\Win8PESE\X86\oscdimg.exe" -h -m -o -u1 -udfver102 -l"Win8PESE" -bootdata:2#p0,e,b".\ISO\WIM\Boot\etfsboot.com"#pEF,e,b".\ISO\WIM\efi\microsoft\boot\efisys.bin" ".\ISO\WIM" ".\ISO\Win8PE_x64_etfsboot.ISO"

Have you seen advantages or disadvantages between a13 or a22 and cygwin/mingw versions.
Use the latest cdrtools version always, expect trouble once every ten years following this.
Cygwin if you use special features not supported in mingw: e.g. read hard links form hard disk
Read: the mingw version works fine here.

Code: [Select]
mkisofs.exe -iso-level 4 -udf -r -force-uppercase -duplicates-once -volid "Win8PESE" -hide boot.catalog -hide-udf boot.catalog -b "Boot/grldr" -no-emul-boot -boot-load-size 4 -eltorito-platform efi -no-emul-boot -b efi/microsoft/boot/efisys.bin -o Win8PE_x64_mkisofs.ISO WIM

Quote
You really know better  :thumbsup:, if you have any advice, I will take into account, of course  :wink:
Well, at a multi boot environment, some *nix parts may require rock ridge.
This is very seldom nowadays. No default included OtherOS relate to this.
Ignore this, no end user will require this.

I'm used to mkisofs since the last millenium and in favour to this.
Contrary as for mainstream: hardware manufacturer test a windows DVD, hence oscdimg nowadays.
Use oscdimg too.

Try oscdimg 2.56 x86 and x64. Use this at all Win?PE.

Re: Query on "Add standard EFI Boot for Win8PE or Win7PE x64"
« Reply #44 on: February 04, 2014, 01:46:23 AM »

Galapo

  • Gena Baker
  • Grand Chef
  • *****
  • Location: Australia
  • Date Registered: Sep 2010
  • Posts: 2207
Sorry, as a newbie I'm not allowed to post a link.

I can fix that. :wink:

Should hopefully be OK for you now.

And welcome! :great:

Regards,
Galapo.

Re: Query on "Add standard EFI Boot for Win8PE or Win7PE x64"
« Reply #45 on: February 04, 2014, 10:20:32 AM »

ChrisR

  • XPE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 3494
I did some tests this morning with mkisofs 3.01.a22 mingw version and your cmd line.
Everything seems to work perfectly: start in BIOS, EFI. duplicates-once, ISO > 4Gb (tested 6.8 Gb), Load ISO with long filenames...  :thumbsup:
 
I have the same command line for oscdimg to build the ISO BIOS/EFI in WinXPE.
It also works very well except for booting ISO with long file names from g4d. With -u1, the ISO 9660 file system is written by using DOS-compatible 8.3 file names.
About oscdimg version, Win7PE previously used version 2.55 from WAIK for Win7, since 2013-10-02, it uses ADK for Win8 with oscdimg 2.56 inside like the others PE.

I'll put the choice, to create the ISO between mkisofs (with your switches) or oscdimg in the next version.
Thank you again  :thumbsup:

That's done , installed, welcome back Galapo  :thumbsup:

Re: Query on "Add standard EFI Boot for Win8PE or Win7PE x64"
« Reply #46 on: February 04, 2014, 12:29:55 PM »

Galapo

  • Gena Baker
  • Grand Chef
  • *****
  • Location: Australia
  • Date Registered: Sep 2010
  • Posts: 2207
welcome back Galapo  :thumbsup:

Thanks!

My family and I have now moved across the country and are getting settled. My new work has started up, and I am extremely taken up with it. My hobby is still a hobby, but I just won't have as much time is all.

Regards,
Galapo.

Re: Query on "Add standard EFI Boot for Win8PE or Win7PE x64"
« Reply #47 on: February 04, 2014, 05:44:30 PM »

SIW2

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jul 2012
  • Posts: 197
Working well here, too. Thanks cdob. :grin:

How would we add more, is  -eltorito-alt-boot still valid?

Quote
-eltorito-alt-boot
          Start with a new set of "El  Torito"  boot  parameters.
          This  allows  to have more than one El Torito boot on a
          CD.  A maximum of 63 El Torito boot entries may be  put
          on a single CD
« Last Edit: February 04, 2014, 05:47:03 PM by SIW2 »

Re: Query on "Add standard EFI Boot for Win8PE or Win7PE x64"
« Reply #48 on: February 04, 2014, 11:25:44 PM »

cdob

  • Code Baker
  • Jr. Chef
  • **
  • Date Registered: Feb 2014
  • Posts: 44
And welcome! :great:
Thanks for the hearty welcome.
Took some time to join. I'm at primarily at XP/BartPE still, three month to go so far.

ISO > 4Gb (tested 6.8 Gb)
Be careful, there is a 4Gb limit at BIOS, setupldr.bin, may be bootmgr too.
Good: core boot files are at folder \Boot\
mkisofs adds files at OS sorting: Given a NTFS partition, core boot files are sorted in front of media
That's within the first 4GB. Add a big file at end of alphabet: e.g. \zImage\

In addition there is mkiosfs -sort.
However I'll ignore this currently, will be solved if a end user report a issue in real life.
 
I have the same command line for oscdimg to build the ISO BIOS/EFI in WinXPE.
It also works very well except for booting ISO with long file names from g4d.
With -u1, the ISO 9660 file system is written by using DOS-compatible 8.3 file names.
Thanks for the reminder. Yes osdimg limits the names.

How would we add more, is  -eltorito-alt-boot still valid?
It's valid within El Torito and UEFI specifation. But BIOS/UEFI manufacturer dosn't support this anymore.
http://nu2.nu/bootcd/#howboot
I've used a "Multiple boot image configuration" at a Pentium II with a SCSI controller last time. Haven't recogniced this later.

El Torito EFI multi boot did failed at VMware Player http://reboot.pro/topic/18461-multi-boot-cd-for-efi-systems-possible/#entry171464

Estimation: a WinPE78PE compatible hardware dosn't support El Torito multi boot.

Re: Query on "Add standard EFI Boot for Win8PE or Win7PE x64"
« Reply #49 on: February 05, 2014, 07:13:16 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Welcome cdob  :great:,

Took some time to join. I'm at primarily at XP/BartPE still, three month to go so far.
:thumbsup:
I freshly packed up all critical updates ,
 Also found http://xdot.tk/updates.html (UDC tool have ready links to download...) (not used, I like doing myself, but I found very it very nice)

Clock ticking  :wink:

See You
:turtle:

Re: Query on "Add standard EFI Boot for Win8PE or Win7PE x64"
« Reply #50 on: February 06, 2014, 01:30:12 AM »

ChrisR

  • XPE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 3494
Also found http://xdot.tk/updates.html (UDC tool have ready links to download...) (not used, I like doing myself, but I found very it very nice)
:thumbsup: unfortunately no SP4 planned before the end of the supports :sad:

Re: Query on "Add standard EFI Boot for Win8PE or Win7PE x64"
« Reply #51 on: February 06, 2014, 02:11:11 AM »

ChrisR

  • XPE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 3494
I have put  mkisofs 3.01.a22 mingw version on SE server and I've updated the Create ISO plugin to use mkISOfs for either a BIOS-based or UEFI-based computer. In addition to oscdimg  :thumbsup:

Following cdob info, here are a small summary of the command lines used in WinXPESE, if I did not make any mistakes

Bios & UEFI with oscdimg (etfsboot.com or grldr and efisys.bin or efisys_noprompt.bin),  for x64 build:
Code: [Select]
oscdimg.exe" -h -m -o -u1 -udfver102 -l"Win8PESE" -bootdata:2#p0,e,b".\ISO\WIM\Boot\etfsboot.com"#pEF,e,b".\ISO\WIM\efi\microsoft\boot\efisys.bin" ".\ISO\WIM" ".\ISO\Win8PE_x64.ISO"

Bios & UEFI with mkisofs (grldr and efisys.bin or efisys_noprompt.bin),  for x64 build:
Code: [Select]
mkisofs.exe -iso-level 4 -udf -r -force-uppercase -duplicates-once -volid "Win8PESE" -hide boot.catalog -hide-udf boot.catalog -b "Boot/grldr" -no-emul-boot -boot-load-size 4
 -eltorito-platform efi -no-emul-boot -b "efi/microsoft/boot/efisys.bin" -o ".\ISO\Win8PE_x64.ISO" ".\ISO\WIM"


Bios & UEFI with mkisofs (etfsboot.com and efisys.bin or efisys_noprompt.bin),  for x64 build:
Code: [Select]
mkisofs.exe -iso-level 4 -udf -r -force-uppercase -duplicates-once -volid "Win8PESE" -hide boot.catalog -hide-udf boot.catalog -b "Boot/etfsboot.com" -no-emul-boot -boot-load-size 8
 -eltorito-platform efi -no-emul-boot -b "efi/microsoft/boot/efisys.bin" -o ".\ISO\Win8PE_x64.ISO" ".\ISO\WIM"


Bios & UEFI with mkisofs (isolinux.bin and efisys.bin or efisys_noprompt.bin),  for x64 build:
Code: [Select]
mkisofs.exe -iso-level 4 -udf -r -force-uppercase -duplicates-once -volid "Win8PESE" -hide boot.catalog -hide-udf boot.catalog -b "isolinux/isolinux.bin" -no-emul-boot -boot-load-size 4 -boot-info-table
 -eltorito-platform efi -no-emul-boot -b "efi/microsoft/boot/efisys.bin" -o ".\ISO\Win8PE_x64.ISO" ".\ISO\WIM



Bios with oscdimg (etfsboot.com or grldr),  for x86 build:
Code: [Select]
oscdimg.exe" -h -m -o -u1 -udfver102 -l"Win8PESE" -p0 -e  -b".\ISO\WIM\Boot\etfsboot.com" ".\ISO\WIM" ".\ISO\Win8PE_x86.ISO"

Bios with mkisofs (grldr),  for x86 build:
Code: [Select]
mkisofs.exe -iso-level 4 -udf -r -force-uppercase -duplicates-once -volid "Win8PESE" -hide boot.catalog -hide-udf boot.catalog -b "Boot/grldr" -no-emul-boot -boot-load-size 4  -o ".\ISO\Win8PE_x86.ISO" ".\ISO\WIM"

Bios with mkisofs (etfsboot.com),  for x86 build:
Code: [Select]
mkisofs.exe -iso-level 4 -udf -r -force-uppercase -duplicates-once -volid "Win8PESE" -hide boot.catalog -hide-udf boot.catalog -b "Boot/etfsboot.com" -no-emul-boot -boot-load-size 8  -o ".\ISO\Win8PE_x86.ISO" ".\ISO\WIM"

Bios with mkisofs (isolinux.bin),  for x86 build:
Code: [Select]
mkisofs.exe -iso-level 4 -udf -r -force-uppercase -duplicates-once -volid "Win8PESE" -hide boot.catalog -hide-udf boot.catalog -b "isolinux/isolinux.bin" -no-emul-boot -boot-load-size 4 -boot-info-table -o ".\ISO\Win8PE_x86.ISO" ".\ISO\WIM

Edit: mkisofs with etfsboot.com needs -boot-load-size 8

:cheers:
« Last Edit: February 06, 2014, 01:36:58 PM by ChrisR »

 

Powered by EzPortal