Windows 10: Not able to create Windows PE and ramddiskoptions boot entry using bcdedit command

Discus and support Not able to create Windows PE and ramddiskoptions boot entry using bcdedit command in Windows 10 Customization to solve the problem; Hello Friends I want to create Windows PE and ramddiskoptions boot entry using bcdedit, when i am going to create using bcdedit /create... Discussion in 'Windows 10 Customization' started by vikaskala, Aug 20, 2018.

  1. vikaskala Win User

    Not able to create Windows PE and ramddiskoptions boot entry using bcdedit command


    Hello Friends


    I want to create Windows PE and ramddiskoptions boot entry using bcdedit, when i am going to create using bcdedit /create {ramdiskoptions} /d "Ramdisk options" it s shows like an error occured while attempting the specified create operation, the specified entry already created."

    :)
     
    vikaskala, Aug 20, 2018
    #1
  2. OrbitzXT Win User

    Windows 7 & XP Boot Problem

    I did as that said, and was able to get back into Windows 7, but I did not have the option of going into XP. Response two on that page deals with that and says...

    I did all that, upon rebooting Windows XP was listed as an option but selecting it doesn't work. I get a message saying something is missing or corrupt. I'm confused what drive letter I was supposed to use during the quoted method of adding XP support. While in Windows, the drive with XP is labeled as E:, but if I go into Windows setup it says the drive with XP is called C:. I had put E:, so perhaps it was supposed to be C...but while in Windows 7, the Windows 7 drive is called C:.

    My current situation is that XP wouldn't work at all, but 7 would. I decided to reinstall XP again to be in the same situation as before. I'm unsure how to get them both working.
     
    OrbitzXT, Aug 20, 2018
    #2
  3. windows 10 PE boot disk

    what are the steps to creating a Windows 10 PE boot disk

    ***Post moved by the moderator to the appropriate forum topic.***
     
    YvesMorency, Aug 20, 2018
    #3
  4. cereberus Win User

    Not able to create Windows PE and ramddiskoptions boot entry using bcdedit command

    How do I add a second winpe boot entry to a UEFI usb drive


    As you may well know, you can now access multiple partitions on a standard removeable flash drive with version 1703.

    So I decided to try and create a UEFI based usb flash drive with multiple winpe partitions.

    I successfully managed to create an EFI partition and a Winpe partition with Windows 10 15063 installation files - details below. This was a challenge as original source was for hard disks and some of the diskpart commands do not work for removeable drives and there were mistakes in original text.

    I tested the commands I modified below and it booted perfectly.

    Then, I added a second winpe partition but the bit I cannot work out is how to add a boot entry for the second winpe partition. I tried the command file in @Khyi's tutorial but it added the boot entry to the C drive EFI partition, not the one on the usb drive.

    I (rather blindly) tried to repeat some of the bcdedit commands from below but that did not work (due to my lack of knowledge).

    So does anybody have any idea how I could add a second boot entry?

    cheers

    C.


    ----------------------------------------------------------------------------
    This is a modified version of guide in Walkthrough: Boot Windows PE from a UEFI-based Hard Disk starting from step 2.Step 1: Prepare USBInsert usb flash drive whilst running Windows 10 version 1703 and open an admin command prompt and runWarning: contents of flash drive are removed.diskpartlist diskselect disk n (n=usb drive number - be careful you select right drive)cleanconvert GPTrem === 1. Create the EFI system partition ===create partition EFI size=200create partition primary size=5000 (adjust as approprite)Install minitool partition wizard free if not already installed. You need this as as you cannot assign drive letters for removeable drives in disk part but you can with MPW.Using MPW, format EFI partition as FAT32 and give it a drive letter SFormat Windows Partition as FAT32 and give it a drive letter TNote I use drive S for EFI and T for Windows partition - change as appropriateStep 2: Mount Windows PE Iso as a drive in Windows e.g. a Windows 10 15063 installation iso downloaded using Media Creation ToolThis guide assumes the iso is mounted as drive D - change as appropriate Step 3: Copy Windows PE files to the hard diskIn this step, you copy Windows PE resource files to the hard drive from your bootable media. This example assumes the hard drive is blank.At a command prompt, copy the \EFI folder from your bootable media to the EFI folder of the EFI system partition on your hard drive, as in the following example:xcopy d:\EFI\* s:\EFI\* /cherkyfswhere d is the letter of your bootable Windows PE media that contains a Windows PE image.Copy the \Sources folder from your bootable media to the sources folder of the Windows PE partition on your hard drive, as in the following example:xcopy d:\sources\* t:\sources\* /cherkyfsCopy the \Boot\boot.sdi file from your bootable media to the \Sources folder of the Windows PE partition on your hard drive, as in the following example:copy d:\boot\boot.sdi t:\sources\Copy all of the files with an .efi extension from iso to the \EFI\Microsoft\Boot folder. If any ask for permission to overwrite, just select no.copy d:\efi\microsoft\boot*.efi s:\EFI\Microsoft\Boot\*copy d:\efi\boot*.efi s:\EFI\Microsoft\Boot\* copy d:\*.efi s:\EFI\Microsoft\Boot\*Delete the boot configuration data (BCD) file that you copied from your bootable media. Note that you will create a new one in the next step, as in the following example,del s:\EFI\Microsoft\Boot\BCD /fStep 4: Configure the System StoreIn this step, you will create and configure a new system store by using the BCDEdit tool. The system store is a file named BCD that holds information required to load Windows or other boot applications. BCD replaces Boot.ini.BCDEdit is a command-line tool that is designed to manage system stores/Create a new system store, as in the following example:bcdedit -createstore S:\EFI\Microsoft\Boot\BCDCreate new entries in the system store for bootmgr, globalsettings, dbgsettings, ramdiskoptions, and Windows PE.bcdedit -store S:\EFI\Microsoft\Boot\BCD -create {bootmgr} /d "Boot Manager"bcdedit -store S:\EFI\Microsoft\Boot\BCD -create {globalsettings} /d "globalsettings"bcdedit -store S:\EFI\Microsoft\Boot\BCD -create {dbgsettings} /d "debugsettings"bcdedit -store S:\EFI\Microsoft\Boot\BCD -create {ramdiskoptions} /d "ramdiskoptions"bcdedit -store S:\EFI\Microsoft\Boot\BCD -create /d "Windows PE" -application osloaderYou can put all above in a batch file if you like. Note: The last command returns a GUID value for Windows PE store. Cut and paste to a text file.Set the default entry that the boot manager selects when the timeout expires. Substitute <GUID> with the GUID value for the Windows PE store in the following example:bcdedit -store S:\EFI\Microsoft\Boot\BCD /default <GUID from Windows PE store>Do not put above in a batch file as you need to use GUID from above.Run the following commands to configure bootmgr:You can put all of following in a second batch file if you like.bcdedit -store S:\EFI\Microsoft\Boot\BCD -set {bootmgr} device partition=s:bcdedit -store S:\EFI\Microsoft\Boot\BCD -set {bootmgr} path \EFI\Microsoft\Boot\bootmgr.efibcdedit -store S:\EFI\Microsoft\Boot\BCD -set {bootmgr} locale en-usbcdedit -store S:\EFI\Microsoft\Boot\BCD -set {bootmgr} timeout 10Run the following commands to configure the boot loader:bcdedit -store S:\EFI\Microsoft\Boot\BCD -set {Default} device ramdisk=[t:]\sources\boot.wim,{ramdiskoptions}bcdedit -store S:\EFI\Microsoft\Boot\BCD -set {Default} path \windows\system32\winload.efibcdedit -store S:\EFI\Microsoft\Boot\BCD -set {Default} osdevice ramdisk=[t:]\sources\boot.wim,{ramdiskoptions} bcdedit -store S:\EFI\Microsoft\Boot\BCD -set {Default} systemroot \windowsbcdedit -store S:\EFI\Microsoft\Boot\BCD -set {Default} winpe yesbcdedit -store S:\EFI\Microsoft\Boot\BCD -set {Default} nx optinbcdedit -store S:\EFI\Microsoft\Boot\BCD -set {Default} detecthal yesbcdedit -store S:\EFI\Microsoft\Boot\BCD -displayorder {Default} -addfirstRun the following commands to configure dbgsettings:bcdedit -store S:\EFI\Microsoft\Boot\BCD -set {dbgsettings} debugtype Serialbcdedit -store S:\EFI\Microsoft\Boot\BCD -set {dbgsettings} debugport 1bcdedit -store S:\EFI\Microsoft\Boot\BCD -set {dbgsettings} baudrate 115200Run the following commands to configure ramdiskoptions:bcdedit -store S:\EFI\Microsoft\Boot\BCD -set {ramdiskoptions} ramdisksdidevice partition=t: bcdedit -store S:\EFI\Microsoft\Boot\BCD -set {ramdiskoptions} ramdisksdipath \sources\boot.sdiNow check drive boots ok with initial winpe drive added. Set bios to boot from usb drive mode and ensure pc is in UEFI mode.
     
    cereberus, Aug 20, 2018
    #4
Thema:

Not able to create Windows PE and ramddiskoptions boot entry using bcdedit command

Loading...
  1. Not able to create Windows PE and ramddiskoptions boot entry using bcdedit command - Similar Threads - able create ramddiskoptions

  2. Bcdedit /set correct command

    in Windows 10 Gaming
    Bcdedit /set correct command: What is the correct one cuz im a bit confused about it as some say one to another and it just really confused me....i want to disable it and if i did understand it should be True as false will forcesnoop if im right.bcdedit /set hypervisorloadoptions NOFORCESNOOPor bcdedit...
  3. Bcdedit /set correct command

    in Windows 10 Software and Apps
    Bcdedit /set correct command: What is the correct one cuz im a bit confused about it as some say one to another and it just really confused me....i want to disable it and if i did understand it should be True as false will forcesnoop if im right.bcdedit /set hypervisorloadoptions NOFORCESNOOPor bcdedit...
  4. Bcdedit /set correct command

    in Windows 10 BSOD Crashes and Debugging
    Bcdedit /set correct command: What is the correct one cuz im a bit confused about it as some say one to another and it just really confused me....i want to disable it and if i did understand it should be True as false will forcesnoop if im right.bcdedit /set hypervisorloadoptions NOFORCESNOOPor bcdedit...
  5. bcdedit command to create a new boot entry in UEFI setup

    in Windows 10 Gaming
    bcdedit command to create a new boot entry in UEFI setup: Hi,I came across this link boot - How remedy situation with two EFI partitions on one drive? - Super User on another QnA site where the user claims that following command using bcdedit will create a new boot entry in UEFI menu.bcdedit /create /d "NAME" /application...
  6. bcdedit command to create a new boot entry in UEFI setup

    in Windows 10 Software and Apps
    bcdedit command to create a new boot entry in UEFI setup: Hi,I came across this link boot - How remedy situation with two EFI partitions on one drive? - Super User on another QnA site where the user claims that following command using bcdedit will create a new boot entry in UEFI menu.bcdedit /create /d "NAME" /application...
  7. bcdedit command to create a new boot entry in UEFI setup

    in Windows 10 Customization
    bcdedit command to create a new boot entry in UEFI setup: Hi,I came across this link boot - How remedy situation with two EFI partitions on one drive? - Super User on another QnA site where the user claims that following command using bcdedit will create a new boot entry in UEFI menu.bcdedit /create /d "NAME" /application...
  8. Bcdedit commands

    in Windows 10 BSOD Crashes and Debugging
    Bcdedit commands: Recently I saw a video using these commands to fix a game that won't launch and I'm curious as to what these commands do bcdedit -set TESTSIGNING OFF bcdedit -set NOINTEGRITYCHECKS OFF Thanks...
  9. How to use PEBakery to create Windows PE.

    in Windows 10 Software and Apps
    How to use PEBakery to create Windows PE.: I downloaded "Standalone Nightly (x64)" from GitHub - pebakery/pebakery: PEBakery is a script engine that specializes in customizing the Windows Preinstalled Environment (WinPE/WinRE). I ran "PEBakeryLauncher.exe" and got "Unable to find project". What should I do? [img]...
  10. Not able to create Windows PE and ramddiskoptions boot entry using bcdedit command

    in Windows 10 Installation and Upgrade
    Not able to create Windows PE and ramddiskoptions boot entry using bcdedit command: Hello Friends I want to create Windows PE and ramddiskoptions boot entry using bcdedit, when i am going to create using bcdedit /create {ramdiskoptions} /d "Ramdisk options" it s shows like an error occured while attempting the specified create operation, the specified...

Users found this page by searching for:

  1. bcdedit windows pe entry second disc

    ,
  2. Walkthrough: Boot Windows PE from a UEFI-based Hard Disk