User Tools

Site Tools


computerclub:helpcenter:fix_windows_boot

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
computerclub:helpcenter:fix_windows_boot [2022/01/01 15:22] – ↷ Page name changed from computerclub:helpcenter:bootloader to computerclub:helpcenter:fix_windows_boot phillipcomputerclub:helpcenter:fix_windows_boot [2022/01/02 14:34] (current) – [Fix the Windows boot process] phillip
Line 1: Line 1:
 ====== Fix the Windows boot process ====== ====== Fix the Windows boot process ======
  
-Why is this page here?  2 reasons...   First:   We have seen clients bring in Windows 10 computer that would not boot or would not successfully "fix the boot process" using the Windows 10 recovery environment.   Second:   It is possible to use the process below, as the final step in "cloning" if you do not have a cloning tool.    The process assumes 2 disk drives.     On a new drive, install Windows 10.   Next, using Clonezilla or RescueZilla or ???, copy the Windows partition from the old drive to the Windows partition of the new drive.    The result is likely to be that the new drive will not boot.    The process's below can fix the boot process on the new drive.+Why is this page here? 2 reasons… First: We have seen clients bring in Windows 10 computers that would not boot or would not successfully "fix the boot process" using the Windows 10 recovery environment. Second: It is possible to use the process below, as the final step in "cloning" if you do not have a cloning tool. The process assumes 2 disk drives. On a new drive, install Windows 10. Next, using Clonezilla or RescueZilla or ???, copy the Windows partition from the old drive to the Windows partition of the new drive. The result is likely to be that the new drive will not boot. The process's below can fix the boot process on the new drive.
  
 Warning!! Understanding and/or fixing boot failures is tedious, aka "lots of details". Be careful!!!! If you want to understand the details of the Windows boot process this [[https://www.youtube.com/watch?v=Q0R_CXArPd8&t=225s|youtube video]] is a good starting point. It is about 20 minutes long and full of details. If you just need to repair a boot failure,[[https://www.youtube.com/watch?v=sOihh4ZNOf4&t=307s| this video]] may be what you want to watch. The cliff notes for the video are: From a "cmd" window, use diskpart to assign "C" to the Windows partition. Then invoke "bootsec /nt60 all /force". Then invoke "bcdboot c:\windows /f ALL". Then invoke "bootrec /fixmbr". Then invoke "bootrec /fixboot". The details in the video start at about the 2 minute mark and finish at about 6 minutes. Warning!! Understanding and/or fixing boot failures is tedious, aka "lots of details". Be careful!!!! If you want to understand the details of the Windows boot process this [[https://www.youtube.com/watch?v=Q0R_CXArPd8&t=225s|youtube video]] is a good starting point. It is about 20 minutes long and full of details. If you just need to repair a boot failure,[[https://www.youtube.com/watch?v=sOihh4ZNOf4&t=307s| this video]] may be what you want to watch. The cliff notes for the video are: From a "cmd" window, use diskpart to assign "C" to the Windows partition. Then invoke "bootsec /nt60 all /force". Then invoke "bcdboot c:\windows /f ALL". Then invoke "bootrec /fixmbr". Then invoke "bootrec /fixboot". The details in the video start at about the 2 minute mark and finish at about 6 minutes.
  
-And then [[https://support.microsoft.com/en-us/topic/use-bootrec-exe-in-the-windows-re-to-troubleshoot-startup-issues-902ebb04-daa3-4f90-579f-0fbf51f7dd5d|from here]] is the snippet below, in bold/italic font.   The problems with the snippet were: It assumes the boot folder is in the C drive ,ala Windows 7. Windows 10 keeps the bcd folder in a separate partition, so you need to use diskpart to mount the partition to a drive letter and adjust the commands/steps identified in the snippet. How do you do this?+And then [[https://support.microsoft.com/en-us/topic/use-bootrec-exe-in-the-windows-re-to-troubleshoot-startup-issues-902ebb04-daa3-4f90-579f-0fbf51f7dd5d|from here]] is the snippet below, in bold/italic font. The problems with the snippet were: It assumes the boot folder is in the C drive ,ala Windows 7. Windows 10 keeps the bcd folder in a separate partition, so you need to use diskpart to mount the partition to a drive letter and adjust the commands/steps identified in the snippet. How do you do this?
  
 From a command line: From a command line:
Line 18: Line 18:
  
 assign (assign will assign a drive letter to the partition that is selected by the previous select. assign (assign will assign a drive letter to the partition that is selected by the previous select.
 +
 +And then I watched this : [[https://www.youtube.com/watch?v=G_qKrJPuAmg|UEFI Explained, by the TechSavvyProductions youtube channel]] and learned about the [[https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/mountvol|mountvol ]]command. The simpler way to mount the system volume is:
 +
 +mountvol e: /s
  
 **//Note Use the Bootrec.exe tool to troubleshoot a "Bootmgr Is Missing" error. If rebuilding the BCD store doesn't resolve the startup issue, you can export and delete the BCD store and then run this option again. By doing this, you make sure that the BCD store is completely rebuilt.\\ **//Note Use the Bootrec.exe tool to troubleshoot a "Bootmgr Is Missing" error. If rebuilding the BCD store doesn't resolve the startup issue, you can export and delete the BCD store and then run this option again. By doing this, you make sure that the BCD store is completely rebuilt.\\
Line 31: Line 35:
   * **//ren bcd bcd.old rename bcd to bcd.old// **   * **//ren bcd bcd.old rename bcd to bcd.old// **
   * **//bootrec /RebuildBcd//**  This should create a new bcd file   * **//bootrec /RebuildBcd//**  This should create a new bcd file
 +
 +
 ====== Windows Boot configuration ====== ====== Windows Boot configuration ======
  
/home/sctxcompclubora/sctxcompclub.net/data/attic/computerclub/helpcenter/fix_windows_boot.1641050520.txt.gz · Last modified: 2022/01/01 15:22 by phillip