Hirdetés

Új hozzászólás Aktív témák

  • krealon

    veterán

    válasz tordaitibi #158262 üzenetére

    Letesztelni nem tudom, de elég pontosnak tűnik ez a leírás
    (Az első 3 pont biztosan jó)

    https://www.google.com/search?q=bcdedit+add+ubuntu+to+windows+10

    To add Ubuntu to the Windows 10 bootloader using bcdedit, you'll need to first copy the existing Windows boot entry, then modify the copy to point to the Ubuntu bootloader file. After that, you'll need to add the new entry to the boot menu and set the display order.
    Here's a step-by-step guide:

    1. Open Command Prompt as Administrator: Right-click on the Start button and select "Command Prompt (Admin)".

    2. List existing BCD entries: Use the command
    bcdedit /enum firmware
    to see all entries related to UEFI. This will list all entries, including the Windows Boot Manager (usually labeled {bootmgr}).

    3. Copy the Windows Boot Manager entry: Use the command
    bcdedit /copy {bootmgr} /d "Ubuntu"
    . This will create a new entry with the specified description. Replace {bootmgr} with the actual identifier of your Windows Boot Manager, if it's different.

    4. Set the path to Ubuntu's bootloader: Use the command
    bcdedit /set {new_guid} path "\\EFI\\ubuntu\\shimx64.efi"
    . Replace {new_guid} with the unique identifier generated in step 3. Ensure the path is correct. If using a different bootloader (like grubx64.efi), adjust the path accordingly.

    5. Add the new entry to the display order: Use the command
    bcdedit /displayorder {new_guid} /addlast
    . This adds the new entry to the end of the boot menu.

    6. Set the boot menu to be displayed: Use the command
    bcdedit /set {bootmgr} displaybootmenu Yes
    . This ensures the boot menu is displayed on startup.

    Important Notes: Make sure you have a bootable USB drive or DVD of Ubuntu installed, and that you can boot into it. If you encounter issues, try disabling Secure Boot in your BIOS settings. You may need to consult your specific Ubuntu version documentation for the correct bootloader file path. If you want to boot into Ubuntu directly, you may need to adjust the boot order in your BIOS.

    By following these steps, you can add Ubuntu to your Windows 10 bootloader using bcdedit and create a dual-boot environment.

    AI responses may include mistakes.

Új hozzászólás Aktív témák