Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- boot-repair-4ppa130 [20211023_1442]
- ============================= Boot Repair Summary ==============================
- /usr/share/boot-sav/bs-cmd_terminal.sh: line 177: warning: command substitution: ignored null byte in input
- Recommended repair: ____________________________________________________________
- The default repair of the Boot-Repair utility will purge (in order to sign-grub) and reinstall the grub-efi-amd64-signed of
- sda5,
- using the following options: sda1/boot/efi,
- Additional repair will be performed: unhide-bootmenu-10s win-legacy-basic-fix use-standard-efi-file
- /boot/efi added in sda5/fstab
- Quantity of real Windows: 1
- sda5/boot/efi not empty
- apt-get -y update
- W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://repo.skype.com/deb stable InRelease: The following signatures were invalid: EXPKEYSIG 1F3045A5DF7587C3 Skype Linux Client Repository <se-um@microsoft.com>
- W: Failed to fetch https://repo.skype.com/deb/dists/stable/InRelease The following signatures were invalid: EXPKEYSIG 1F3045A5DF7587C3 Skype Linux Client Repository <se-um@microsoft.com>
- E: Failed to fetch https://linux.teamviewer.com/deb/dists/stable/main/binary-i386/Packages.gz Hash Sum mismatch
- Hashes of expected file:
- - Filesize:11469 [weak]
- - SHA256:160a0ca527d96f863db71493ffb08eddc7861480276d473cf8d8a65f6adc18a0
- - SHA1:4cf2b96d58eb7da6445d68d1dc36dd2bf5260258 [weak]
- - MD5Sum:0b62da9099f75b4ce0d9ef2722bdcff6 [weak]
- Hashes of received file:
- - SHA256:ed6a4587f93c8c5bc13b00ce4f8a9fdecf99388f3d3a5eac11666c80a4b57dff
- - SHA1:7ddc2dd0276f62a08390b534e220a05bb23f56fb [weak]
- - MD5Sum:bba2cef556d05f2959369fa306705bc2 [weak]
- - Filesize:11469 [weak]
- Last modification reported: Tue, 28 Sep 2021 06:49:40 +0000
- Release file created at: Fri, 22 Oct 2021 13:18:39 +0000
- W: Some index files failed to download. They have been ignored, or old ones used instead.
- Purge the GRUB of sda5
- grub-efi-amd64-signed available
- The following packages were automatically installed and are no longer required:
- libdouble-conversion3 libfprint-2-tod1 libllvm9 libpcre2-16-0 libqt5core5a
- libqt5dbus5 libqt5gui5 libqt5network5 libqt5positioning5 libqt5printsupport5
- libqt5qml5 libqt5quick5 libqt5sensors5 libqt5svg5 libqt5webchannel5
- libqt5webkit5 libqt5widgets5 libqt5x11extras5 libxcb-xinput0
- linux-headers-5.4.0-26 linux-headers-5.4.0-26-generic
- linux-image-5.4.0-26-generic linux-modules-5.4.0-26-generic
- linux-modules-extra-5.4.0-26-generic qml-module-qtgraphicaleffects
- qml-module-qtquick-controls qml-module-qtquick-dialogs
- qml-module-qtquick-layouts qml-module-qtquick-privatewidgets
- qml-module-qtquick-window2 qml-module-qtquick2 qt5-gtk-platformtheme
- qttranslations5-l10n shim
- Use 'apt autoremove' to remove them.
- 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
- DEBCHECK debOK, grub-efi-amd64-signed
- DEBCHECK debOK
- shim-signed available
- Please type: sudo dpkg --configure -ansudo apt-get install -fynsudo apt-get purge --allow-remove-essential -y grub*-common shim-signed
- shim-signed available
- linux-headers-generic available
- linux-signed-generic NOT available (apt-cache policy problem)
- Then type: sudo apt-get install -y grub-efi-amd64-signed os-prober shim-signed linux-headers-generic
- Unhide GRUB boot menu in sda5/etc/default/grub
- ==== Reinstall the grub-efi-amd64-signed os-prober shim-signed linux-headers-generic of sda5 =====
- grub-install --version
- grub-install (GRUB) 2.04-1ubuntu26.13
- efibootmgr -v from chroot before grub install
- BootCurrent: 0001
- Timeout: 1 seconds
- BootOrder: 0001,0000,0002,0003
- Boot0000* Windows Boot Manager HD(1,GPT,0cb200fa-3ed1-4c24-a968-2c366f8173fb,0x800,0x32000)/File(EFIMICROSOFTBOOTBOOTMGFW.EFI)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...,................
- Boot0001* ubuntu HD(1,GPT,0cb200fa-3ed1-4c24-a968-2c366f8173fb,0x800,0x32000)/File(EFIUBUNTUSHIMX64.EFI)
- Boot0002* WDC WDS250G2B0A BBS(HD,,0x0)..BO
- Boot0003* WDC WD10EZEX-22MFCA0 BBS(HD,,0x0)..BO
- uname -r
- 5.11.0-38-generic
- grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot
- 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/shimx64.efi /boot/efi/EFI/Boot/bootx64.efi
- cp /boot/efi/EFI/ubuntu/grubx64.efi /boot/efi/EFI/Boot/
- grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot
- Installing for x86_64-efi platform.
- Installation finished. No error reported.
- efibootmgr -v from chroot after grub install
- BootCurrent: 0001
- Timeout: 1 seconds
- BootOrder: 0001,0000,0002,0003
- Boot0000* Windows Boot Manager HD(1,GPT,0cb200fa-3ed1-4c24-a968-2c366f8173fb,0x800,0x32000)/File(EFIMICROSOFTBOOTBOOTMGFW.EFI)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...,................
- Boot0001* ubuntu HD(1,GPT,0cb200fa-3ed1-4c24-a968-2c366f8173fb,0x800,0x32000)/File(EFIubuntushimx64.efi)
- Boot0002* WDC WDS250G2B0A BBS(HD,,0x0)..BO
- Boot0003* WDC WD10EZEX-22MFCA0 BBS(HD,,0x0)..BO
- update-grub
- Sourcing file `/etc/default/grub'
- Sourcing file `/etc/default/grub.d/init-select.cfg'
- Generating grub configuration file ...
- Found linux image: /boot/vmlinuz-5.11.0-38-generic
- Found initrd image: /boot/initrd.img-5.11.0-38-generic
- Found linux image: /boot/vmlinuz-5.4.0-42-generic
- Found initrd image: /boot/initrd.img-5.4.0-42-generic
- Found linux image: /boot/vmlinuz-5.4.0-26-generic
- Found initrd image: /boot/initrd.img-5.4.0-26-generic
- File descriptor 63 (pipe:[67723]) leaked on lvs invocation. Parent PID 21431: /bin/sh
- 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 sda5/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 20.04.3 LTS CurrentSession entry (sda1/EFI/ubuntu/shimx64.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\shimx64.efi
- ============================ Boot Info After Repair ============================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement