I have a dual boot pc, using grub2 with Windows 10 and Ubuntu 22.04.
There are 2 disks. SDA holds the boot and both OS.
SDB is only used as storage.
Here is my fdisk -l
Disk /dev/sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: Samsung SSD 860
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 55106F29-0298-4587-863D-FB78A5048E5B
Device Start End Sectors Size Type
/dev/sda1 2048 4095 2048 1M BIOS boot
/dev/sda2 4096 1054719 1050624 513M EFI System
/dev/sda3 1054720 1953523711 1952468992 931G Linux filesystem
Disk /dev/sdb: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: WDC WD1001FALS-0
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x9ef61069
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 63 1953520064 1953520002 931.5G 7 HPFS/NTFS/exFAT
The backup GPT table is corrupt, but the primary appears OK, so that will be used.
It all worked great for months until a couple of weeks ago when I discovered I could no longer boot into Windows.
I don’t know how I am going to fix the win10 boot problem yet but I am now wondering, should I remove grub first before trying to fix the windows boot issue?
@TomYan I have no idea why it stopped working.
No error that I saw. Grub to select the OS options not UEFI.
I wasn’t sure if I need to remove grub in order to repair the Windows boot.
It has been a long time since I loaded Win10 but I always had it on the C:(SDA) and the D:(SDB) was always storage. I installed Ubuntu years later.
I will check the fdisk -l again. Running windows repair from a startup usb drive right now. Thanks!
Running win10 startup repair did not work.
Ran fdisk again. SamSSD is still /dev/sda, WD is /dev/sdb.
The backup GPT error is gone!