Difference between revisions of "Windows Booting Simplified"

m
no edit summary
m
m
 
Line 6: Line 6:
*CPU starts a program ("First Boot Program")
*CPU starts a program ("First Boot Program")
*Hardware is / can be tested by the "First Boot Program" (if issues, booting is halted / can be halted)
*Hardware is / can be tested by the "First Boot Program" (if issues, booting is halted / can be halted)
*"First Boot Program" starts a "Second Boot Program" (Bootloader)
*"First Boot Program" starts a "Second Boot Program" (Bootloader), for BIOS based systems, the program contained in the MBR (Master Boot Record)
*"Second Boot Program" loads other programs and starts Operating System (Windows, Linux, etc.)
*"Second Boot Program" loads other programs and starts Operating System (Windows, Linux, etc.), the PBR (Partition Boot Record) / VBR (Volume Boot Record), for Windows XP NTLDR, and for Vista and above BOOTMGR
*Operating System boot completes, computer is useful (hopefully)
*Operating System boot completes, computer is useful (hopefully)


Line 30: Line 30:
*Metro Loader: Avoid it.  Looks cool, but starts at a later point in the boot process than the "Text Loader" which makes it less useful if there are any boot issues that need to be diagnosed.
*Metro Loader: Avoid it.  Looks cool, but starts at a later point in the boot process than the "Text Loader" which makes it less useful if there are any boot issues that need to be diagnosed.
*FixMBR and FixBoot, for more control, use BOOTSECT instead of BOOTREC (Example: BOOTSECT /nt60 v: where /nt60 = an MBR Boot Record for Vista and above, v: = The drive letter assigned to the partition (may need to be assigned with DISKPART)
*FixMBR and FixBoot, for more control, use BOOTSECT instead of BOOTREC (Example: BOOTSECT /nt60 v: where /nt60 = an MBR Boot Record for Vista and above, v: = The drive letter assigned to the partition (may need to be assigned with DISKPART)
*BOOTREC Command for very basic 'fixing' of MBR and other stuff, but seems to only be available in WinRE, not in Windows.
*BCDBOOT Command can add necessary files to change a non-system partition to a system partition. (Example BCDBOOT C:\Windows /l en-us /s X: /f ALL /v with C:\Windows = Source of Files to be Copied, /l (that's a lower case L, not a capital I / 'eye') = "local language", /s = Drive Letter to copy files to (may need to be assigned with DISKPART if no drive letter has been assigned to parition), /f = ALL is UEFI and MBR Boot Files (as opposed to just MBR or UEFI), /v = Verbose)
*BCDBOOT Command can add necessary files to change a non-system partition to a system partition. (Example BCDBOOT C:\Windows /l en-us /s X: /f ALL /v with C:\Windows = Source of Files to be Copied, /l (that's a lower case L, not a capital I / 'eye') = "local language", /s = Drive Letter to copy files to (may need to be assigned with DISKPART if no drive letter has been assigned to parition), /f = ALL is UEFI and MBR Boot Files (as opposed to just MBR or UEFI), /v = Verbose)
*DISKPART can be used to assign a drive letter for using the BOOTSECT and BCDBOOT commands (Example: DISKPART, SELECT DISK, SELECT VOL, ASSIGN LETTER=WhatEverUnusedDriveLetterDesired)
*DISKPART can be used to assign a drive letter for using the BOOTSECT and BCDBOOT commands (Example: DISKPART, SELECT DISK, SELECT VOL, ASSIGN LETTER=WhatEverUnusedDriveLetterDesired)
Line 49: Line 50:
***Choice 2 (should work, but doesn't, included it because of an idea from https://www.tenforums.com/drivers-hardware/80762-how-sign-existing-partition-efi-partition-diskpart.html);
***Choice 2 (should work, but doesn't, included it because of an idea from https://www.tenforums.com/drivers-hardware/80762-how-sign-existing-partition-efi-partition-diskpart.html);
****Create an ordinary  FAT32 Partition at the beginning of a disk using DISKPART, Windows Disk Manager GUI, EaseUS Partition Manager, AOMEI Partition Manager, etc. (Partition type will be Primary)
****Create an ordinary  FAT32 Partition at the beginning of a disk using DISKPART, Windows Disk Manager GUI, EaseUS Partition Manager, AOMEI Partition Manager, etc. (Partition type will be Primary)
****Select the appropriate disk and partition in DISKPART and use this command: set id=c12a7328-f81f-11d2-ba4b-00a0c93ec93b override (Partition Type will be "System", remember, Windows calls the partition where it is installed the "Boot Partition" and the place where the Computer boots up the "System Partition)  
****Select the appropriate disk and partition in DISKPART and use this command: set id=c12a7328-f81f-11d2-ba4b-00a0c93ec93b override (Partition Type will be "System", remember, Windows calls the partition where it is installed the "Boot Partition" and the place where the Computer boots up the "System Partition)
****Install the Boot Files: BCDBOOT C:\Windows /l en-us /s WhatEverDriveLetter: /f ALL /v (see example and explanation in above Top Tips Section)
****Install the Boot Files: BCDBOOT C:\Windows /l en-us /s WhatEverDriveLetter: /f ALL /v (see example and explanation in above Top Tips Section)
****Assign a drive letter: Select the appropriate Disk and Partition in DISKPART: assign letter=WhatEverLetter
****Assign a drive letter: Select the appropriate Disk and Partition in DISKPART: assign letter=WhatEverLetter