Upgrade Windows 10 to Windows 11

I used to use Windows 11, but for some reasons, the OS stopped working and I needed to clean-install it from Windows 10 from windows recovery environment.

After installing and trying to install Windows 11, there are a few things I needed to do.

Note that my motherboard was AMD B450.

Enable UEFI boot on BIOS

In order to enable to UEFI Boot on BIOS, I needed to do

  1. Convert the disk from Master Boot Record, MBR, into GUID Partition Table, GPT, partition style.
  2. Disable Compatible Support Module, CSM on BIOS to enable UEFI boot

Note that I didn’t have to do at the end, but I tried to enable Secure Boot on BIOS, but it prevented to boot Windows and needed to reset the bios configuration by taking its battery, described in this article.

Convert the MBR to GPT

See following documents for how to

Confirm if my disk is MBR or GPT

  1. Start a Disk Management tool
  2. Right click on your disk, click Properties > Volumes
  3. See if “Partition Style” is MBR or GPT

If it’s GPT, the partition of your disk is already GPT.

Convert the MBR to GPT

  1. Open Settings > Update & Security > Recovery and click “Restart Now” under “Advanced Setup”
  2. Click Troubleshoot > Advanced Options > Command Prompt
  3. After restarting the computer and start a command prompt, type mbr2gpt /validate
  4. If succeeded, run mbr2gpt /convert

When I ran mbr2gpt /convert, I got next error for some reasons

MBR2GPT: Conversion completed successfully
Call WinReReapir to repair WinRE
MBR2GPT: Failed to update ReAgent.xml, please try to manually disable and enable WinRE

In order to manually disable and enable, I needed to run these commands, but they are not possible to run on the windows recovery environment.

reagentc /info
reagentc /disable
reagentc /enable

So, at first, I needed to

  1. Restart a computer
  2. Disable CMS on BIOS
    • It turned out this step was unnecessary
  3. Start a windows and Powershell
  4. Run the above command

Enable TPM 2.0

After enabling UEFI and reran PC Health check, it showed the next message

TPM 2.0 must be supported and enabled on this PR
TPM: TPM not detected

By following this document,

  1. Open Settings > Update & Security > Windows Security > Device Security, and see if there is a section for a “Security Processor”. I didn’t find it, so TPM is disabled on my PC.
  2. Click Settings > Update & Security > Recovery > Restart now.
  3. Click Troubleshoot > Advanced options > UEFI Firmware Settings > Restart
  4. Go to Peripherals tab and enable AMD CPU fTPM option

Install Windows 11 installation assisstant manually

Afterward, PC health check app shows “This PC meets Windows 11 requirements” finally. But when I opened Settings > Update & Security > Windows Update, it still shows “This PC doesn’t currently meet the minimum system requirements to run Windows 11”.

It seems it’s because Windows doesn’t detect the current hardware statuses. So following this answer, download windows 11 manually from here

Fix Ethernet connection issue after installing Windows 11

After installing Windows 11, I got a networking connection error saying Default gateway isn't available repeatedly, and this kept happening even after it was fixed by networking diagnostics.

In order to fix them, following the answer on this document.

  1. Start a command prompt and run following commands. Note that there was no command netsh int reset all, so I didn’t include it.

     ipconfig /flushdns
     nbtstat -R
     nbtstat -RR
     netsh int ip reset
     netsh winsock reset
    
  2. Open Settings > Network & Internet and see “Description” of the Ethernet and see the network adapter name.
  3. “Check Run a device manager and uninstall the network adapter shown on the above.
  4. Restarted my computer
  5. After rerunning the network diagnostics tool for a networking error, it was fixed

But this didn’t work.

I also tried

ipconfig /release
ipconfig /renew

But it caused an error, which is the timeout to connect to the DHCP server.

I also tried

  • to disable either an IPv4 or IPv6 network adapter
  • to reset network

But I couldn’t fix it. At the end, I decided to use WiFi instead of Ethernet.

2024

Back to Top ↑

2023

Follow Kubernetes the Hard way

4 minute read

This article was written by just following Kelsey Hightower’s Kubernetes Hardway document to understand Kubernetes internal architecture.

Gcp Billing Analyze

less than 1 minute read

There are a few documents to manage billing data in BigQuery Attribution of committed use discount fees and credits How to export to BigQuery Structur...

Prometheus Metrics Overview on Grafana

1 minute read

In this post, some variables defined in Grafana are used for Prometheus metrics, including $__rate_interval: This article describes the benefit of this va...

Use Google Secret Manager in a GKE cluster

3 minute read

There are an awesome article about the options to use the Google Secret Manager and their pros and cons. In this article, use Secrets Store CSI Driver by fol...

Working around MySQL lock metadata

2 minute read

There are multiple documents about innodb locks on MySQL 5.7: InnoDB locking Locks Set by Different SQL Statements in InnoDB Using InnoDB Transaction ...

Upgrade Windows 10 to Windows 11

3 minute read

I used to use Windows 11, but for some reasons, the OS stopped working and I needed to clean-install it from Windows 10 from windows recovery environment.

Back to Top ↑

2022

MySQL backup and restore

1 minute read

In this article, explain how to backup MySQL database using Percona Xtrabackup. There are two binaries, innobackupex and xtrabackup. innobackupex is a wrappe...

tmux

1 minute read

Basic configuration

Back to Top ↑

2021

MySQL Replication

1 minute read

This configuration is for the version 5.7 and it’s minimum configuration in the official document.

jq cheetsheet

less than 1 minute read

jq is used to parse JSON result, format and output on the cli.

Compare static site generator

less than 1 minute read

There are many web sites to compare static site generator, but they miss some explanations that require to me. For some people, these features are important ...

Back to Top ↑

2020

Getting Started with Kubernetes Deployment

less than 1 minute read

The deployment is many use cases and in this page, they’re not described. For the details for those use cases or the concept of deployment, see official page.

Overview about MySQL Lock

2 minute read

This document is written for MySQL 5.7, so these contents may be not correct for other versions.

MySQL Performance

2 minute read

This document is written for MySQL 5.7, so these contents may be not correct for other versions. In this page, performance_schema is mainly discussed.

Git hooks

less than 1 minute read

Configurations

gitHub pages

3 minute read

Getting Started See Official tutorial for detail steps.

Gitconfig

1 minute read

Configuration The detail for gitconfig is written in official page.

git cli

less than 1 minute read

Written in March 2020.

MySQL Tuner

less than 1 minute read

MySQL Tuner tool This is a tool to review a configuration for MySQL server.

kubectl cheetsheet

less than 1 minute read

Collect recent error logs If the logs are outputted by zap, error messages are aggregated by checking level = error. This log does not work very well if the ...

Introduction to GCP Cloud endpoints

less than 1 minute read

The Cloud endpoint is actually the NGINX proxy which offers the following features on GCP. Authentication and validation Logging and monitoring in GCP

HTTP/2 for Go

1 minute read

http package in golang supports HTTP/2 protocols. It’s automatically configured.

Back to Top ↑

2019

Terraform overview

1 minute read

Basic concepts There are some basic components for terraform.

Protocol Buffers for Go with Gadgets

less than 1 minute read

gogo/protobuf is the library to store some extensions from golang/protobuf in this repository. There are some useful packages that golang/protobuf does not p...

Introduction to GCP Cloud CDN

less than 1 minute read

Target upstream services Cloud CDN can have only GCP load balancer as the upstream services. And GCP load balancer can configure one of followings for backen...

Getting Started with Google closure library

less than 1 minute read

Some JavaScript library depends on Google Closure. If you need to understand the behavior of such a library, you have to know closure. The official document ...

Back to Top ↑