How to get bootable VHD into BIOS boot menu?

Page 2 of 5 FirstFirst 1234 ... LastLast

  1. Posts : 4,637
    several
       #11

    I also said the usual setup is to have a separate esp (system ) partition.

    So formatting the os partition ( which you keep calling C ) does not affect the separate system partition.

    Have a look in diskmgmt and you can see the esp partition

    I have colored them for you

    red is where bootmgfw.efi and bcd live

    green is where the operating system lives

    How to get bootable VHD into BIOS boot menu?-diskmgmt.jpg
      My Computer


  2. Posts : 28
    win 10
    Thread Starter
       #12

    OK, got it.
      My Computer

  3.   My Computer


  4. Posts : 28
    win 10
    Thread Starter
       #14

    When talking about removing C, I meant the whole m.2 drive with all 4 partitions. The vhdx will still have them all intact though.
      My Computer


  5. Posts : 4,637
    several
       #15

    if you do that the disk containing the vhdx will need an esp partition with the relevant boot critical files.

    you havent supplied a diskmgmt screenshot. But if the other disk doesnt have an esp, it is quite easy to create one, or just clone the existing esp onto the disk containing the .vhdx file.
      My Computer


  6. Posts : 28
    win 10
    Thread Starter
       #16

    This may be the critical info I need. The disk holding the vhdx does not have a system partition. Only the vhdx on that disk has it. So the vhdx will not boot unless I create a system partition.
      My Computer


  7. Posts : 4,637
    several
       #17

    and you need to create the boot critical files on the esp and the bcd entry to boot the .vhdx.

    The lazy way is create an esp partition on the disk with the .vhdx, then just copy the contents of the esp from your os disk into it

    or clone the esp partition.
      My Computer


  8. Posts : 28
    win 10
    Thread Starter
       #18

    So how come the vhdx currently boots without a system partition on the disk it resides on? Is the answer because it's stored on the C drive system partition currently.
      My Computer


  9. Posts : 4,637
    several
       #19

    So how come the vhdx currently boots without a system partition on the disk it resides on?
    Is this a wind up?

    the bcd entry points at the disk and the partition. So the bootmanager on the os disk can boot something from a different disk.


    Is the answer because it's stored on the C drive system partition currently.
    I dont know what you are asking. What do you mean by it

    according to info you have supplied, the bootmgfw.efi and the bcd store are on the os disk, if that was the question.
      My Computer


  10. Posts : 28
    win 10
    Thread Starter
       #20

    OK, that explains it and why I have to create a system partition on the disk the vhdx resides on if the disk that c drive is on fails. Thanks for your help. I'll let you know how it turns out.

    - - - Updated - - -

    "It" refers to the vhdx boot information.

    - - - Updated - - -

    OK, I plan to use these commands

    diskpart
    list disk
    select disk 3 (or whatever it is)
    create partition EFI
    format quick fs=FAT32
    assign letter=A
    exit
    bcdboot E:\Windows /s A: /f UEFI

    Where E is my mounted VHD letter.
    I think it should work.

    - - - Updated - - -

    Since my H: is the one holding the VHD and it's already partitioned I've read I can use disk management to shrink it but it will shrink from the end of the volume. I believe the system partition I'm trying to create needs to be at the start of the volume. Hmm...how to do that?How to get bootable VHD into BIOS boot menu?-dm2.jpg

    - - - Updated - - -

    After more reading it looks like the efi system partition can reside anywhere says @NavyLCDR. I will try these commands (with my volume numbers) -

    diskpart
    select volume c
    shrink desired=100
    create part EFI
    format fs=fat32 quick
    assign letter=t
    exit
    bcdboot C:\Windows /s T: /f UEFI
    diskpart
    select vol t
    remove letter=t
    exit
    exit
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 21:34.
Find Us




Windows 10 Forums