Results 1 to 5 of 5
  1. #1
    2 Star Lounger
    Join Date
    May 2013
    Posts
    126
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Create the boot.esd file and modify two BCD files

    Hi

    I'm trying to create an ISO of Windows 10 with the boot.esd and install.esd file from a decrypted esd file using only Windows ADK 10.

    How do I create the boot.esd file and modify appropriately the two BCD (BIOS and UEFI)?

    Thanks

    Bye

  2. #2
    Super Moderator bbearren's Avatar
    Join Date
    Dec 2009
    Location
    Polk County, Florida
    Posts
    3,760
    Thanks
    26
    Thanked 424 Times in 338 Posts
    Create a fresh drive image before making system changes, in case you need to start over!

    "The problem is not the problem. The problem is your attitude about the problem. Savvy?"—Captain Jack Sparrow "When you're troubleshooting, start with the simple and proceed to the complex."—M.O. Johns "Experience is what you get when you're looking for something else."—Sir Thomas Robert Deware.
    Unleash Windows

  3. #3
    2 Star Lounger
    Join Date
    May 2013
    Posts
    126
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by bbearren View Post
    Too easy and, then, the Microsoft isos use the boot.wim and install.wim files.

    Thanks

    Bye
    Last edited by balubeto; 2015-10-19 at 06:14.

  4. #4
    2 Star Lounger
    Join Date
    May 2013
    Posts
    126
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I upgraded Windows 10 Enterprise build 10240 64 bit to build 10565 through Windows Update (Fast ring), I installed Windows ADK 10 and I created the procedure

    Code:
    1) md "<Windows_Files_Path>"
    
    2) md "<iso_Path>"
    
    3) md "<esd_File_Path>"
    
    4) move "<Primary_partition_letter>:\$Windows.~BT\sources\install.esd" "<esd_File_Path>\"
    
    5) dism /Get-WimInfo /WimFile:"<esd_File_Path>\install.esd"
    
    6) dism /Apply-Image /ImageFile:"<esd_File_Path>\install.esd" /Index:1 /ApplyDir:"<Windows_Files_Path>"
    
    7) dism /Export-Image /SourceImageFile
    :"<esd_File_Path>\install.esd" /SourceIndex
    :2 /DestinationImageFile
    :"<Windows_Files_Path>\sources\boot.esd" /Compress:Recovery
    
    8) dism /Export-image /SourceImageFile:"<esd_File_Path>\install.esd" /SourceIndex:3 /DestinationImageFile:"<Windows_Files_Path>\sources\boot.esd" /Compress:Recovery /Bootable
    
    9) dism /Export-image /SourceImageFile:"<esd_File_Path>\install.esd" /SourceIndex:<Index_Number> /DestinationImageFile:"<Windows_Files_Path>\sources\install.esd" /Compress:Recovery
    
    10) BCDedit /store "<Windows_Files_Path>\boot\bcd" /set {default} osdevice ramdisk=[boot]\sources\boot.esd,{7619dcc8-fafe-11d9-b411-000476eba25f}
    
    11) BCDedit /store "<Windows_Files_Path>\boot\bcd" /set {default} device ramdisk=[boot]\sources\boot.esd,{7619dcc8-fafe-11d9-b411-000476eba25f}
    
    12) del /AH "<Windows_Files_Path>\boot\bcd.LOG*"
    
    13) BCDedit /store "<Windows_Files_Path>\efi\microsoft\boot\bcd" /set {default} osdevice ramdisk=[boot]\sources\boot.esd,{7619dcc8-fafe-11d9-b411-000476eba25f}
    
    14) BCDedit /store "<Windows_Files_Path>\efi\microsoft\boot\bcd" /set {default} device ramdisk=[boot]\sources\boot.esd,{7619dcc8-fafe-11d9-b411-000476eba25f}
    
    15) del /AH "<Windows_Files_Path>\efi\microsoft\boot\bcd\bcd.LOG*"
    
    16) oscdimg -o -u2 -udfver102 -l"<Label_Name>" -tmm/dd/yyyy,hh:mm:ss -bootdata:2#p0,e,b"<Windows_Files_Path>\boot\etfsboot.com"#pEF,e,b"<Windows_Files_Path>\efi\microsoft\boot\efisys.bin"
                "<Windows_Files_Path>" "<iso_Path>\<iso_Name>.iso"
    
    17) isoburn /Q <Drive_Letter>: "<iso_Path>\<iso_Name>.iso"
    When, however, I will boot it on a computer that has UEFI, I get this error:



    The curious thing is that, even if I will boot it on a computer that has the BIOS, I get the same error. Why?

    but I can not understand where I'm wrong.

    You have some idea how to fix it?

    Thanks

    Bye

  5. #5
    Super Moderator bbearren's Avatar
    Join Date
    Dec 2009
    Location
    Polk County, Florida
    Posts
    3,760
    Thanks
    26
    Thanked 424 Times in 338 Posts
    I have no idea what you're trying to accomplish, and as a consequence I don't have any idea of how to fix it.
    Create a fresh drive image before making system changes, in case you need to start over!

    "The problem is not the problem. The problem is your attitude about the problem. Savvy?"—Captain Jack Sparrow "When you're troubleshooting, start with the simple and proceed to the complex."—M.O. Johns "Experience is what you get when you're looking for something else."—Sir Thomas Robert Deware.
    Unleash Windows

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •