https://www.maketecheasier.com/fix-windows-mbr-from-ubuntu/

boot-repair-4ppa203 [20230605_0237]

============================= Boot Repair Summary ==============================

Recommended repair: ____________

The default repair of the Boot-Repair utility will restore the [(generic mbr)] MBR in sda, and make it boot on sda2.
Additional repair will be performed: unhide-bootmenu-10s

============================== Restore MBR of sda ==============================

dd if=/usr/lib/syslinux/mbr/mbr.bin of=/dev/sda
parted /dev/sda set 2 boot on
Information: You may need to update /etc/fstab.

parted /dev/sda set 1 boot off
Information: You may need to update /etc/fstab.

SET@_progressbar1.pulse()

Boot successfully repaired.

You can now reboot your computer.

============================ Boot Info After Repair ============================

=> Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sda.
=> Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdb.
=> Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdc.

sda1: ______________

1
2
3
4
5
File system:       ntfs
Boot sector type:  Windows 8/10/11/2012: NTFS
Boot sector info:  No errors found in the Boot Parameter Block.
Operating System:  
Boot files:        /bootmgr /Boot/BCD

sda2: ______________

1
2
3
4
5
File system:       ntfs
Boot sector type:  Windows 8/10/11/2012: NTFS
Boot sector info:  No errors found in the Boot Parameter Block.
Operating System:  Windows 10 or 11
Boot files:        /bootmgr /Boot/BCD /Windows/System32/winload.exe

sda3: ______________

1
2
3
4
5
File system:       ntfs
Boot sector type:  Windows 8/10/11/2012: NTFS
Boot sector info:  No errors found in the Boot Parameter Block.
Operating System:  
Boot files:

sdb1: ______________

1
2
3
4
5
File system:       ntfs
Boot sector type:  Windows 8/10/11/2012: NTFS
Boot sector info:  No errors found in the Boot Parameter Block.
Operating System:  
Boot files:

sdb2: ______________

1
2
3
4
5
File system:       ext4
Boot sector type:  -
Boot sector info: 
Operating System:  
Boot files:

sdc1: ______________

1
2
3
4
5
6
7
8
File system:       vfat
Boot sector type:  SYSLINUX 6.04
Boot sector info:  Syslinux looks at sector 29938 of /dev/sdc1 for its 
                   second stage. The integrity check of Syslinux failed. 
                   No errors found in the Boot Parameter Block.
Operating System:  
Boot files:        /boot/grub/grub.cfg /syslinux.cfg 
                   /efi/BOOT/grubx64.efi /efi/BOOT/mmx64.efi /ldlinux.sys

================================ 2 OS detected =================================

OS#1: Windows 10 (boot) on sda1
OS#2: Windows 10 on sda2

================================ Host/Hardware =================================

CPU architecture: 64-bit
Video: GK104GLM [Quadro K4100M] 4th Gen Core Processor Integrated Graphics Controller from NVIDIA Corporation Intel Corporation
Live-session OS is Ubuntu 64-bit (Ubuntu 20.04.3 LTS, focal, x86_64)

===================================== UEFI =====================================

BIOS/UEFI firmware: E1763IMS.20Y(4.6) from American Megatrends Inc.
This live-session is in Legacy/BIOS/CSM mode (not in EFI mode).

============================= Drive/Partition Info =============================

Disks info: ______________

sda : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, has-os, has-win, 2048 sectors * 512 bytes
sdb : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, no-wind, 2048 sectors * 512 bytes

Partitions info (1/3): _________

sda1 : is-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sda2 : is-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sda3 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sdb1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sdb2 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios

Partitions info (2/3): _________

sda1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, bootmgr, is-winboot
sda2 : isnotESP, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, bootmgr, is-winboot
sda3 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb2 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot

Partitions info (3/3): _________

sda1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sda2 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sda3 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sdb1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdb
sdb2 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdb

fdisk -l (filtered): ___________

Disk sda: 111.81 GiB, 120034123776 bytes, 234441648 sectors
Disk identifier: 0x5bba9da1
Boot Start End Sectors Size Id Type
sda1 2048 104447 102400 50M 7 HPFS/NTFS/exFAT
sda2 * 104448 233392127 233287680 111.2G 7 HPFS/NTFS/exFAT
sda3 233394176 234436607 1042432 509M 27 Hidden NTFS WinRE
Disk sdb: 698.65 GiB, 750156374016 bytes, 1465149168 sectors
Disk identifier: 0x0008224f
Boot Start End Sectors Size Id Type
sdb1 2048 409602047 409600000 195.3G 7 HPFS/NTFS/exFAT
sdb2 409602048 1465149167 1055547120 503.3G 83 Linux
Disk sdc: 58.5 GiB, 62329454592 bytes, 121737216 sectors
Disk identifier: 0x00187569
Boot Start End Sectors Size Id Type
sdc1 * 2048 121737215 121735168 58G c W95 FAT32 (LBA)

parted -lm (filtered): _________

sda:120GB:scsi:512:512:msdos:ATA Samsung SSD 850:;
1:1049kB:53.5MB:52.4MB:ntfs::boot;
2:53.5MB:119GB:119GB:ntfs::;
3:119GB:120GB:534MB:ntfs::msftres;
sdb:750GB:scsi:512:4096:msdos:ATA Hitachi HTS72757:;
1:1049kB:210GB:210GB:ntfs::;
2:210GB:750GB:540GB:ext4::;
sdc:62.3GB:scsi:512:512:msdos:Generic Flash Disk:;
1:1049kB:62.3GB:62.3GB:fat32::boot, lba;

blkid (filtered): ______________

NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 ntfs 5CF282E6F282C42C 5bba9da1-01 Reservado pelo Sistema
├─sda2 ntfs 464283CC4283BF65 5bba9da1-02
└─sda3 ntfs 86489B9A489B8797 5bba9da1-03
sdb
├─sdb1 ntfs DE9C84559C8429DB 0008224f-01 Dados
└─sdb2 ext4 05c7f6df-2f9c-446d-9fc1-cc65c1ffd22a 0008224f-02
sdc
└─sdc1 vfat 1100-2C34 00187569-01 UBUNTU 20_0

Mount points (filtered): _____________

Avail Use% Mounted on

/dev/sda1 23.7M 53% /mnt/boot-sav/sda1
/dev/sda2 59.9G 46% /mnt/boot-sav/sda2
/dev/sda3 88.7M 83% /mnt/boot-sav/sda3
/dev/sdb1 115.5G 41% /mnt/boot-sav/sdb1
/dev/sdb2 440.2G 6% /mnt/boot-sav/sdb2
/dev/sdc1 55.2G 5% /cdrom

Mount options (filtered): ____________

====================== sdc1/boot/grub/grub.cfg (filtered) ======================

Ubuntu
Ubuntu (safe graphics)
OEM install (for manufacturers)
Boot from next volume
UEFI Firmware Settings

========================= sdc1/syslinux.cfg (filtered) =========================

DEFAULT loadconfig

LABEL loadconfig
CONFIG /isolinux/isolinux.cfg
APPEND /isolinux/

==================== sdc1: Location of files loaded by Grub ====================

GiB - GB             File                                 Fragment(s)
 ?? = ??             boot/grub/grub.cfg                             1

================== sdc1: Location of files loaded by Syslinux ==================

1
2
3
GiB - GB             File                                 Fragment(s)
 ?? = ??             syslinux.cfg                                   1
 ?? = ??             ldlinux.sys                                    1
Edit Report
Pub: 05 Jun 2023 02:39 UTC
Edit: 05 Jun 2023 02:39 UTC
Views: 26