Showing posts with label MBR. Show all posts
Showing posts with label MBR. Show all posts

Friday, February 16, 2018

Convert MBR to GPT to enable EFI and enable secure boot (Test on Windows 10 17093 insider build and Lenovo x230)

Since the official method did not work on 17093 (Might be hit bugs since it is insider build)

Remark: Make a full backup of your hard disk first

1. Use PartitionGuru software (Free edition) to convert the whole hard disk from MBR to GPT (Convert To GUID Partition Table)
https://windowsreport.com/convert-mbr-gpt-disk/


2. Converting Windows BIOS installation to UEFI start from step 3 to end step (The gptgen seems to be not work on 17093, that why I use PartitionGuru)
https://kheresy.wordpress.com/2016/05/17/convert-windows-to-uefi/

diskpart
list partition
select partition 1 (This is the MBR partition ~350MB to 500MB)
  delete partition
  create partition EFI size=100 offset=1
format quick fs=fat32 label="System" 
assign letter=S
create partition msr size=128 offset=103424
list volume
select volume 3 (Which is OS installed volume)
assign letter=C
bcdboot c:\windows /s s: /f UEFI
Reboot the machine and change bios to UEFI and enable secure boot


For details:
https://kheresy.wordpress.com/2016/05/17/convert-windows-to-uefi/

Print Friendly and PDF
Share/Bookmark

Windows 10 - Rebuild the system partition (MBR) after it being deleted

Remark: Please make a full disk backup before use the following steps, you can use another company or harddisk docking to clone a whole hard disk

1. Rebuild the system partition: (Creating 500mb System Reserved partition )
rem == 1. System partition ======================
create partition primary size=500
format quick fs=ntfs label="System"
assign letter="S"
active
https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/configure-biosmbr-based-hard-drive-partitions


2. Repair Master Boot Record (MBR) in Windows 10/8/7
bootrec /RebuildBcd
bootrec /fixMbr
bootrec /fixboot
http://www.thewindowsclub.com/repair-master-boot-record-mbr-windows


3. Rebuild bootloader
bootsect /nt60 drive_letter: /mbr
https://superuser.com/questions/949219/how-to-fix-the-windows-10-boot-loader-from-windows


4. Fix Boot Files on MBR Partition Table
bcdboot D:\Windows /S D:
After the Boot files creation, open DISKPART utility again by typing:
diskpart
In DISKPART prompt type:
list disk
Now type the following command and then press Enter:
select disk X  (Where “X “means the number of disk that contains the Operating System – e.g. “0”)
select disk 0
Then give the following commands in order (press Enter after typing each one of them)
list volumelist volume
select volume X (Where “X “means the number of Volume that contains the Windows folder. In this example is the Volume “3”)select volume 1
activemake partition active
Type exit to close the DISKPART tool.
Close all Windows and reboot your computer
https://www.wintips.org/fix-operating-system-was-n0t-found-error-on-windows-10-8-solved/


Done

Print Friendly and PDF
Share/Bookmark

Friday, December 4, 2015

Windows OS Volume (Legacy BIOS vs UEFI and MBR vs GPT)

image Print Friendly and PDF
Share/Bookmark