Install second os on a blank internal hard drive using UEFI

Page 1 of 3 123 LastLast

  1. Posts : 57
    Windows 10
       #1

    Install second os on a blank internal hard drive using UEFI


    I have a computer with Windows 10 home.
    I have a new blank hard drive that I want to install Windows 7 pro and upgrade it to Windows 10 pro ( I have the software for both).
    My new system has the UEFI mode.
    What is the easiest way to install the second OPERATING SYSTEM on the extra blank drive so that I can boot from either one with no problems?
    I installed multiple operating systems several times (using EASYBCD) before the UEFI came into existence.

    Any help is greatly appreciated.
      My Computer


  2. Posts : 18,432
    Windows 11 Pro
       #2

    The most recommended answer here is to simply disconnect all the other drives in the system. Pull the power cables off them. After you get the OS installed on the drive, you can create a dual/multi-boot system using the bcdboot command:

    Code:
    C:\WINDOWS\system32>bcdboot /?
    
    Bcdboot - Bcd boot file creation and repair tool.
    
    The bcdboot.exe command-line tool is used to copy critical boot files to the
    system partition and to create a new system BCD store.
    
    bcdboot <source> [/l <locale>] [/s <volume-letter> [/f <firmware>]] [/v]
                     [/vbcd] [/m [{OS Loader ID}]] [/addlast] [/p] [/c]
    
      source     Specifies the location of the windows system root.
    
      /l         Specifies an optional locale parameter to use when
                 initializing the BCD store. The default is US English.
    
      /s         Specifies an optional volume letter parameter to designate
                 the target system partition where boot environment files are
                 copied.  The default is the system partition identified by
                 the firmware.
    
      /v         Enables verbose mode.
    
      /vbcd      Enables BCD logging.
    
      /m         If an OS loader GUID is provided, this option merges the
                 given loader object with the system template to produce a
                 bootable entry. Otherwise, only global objects are merged.
    
      /d         Specifies that the existing default windows boot entry
                 should be preserved.
    
      /f         Used with the /s command, specifies the firmware type of the
                 target system partition. Options for <firmware> are 'UEFI',
                 'BIOS', or 'ALL'.
    
      /addlast   Specifies that the windows boot manager firmware entry
                 should be added last. The default behavior is to add it
                 first.
    
      /bcdclean  Clean the BCD Store. By default, simply removes any duplicate
                 entries in the BCD. Can be followed by 'full'. In this case,
                 each entry is scanned. If the corresponding device for that entry
                 does not exist, the entry is deleted.
    
      /p         Specifies that the windows boot manager firmware entry
                 position should be preserved. If entry does not exist,
                 new entry will be added in the first position.
    
      /c         Specifies that any existing objects described by the template
                 should not be migrated.
    
    Examples: bcdboot c:\windows /l en-us
              bcdboot c:\windows /s h:
              bcdboot c:\windows /s h: /f UEFI
              bcdboot c:\windows /m {d58d10c6-df53-11dc-878f-00064f4f4e08}
              bcdboot c:\windows /d /addlast
              bcdboot c:\windows /p
      My Computer


  3. Posts : 6,319
    Windows 11 Pro - Windows 7 HP - Lubuntu
       #3

    You don't need to install Win 7 pro than update to Win 10 pro. You can install Win 10 Pro and use the Win 7 pro key.

    Windows can be installed in two ways: Legacy-MBR or UEFI-GPT
    To install as Legacy-MBR you must boot the installation drive as Legacy
    To install as UEFI-GPT you must boot the installation drive as UEFI.

    As you have a new MB, you should install as UEFI-GPT
    Detach any other drives (SATA or Power cable) from the MB.
    On BIOS, disable fast boot and secure boot (you can enable after installation)

    During POST, press F? to launch the boot menu. You will see two options for the USB drive. USB UEFI (Name) and USB (Name). Select USB UEFI (Name).
    Go to install and delete ALL partitions on the drive till you have one and only one unallocated space and then proceed.
    If you don't want to use MS account, don't enable updates or connect to the internet during installation.

    The two installations are independent. Choose one as the default and set it on BIOS. To boot from the other drive / system launch the boot menu (F?). You can also edit the boot manager to add the other OS.
      My Computers


  4. Posts : 4,594
    Windows 10 Pro
       #4

    Perfect instructions Luiz

    And welcome to TenForums Gladiator
      My Computers


  5. Posts : 57
    Windows 10
    Thread Starter
       #5

    I finally got back to trying to load the new OS.
    I disconnected all the other drives as you suggested. Also, I removed all the Flash drives from the computer..
    When I tried to start the computer, I got an error (Boot Device not found see attached) picture BOOT ERROR # 1.
    I reconnectet the power to the main drive and got the Windows Boot Manager page (boot Manager # 2 see attached).
    See attachment for the new hard drive (h drive # 3).
    Am I missing something when I try to load the Os on the new Drive?
    Attached Thumbnails Attached Thumbnails Install second os on a blank internal hard drive using UEFI-h-drive-3.jpg   Install second os on a blank internal hard drive using UEFI-boot-error-1.jpg   Install second os on a blank internal hard drive using UEFI-boot-manager-2.jpg  
    Last edited by Gladiator; 16 Jul 2021 at 08:36. Reason: FORGOT TO ATTACH THE FILES
      My Computer


  6. Posts : 18,432
    Windows 11 Pro
       #6

    Gladiator said:
    I finally got back to trying to load the new OS.
    I disconnected all the other drives as you suggested. Also, I removed all the Flash drives from the computer..
    When I tried to start the computer, I got an error (Boot Device not found see attached) picture BOOT ERROR # 1.
    I reconnectet the power to the main drive and got the Windows Boot Manager page (boot Manager # 2 see attached).
    See attachment for the new hard drive (h drive # 3).
    Am I missing something when I try to load the Os on the new Drive?
    Yes. I see that you are trying to install Windows 7 in UEFI mode. You can't do that simply by booting from a Windows 7 USB flash drive, because it only boots in Legacy BIOS (or CSM) mode. One of the first questions is why are you wanting to install Windows 7 Pro first only to upgrade it to Windows 10 Pro? You can activate Windows 10 Pro directly with a Windows 7 Pro product key.
      My Computer


  7. Posts : 57
    Windows 10
    Thread Starter
       #7

    I was not trying to boot from the Windows 7 USB flash drive. I was trying to load the OS from the blank hard drive.
    Also, I have the disks for Window 7 Pro with the product key, but I get the error Boot device not found. I can not get the system to boot from my Cd drive.
      My Computer


  8. Posts : 18,432
    Windows 11 Pro
       #8

    So are you saying you can't boot the computer at all now?
      My Computer


  9. Posts : 57
    Windows 10
    Thread Starter
       #9

    If I reattach the power cable on the main hard drive, I can boot from the existing drive.
    I still can't get to the blank hard drive to reinstall the OS or load the OS from the CD.
    Last edited by Gladiator; 16 Jul 2021 at 16:54.
      My Computer


  10. Posts : 18,432
    Windows 11 Pro
       #10

    The easiest thing for you to do is to have both drives connected. Boot the computer into your existing OS. Insert the CD. Got to the \Sources folder on the CD. Run setup.exe in the \Sources folder. Select the custom install option when you get there. On the next screen, your blank drive should be 1 big unallocated space. Click on the one big unallocated space and then next.

    When the computer reboots, it will most likely reboot into your original OS, not the new one. Look for the drive letter assigned to the newly installed OS. Let's say it gets E:. Open a command prompt with admin privileges ("Run as Administrator") and run the command:

    Code:
    bcdboot E:\Windows /d /addlast
    Note, change the E:\ above to whatever drive letter the new OS got. If the command above completes successfully, reboot your computer again.
      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 12:21.
Find Us




Windows 10 Forums