Code:
boot-repair-4ppa2081 [20241017_1453]
============================= Boot Repair Summary ==============================
Default settings: ______________________________________________________________
The default repair of the Boot-Repair utility would reinstall the grub-efi of
sda7,
using the following options: sda1/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file restore-efi-backups
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your UEFI firmware boot on the The OS now in use - Ubuntu 24.10 entry (sda1/efi/****/grub****.efi (**** will be updated in the final message) file) !
If your computer reboots directly into Windows, try to change the boot order in your UEFI firmware.
If your UEFI firmware does not allow to change the boot order, change the default boot entry of the Windows bootloader.
For example you can boot into Windows, then type the following command in an admin command prompt:
bcdedit /set {bootmgr} path \EFI\****\grub****.efi (**** will be updated in the final message)
User settings: _________________________________________________________________
GPT PMBR size mismatch (1953525167 != 3907029167) will be corrected by write.
modprobe: FATAL: Module efivars not found in directory /lib/modules/6.11.0-8-generic
The settings chosen by the user will reinstall the grub-efi of
sda7,
using the following options: sda1/boot/efi
Additional repair will be performed: unhide-bootmenu-10s win-legacy-basic-fix use-standard-efi-file restore-efi-backups
rm /mnt/boot-sav/sda1/efi/Boot/bootx64.efi
mv /mnt/boot-sav/sda1/efi/Boot/bkpbootx64.efi /mnt/boot-sav/sda1/efi/Boot/bootx64.efi
Quantity of real Windows: 1
Mount /dev/sda1 on /boot/efi
===================== Reinstall the grub-efi of /dev/sda7 ======================
grub-install --version
grub-install (GRUB) 2.12-5ubuntu5
modprobe: FATAL: Module efivars not found in directory /lib/modules/6.11.0-8-generic
modprobe efivars
efibootmgr -v (filtered) before grub install
No BootOrder is set; firmware will attempt recovery
Boot0003* Hard Drive BBS(Floppy,,0x0)0000474f00004e4f97000000010000006f00480061007200640020004400720069007600650000000501090001000000007fff040002010c00d041030a0000000001010600001703120a000000ffff00007fff040001043e00ef47642dc93ba041ac194d51d01b4ce6340053003400310042004e004d00300030003400340032003100350020005400200020002000200000007fff04000000424f
uname -r
6.11.0-8-generic
grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
Installation finished. No error reported.
df /dev/sda1
mv /boot/efi/EFI/Boot/bootx64.efi /boot/efi/EFI/Boot/bkpbootx64.efi
cp /boot/efi/efi/ubuntu/grubx64.efi /boot/efi/EFI/Boot/bootx64.efi
grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
Installation finished. No error reported.
efibootmgr -v (filtered) after grub install
BootOrder: 0000
Boot0000* Ubuntu HD(1,GPT,02efc03c-0d0c-43a9-966e-a6ad53c9edc5,0x800,0xfa000)/File(EFIubuntushimx64.efi)
Boot0003* Hard Drive BBS(Floppy,,0x0)0000474f00004e4f97000000010000006f00480061007200640020004400720069007600650000000501090001000000007fff040002010c00d041030a0000000001010600001703120a000000ffff00007fff040001043e00ef47642dc93ba041ac194d51d01b4ce6340053003400310042004e004d00300030003400340032003100350020005400200020002000200000007fff04000000424f
update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/kdump-tools.cfg'
Found linux image: /boot/vmlinuz-6.11.0-8-generic
Found initrd image: /boot/initrd.img-6.11.0-8-generic
Found linux image: /boot/vmlinuz-6.8.0-45-generic
Found initrd image: /boot/initrd.img-6.8.0-45-generic
Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings ...
Unhide GRUB boot menu in sda7/boot/grub/grub.cfg
Boot successfully repaired.
You can now reboot your computer.
Please do not forget to make your UEFI firmware boot on the The OS now in use - Ubuntu 24.10 entry (sda1/efi/ubuntu/grubx64.efi file) !
If your computer reboots directly into Windows, try to change the boot order in your UEFI firmware.
If your UEFI firmware does not allow to change the boot order, change the default boot entry of the Windows bootloader.
For example you can boot into Windows, then type the following command in an admin command prompt:
bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi
============================ Boot Info After Repair ============================
=> Windows is installed in the MBR of /dev/sda.
=> No boot loader is installed in the MBR of /dev/sdb.
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /efi/Boot/bkpbootx64.efi /efi/Boot/bootx64.efi
/efi/Boot/fbx64.efi /efi/Boot/mmx64.efi
/efi/Manjaro/grubx64.efi /efi/ubuntu/grubx64.efi
/efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi
/efi/ubuntu/grub.cfg /efi/Microsoft/Boot/bootmgfw.efi
/efi/Microsoft/Boot/bootmgr.efi
/efi/Microsoft/Boot/SecureBootRecovery.efi /bootmgr
sda2: __________________________________________________________________________
File system:
Boot sector type: -
Boot sector info:
sda3: __________________________________________________________________________
File system: ntfs
Boot sector type: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 10 or 11
Boot files: /bootmgr /Windows/System32/winload.exe
sda4: __________________________________________________________________________
File system: ntfs
Boot sector type: NTFS
Boot sector info: According to the info in the boot sector, sda4 starts
at sector 1618642944. But according to the info from
fdisk, sda4 starts at sector 504604672.
Operating System:
Boot files:
sda5: __________________________________________________________________________
File system: ntfs
Boot sector type: NTFS
Boot sector info: According to the info in the boot sector, sda5 starts
at sector 1927069696. But according to the info from
fdisk, sda5 starts at sector 924035072.
Operating System:
Boot files:
sda6: __________________________________________________________________________
File system: ntfs
Boot sector type: NTFS
Boot sector info: According to the info in the boot sector, sda6 starts
at sector 1928742912. But according to the info from
fdisk, sda6 starts at sector 925708288.
Operating System:
Boot files:
sda7: __________________________________________________________________________
File system: btrfs
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 24.10
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
sdb1: __________________________________________________________________________
File system: ntfs
Boot sector type: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sdb2: __________________________________________________________________________
File system: BIOS Boot partition
Boot sector type: Unknown
Boot sector info:
sdb3: __________________________________________________________________________
File system: ntfs
Boot sector type: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sdb4: __________________________________________________________________________
File system: ntfs
Boot sector type: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
================================ 2 OS detected =================================
OS#1 (linux): The OS now in use - Ubuntu 24.10 on sda7
OS#2 (windows): Windows 10 or 11 on sda3
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: GM107M [GeForce GTX 960M] HD Graphics 530 from NVIDIA Corporation Intel Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-6.11.0-8-generic root=UUID=d9350585-506b-4b2a-b402-eba8497ffdaf ro quiet splash crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M vt.handoff=7
df -Th / : /dev/sda7 btrfs 40G 23G 17G 58% /
===================================== UEFI =====================================
BIOS/UEFI firmware: 1.3.1(1.3) from Dell Inc.
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
No EFI in dmseg.
SecureBoot disabled - This system doesn't support Secure Boot.
BootOrder: 0000
Boot0000* Ubuntu HD(1,GPT,02efc03c-0d0c-43a9-966e-a6ad53c9edc5,0x800,0xfa000)/File(\EFI\ubuntu\shimx64.efi)
Boot0003* Hard Drive BBS(Floppy,,0x0)0000474f00004e4f97000000010000006f00480061007200640020004400720069007600650000000501090001000000007fff040002010c00d041030a0000000001010600001703120a000000ffff00007fff040001043e00ef47642dc93ba041ac194d51d01b4ce6340053003400310042004e004d00300030003400340032003100350020005400200020002000200000007fff04000000424f
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, has-win, 2048 sectors * 512 bytes
sdb : is-GPT, hasBIOSboot, has-noESP, not-usb, not-mmc, no-os, no-wind, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda7 : is-os, 64, apt-get, signed grub-efi , grub2, grub-install, grubenv-ok, update-grub, end-after-100GB
sdb4 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sdb3 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sdb1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sda4 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sda5 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sda3 : is-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sda1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sda6 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
Partitions info (2/3): _________________________________________________________
sda7 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, btrfs
sdb4 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, ntfs
sdb3 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, ntfs
sdb1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, ntfs
sda4 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, ntfs
sda5 : isnotESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot, ntfs
sda3 : isnotESP, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, bootmgr, notwinboot, ntfs
sda1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, bootmgr, notwinboot, vfat
sda6 : isnotESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot, ntfs
Partitions info (3/3): _________________________________________________________
sda7 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
sdb4 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdb
sdb3 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdb
sdb1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdb
sda4 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sda5 : 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
sda1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sda6 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
fdisk -l (filtered): ___________________________________________________________
Disk sda: 453.23 GiB, 486650431488 bytes, 950489124 sectors
Disk identifier: 8B5DCA2D-7E5D-4004-ADE0-F471AC7C06E6
Start End Sectors Size Type
sda1 2048 1026047 1024000 500M EFI System
sda2 1026048 1288191 262144 128M Microsoft reserved
sda3 1288192 422440732 421152541 200.8G Microsoft basic data
sda4 504604672 828987391 324382720 154.7G Microsoft basic data
sda5 924035072 925708287 1673216 817M Windows recovery environment
sda6 925708288 950489087 24780800 11.8G Windows recovery environment
sda7 422440734 504604671 82163938 39.2G Linux filesystem
Partition table entries are not in disk order.
Disk sdb: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk identifier: C84F2E0C-0CF3-4DB4-995D-BD65A63798A4
Start End Sectors Size Type
sdb1 2048 1797715967 1797713920 857.2G Microsoft basic data
sdb2 1797715968 1797718015 2048 1M BIOS boot
sdb3 1797718016 2883026943 1085308928 517.5G Microsoft basic data
sdb4 2883026944 3516325887 633298944 302G Microsoft basic data
parted -lm (filtered): _________________________________________________________
sda:487GB:scsi:512:512:gpt:ATA Samsung SSD 860:;
1:1049kB:525MB:524MB:fat32:EFI system partition:boot, esp;
2:525MB:660MB:134MB::Microsoft reserved partition:msftres;
3:660MB:216GB:216GB:ntfs:Basic data partition:msftdata;
7:216GB:258GB:42.1GB:btrfs:root:;
4:258GB:424GB:166GB:ntfs:Basic data partition:msftdata;
5:473GB:474GB:857MB:ntfs::hidden, diag;
6:474GB:487GB:12.7GB:ntfs::hidden, diag;
sdb:2000GB:scsi:512:512:gpt:ATA Samsung SSD 870:;
1:1049kB:920GB:920GB:ntfs:Basic data partition:msftdata;
2:920GB:920GB:1049kB:::bios_grub;
3:920GB:1476GB:556GB:ntfs:Basic data partition:msftdata;
4:1476GB:1800GB:324GB:ntfs:Basic data partition:msftdata;
Free space >10MiB: ______________________________________________________________
sda: 404779MiB:451189MiB:46410MiB
sdb: 1716956MiB:1907729MiB:190773MiB
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 vfat 4887-94F5 02efc03c-0d0c-43a9-966e-a6ad53c9edc5 ESP EFI system partition
├─sda2 f1410272-14bb-4f7d-902e-00c6476614da Microsoft reserved partition
├─sda3 ntfs CAB25579B2556B49 f6803be0-038e-4009-b1b4-00e11a35631b OS Basic data partition
├─sda4 ntfs E6BA3670BA363CFD 6a32a8f3-3407-4639-8ef8-23d8357c216d Vrac primary Basic data partition
├─sda5 ntfs 0E029F42029F2DA9 deca5c9e-e30b-4e86-bb82-db98815c1b35 WINRETOOLS
├─sda6 ntfs AEC4A02AC49FF2B7 3e650648-465c-47f3-a779-7bf06125fb6d Image
└─sda7 btrfs d9350585-506b-4b2a-b402-eba8497ffdaf 2b15366a-c7a7-ef4a-bee8-6f65e8462058 root
sdb
├─sdb1 ntfs 0296F50996F4FDCB 9d17a0a0-6488-4fb9-b86d-2538dbd4b36a Data Basic data partition
├─sdb2 dd84a79c-1d3b-4e5e-a778-4eee6f623cba
├─sdb3 ntfs FE0A058E0A05455D 92cfda1c-bec8-433f-964b-0dc2796eb769 Games Basic data partition
└─sdb4 ntfs DE5ACB645ACB3853 9a33b971-5eb6-40b9-b3f4-1479487d829d Save and Recovery Basic data partition
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/sda3 49.7G 75% /mnt/boot-sav/sda3
/dev/sda4 70.2G 55% /mnt/boot-sav/sda4
/dev/sda5 420.6M 49% /mnt/boot-sav/sda5
/dev/sda6 69.4M 99% /mnt/boot-sav/sda6
/dev/sda7 16.6G 56% /
/dev/sdb1 147.8G 83% /media/pfelelep/Data
/dev/sdb3 182.5G 65% /mnt/boot-sav/sdb3
/dev/sdb4 42G 86% /mnt/boot-sav/sdb4
efivarfs 41K 82% /sys/firmware/efi/efivars
Mount options (filtered): ______________________________________________________
/dev/sda3 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda4 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda5 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda6 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda7 btrfs rw,relatime,ssd,discard=async,space_cache=v2,subvolid=5,subvol=/
/dev/sdb1 ntfs3 rw,nosuid,nodev,relatime,uid=1000,gid=1000,iocharset=utf8
/dev/sdb3 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sdb4 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid d9350585-506b-4b2a-b402-eba8497ffdaf root hd0,gpt7
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
====================== sda7/boot/grub/grub.cfg (filtered) ======================
Ubuntu d9350585-506b-4b2a-b402-eba8497ffdaf
Windows Boot Manager (on sda1) osprober-efi-4887-94F5
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
========================== sda7/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda7 during curtin installation
/dev/disk/by-uuid/d9350585-506b-4b2a-b402-eba8497ffdaf / btrfs defaults 0 1
# /boot/efi was on /dev/sda1 during curtin installation
UUID=4887-94F5 /boot/efi vfat defaults 0 1
======================= sda7/etc/default/grub (filtered) =======================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`( . /etc/os-release; echo ${NAME:-Ubuntu} ) 2>/dev/null || echo Ubuntu`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_OS_PROBER=false
==================== sda7: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
202.592394829 = 217.531927552 boot/grub/grub.cfg 1
207.728102684 = 223.046351872 boot/vmlinuz 1
207.728102684 = 223.046351872 boot/vmlinuz-6.11.0-8-generic 1
207.453169823 = 222.751144960 boot/vmlinuz-6.8.0-45-generic 1
207.453169823 = 222.751144960 boot/vmlinuz.old 1
223.713049889 = 240.210058240 boot/initrd.img 2
223.713049889 = 240.210058240 boot/initrd.img-6.11.0-8-generic 2
208.734850883 = 224.127339520 boot/initrd.img-6.8.0-41-generic 2
223.657198906 = 240.150088704 boot/initrd.img-6.8.0-45-generic 2
223.657198906 = 240.150088704 boot/initrd.img.old 2
===================== sda7: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 18133 Apr 4 2024 10_linux
-rwxr-xr-x 1 root root 43202 Apr 4 2024 10_linux_zfs
-rwxr-xr-x 1 root root 14513 Apr 4 2024 20_linux_xen
-rwxr-xr-x 1 root root 786 Apr 4 2024 25_bli
-rwxr-xr-x 1 root root 13120 Apr 4 2024 30_os-prober
-rwxr-xr-x 1 root root 1174 Apr 4 2024 30_uefi-firmware
-rwxr-xr-x 1 root root 722 Apr 5 2024 35_fwupd
-rwxr-xr-x 1 root root 214 Apr 4 2024 40_custom
-rwxr-xr-x 1 root root 215 Apr 4 2024 41_custom