Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- boot-repair-4ppa125 [20210706_1757]
- ============================== Boot Info Summary ===============================
- => Windows 7/8/2012 is installed in the MBR of /dev/nvme0n1.
- => Windows 7/8/2012 is installed in the MBR of /dev/sda.
- => No boot loader is installed in the MBR of /dev/sdc.
- nvme0n1p1: _____________________________________________________________________
- File system:
- Boot sector type: -
- Boot sector info:
- nvme0n1p2: _____________________________________________________________________
- File system: ntfs
- Boot sector type: Windows 8/2012: NTFS
- Boot sector info: No errors found in the Boot Parameter Block.
- Operating System: Windows 8 or 10
- Boot files: /Windows/System32/winload.exe
- nvme0n1p3: _____________________________________________________________________
- File system: vfat
- Boot sector type: FAT32
- Boot sector info: According to the info in the boot sector, nvme0n1p3
- starts at sector 1819303936. But according to the info
- from fdisk, nvme0n1p3 starts at sector 1709330432.
- Operating System:
- Boot files: /efi/Boot/bootx64.efi /efi/Microsoft/Boot/bootmgfw.efi
- /efi/Microsoft/Boot/bootmgr.efi
- /efi/Microsoft/Boot/memtest.efi
- nvme0n1p4: _____________________________________________________________________
- File system: ext4
- Boot sector type: -
- Boot sector info:
- Operating System: Ubuntu 18.04.5 LTS
- Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
- sda1: __________________________________________________________________________
- File system:
- Boot sector type: -
- Boot sector info:
- sda2: __________________________________________________________________________
- File system: ntfs
- Boot sector type: Windows 8/2012: NTFS
- Boot sector info: No errors found in the Boot Parameter Block.
- Operating System:
- Boot files:
- sdc1: __________________________________________________________________________
- File system: vfat
- Boot sector type: -
- Boot sector info: No errors found in the Boot Parameter Block.
- Operating System:
- Boot files:
- sdb: ___________________________________________________________________________
- File system: iso9660
- Boot sector type: Unknown
- Boot sector info:
- Operating System:
- Boot files: /boot/grub/grub.cfg
- ================================ 2 OS detected =================================
- OS#1: Ubuntu 18.04.5 LTS on nvme0n1p4
- OS#2: Windows 8 or 10 on nvme0n1p2
- ============================ Architecture/Host Info ============================
- CPU architecture: 64-bit
- Live-session OS is Ubuntu 64-bit (Boot-Repair-Disk 64bit 20200604, bionic, x86_64)
- ===================================== UEFI =====================================
- BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
- SecureBoot disabled.
- efibootmgr -v
- BootCurrent: 0005
- Timeout: 1 seconds
- BootOrder: 0005,0003,0001,0004
- Boot0000* Windows Boot Manager HD(3,GPT,45e23545-9a49-4bd6-bae9-0676c0a78d76,0x6c706000,0x100800)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.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* Windows Boot Manager HD(3,GPT,d1740fbe-eb76-425b-88dd-ed822456d905,0x65e25000,0x100800)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)..BO
- Boot0003* UEFI: Generic-Multiple Reader 1.11, Partition 1 PciRoot(0x0)/Pci(0x1,0x2)/Pci(0x0,0x0)/USB(10,0)/USB(0,0)/HD(1,MBR,0x0,0x2000,0x39d2000)..BO
- Boot0004* UEFI: USB Flash Memory6.50 PciRoot(0x0)/Pci(0x1,0x2)/Pci(0x0,0x0)/USB(7,0)/CDROM(1,0x3c4,0x4d00)..BO
- Boot0005* UEFI: USB Flash Memory6.50, Partition 2 PciRoot(0x0)/Pci(0x1,0x2)/Pci(0x0,0x0)/USB(7,0)/HD(2,MBR,0x2c534026,0x3c4,0x1340)..BO
- 21d11860807dda64c7ffa7b5aae65044 nvme0n1p3/Boot/bootx64.efi
- 21d11860807dda64c7ffa7b5aae65044 nvme0n1p3/Microsoft/Boot/bootmgfw.efi
- 8419000ecdb98d3e8e891bbd8f1e10e9 nvme0n1p3/Microsoft/Boot/bootmgr.efi
- ============================= Drive/Partition Info =============================
- Disks info: ____________________________________________________________________
- nvme0n1 : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
- sda : is-GPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, 34 sectors * 512 bytes
- sdc : notGPT, no-BIOSboot, has-noESP, usb-disk, not-mmc, no-os, 2048 sectors * 512 bytes
- Partitions info (1/3): _________________________________________________________
- nvme0n1p2 : is-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
- nvme0n1p3 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
- nvme0n1p4 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, farbios
- sda2 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
- sdc1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
- Partitions info (2/3): _________________________________________________________
- nvme0n1p2 : isnotESP, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, no-bmgr, notwinboot
- nvme0n1p3 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
- nvme0n1p4 : isnotESP, fstab-has-bad-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
- sda2 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
- sdc1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
- Partitions info (3/3): _________________________________________________________
- nvme0n1p2 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, nvme0n1
- nvme0n1p3 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, nvme0n1
- nvme0n1p4 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, customized, nvme0n1
- sda2 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
- sdc1 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sdc
- fdisk -l (filtered): ___________________________________________________________
- Disk nvme0n1: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
- Disk identifier: 6774AEB4-EE68-4941-9411-1520AE430536
- Start End Sectors Size Type
- nvme0n1p1 2048 34815 32768 16M Microsoft reserved
- nvme0n1p2 34816 1709330431 1709295616 815.1G Microsoft basic data
- nvme0n1p3 1709330432 1710381055 1050624 513M EFI System
- nvme0n1p4 1710381056 1953523711 243142656 116G Linux filesystem
- Disk sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
- Disk identifier: AF7743F4-83B0-4F22-B196-7DEFCD3D3B08
- Start End Sectors Size Type
- sda1 34 32767 32734 16M Microsoft reserved
- sda2 32768 976771071 976738304 465.8G Microsoft basic data
- Disk sdb: 953.5 MiB, 999816704 bytes, 1952767 sectors
- Disk identifier: 0x2c534026
- Boot Start End Sectors Size Id Type
- sdb1 * 0 1802239 1802240 880M 0 Empty
- sdb2 964 5891 4928 2.4M ef EFI (FAT-12/16/32)
- Disk sdc: 28.9 GiB, 31046238208 bytes, 60637184 sectors
- Disk identifier: 0x00000000
- Boot Start End Sectors Size Id Type
- sdc1 8192 60637183 60628992 28.9G c W95 FAT32 (LBA)
- Disk zram0: 499.4 MiB, 523644928 bytes, 127843 sectors
- Disk zram1: 499.4 MiB, 523644928 bytes, 127843 sectors
- Disk zram2: 499.4 MiB, 523644928 bytes, 127843 sectors
- Disk zram3: 499.4 MiB, 523644928 bytes, 127843 sectors
- Disk zram4: 499.4 MiB, 523644928 bytes, 127843 sectors
- Disk zram5: 499.4 MiB, 523644928 bytes, 127843 sectors
- Disk zram6: 499.4 MiB, 523644928 bytes, 127843 sectors
- Disk zram7: 499.4 MiB, 523644928 bytes, 127843 sectors
- Disk zram8: 499.4 MiB, 523644928 bytes, 127843 sectors
- Disk zram9: 499.4 MiB, 523644928 bytes, 127843 sectors
- Disk zram10: 499.4 MiB, 523644928 bytes, 127843 sectors
- Disk zram11: 499.4 MiB, 523644928 bytes, 127843 sectors
- Disk zram12: 499.4 MiB, 523644928 bytes, 127843 sectors
- Disk zram13: 499.4 MiB, 523644928 bytes, 127843 sectors
- Disk zram14: 499.4 MiB, 523644928 bytes, 127843 sectors
- Disk zram15: 499.4 MiB, 523644928 bytes, 127843 sectors
- parted -lm (filtered): _________________________________________________________
- sda:500GB:scsi:512:512:gpt:ATA WDC WD5000AAKX-2:;
- 1:17.4kB:16.8MB:16.8MB::Microsoft reserved partition:msftres;
- 2:16.8MB:500GB:500GB:ntfs:Basic data partition:msftdata;
- sdb:1000MB:scsi:512:512:msdos: USB Flash Memory:;
- 2:494kB:3017kB:2523kB:::esp;
- sdc:31.0GB:scsi:512:512:msdos:Generic- Multiple Reader:;
- 1:4194kB:31.0GB:31.0GB:fat32::lba;
- nvme0n1:1000GB:nvme:512:512:gpt:WDC WDS100T2B0C-00PXH0:;
- 1:1049kB:17.8MB:16.8MB::Microsoft reserved partition:msftres;
- 2:17.8MB:875GB:875GB:ntfs:Basic data partition:msftdata;
- 3:875GB:876GB:538MB:fat32::boot, esp;
- 4:876GB:1000GB:124GB:ext4::;
- zram5:524MB:unknown:4096:4096:loop:Unknown:;
- 1:0.00B:524MB:524MB:linux-swap(v1)::;
- zram11:524MB:unknown:4096:4096:loop:Unknown:;
- 1:0.00B:524MB:524MB:linux-swap(v1)::;
- zram3:524MB:unknown:4096:4096:loop:Unknown:;
- 1:0.00B:524MB:524MB:linux-swap(v1)::;
- zram1:524MB:unknown:4096:4096:loop:Unknown:;
- 1:0.00B:524MB:524MB:linux-swap(v1)::;
- zram8:524MB:unknown:4096:4096:loop:Unknown:;
- 1:0.00B:524MB:524MB:linux-swap(v1)::;
- zram14:524MB:unknown:4096:4096:loop:Unknown:;
- 1:0.00B:524MB:524MB:linux-swap(v1)::;
- zram6:524MB:unknown:4096:4096:loop:Unknown:;
- 1:0.00B:524MB:524MB:linux-swap(v1)::;
- zram12:524MB:unknown:4096:4096:loop:Unknown:;
- 1:0.00B:524MB:524MB:linux-swap(v1)::;
- zram4:524MB:unknown:4096:4096:loop:Unknown:;
- 1:0.00B:524MB:524MB:linux-swap(v1)::;
- zram10:524MB:unknown:4096:4096:loop:Unknown:;
- 1:0.00B:524MB:524MB:linux-swap(v1)::;
- zram2:524MB:unknown:4096:4096:loop:Unknown:;
- 1:0.00B:524MB:524MB:linux-swap(v1)::;
- zram0:524MB:unknown:4096:4096:loop:Unknown:;
- 1:0.00B:524MB:524MB:linux-swap(v1)::;
- zram9:524MB:unknown:4096:4096:loop:Unknown:;
- 1:0.00B:524MB:524MB:linux-swap(v1)::;
- zram15:524MB:unknown:4096:4096:loop:Unknown:;
- 1:0.00B:524MB:524MB:linux-swap(v1)::;
- zram7:524MB:unknown:4096:4096:loop:Unknown:;
- 1:0.00B:524MB:524MB:linux-swap(v1)::;
- zram13:524MB:unknown:4096:4096:loop:Unknown:;
- 1:0.00B:524MB:524MB:linux-swap(v1)::;
- blkid (filtered): ______________________________________________________________
- NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
- sda
- ├─sda1 ae88bc71-d0df-452c-b245-ac6d56a50af0 Microsoft reserved partition
- └─sda2 ntfs 66CA1E04CA1DD163 57d131d8-69c3-4cfd-9dc9-a7cfd9d21df2 Disk1 Basic data partition
- sdb iso9660 2020-06-13-00-42-55-00 Boot-Repair-Disk 64bit
- ├─sdb1 iso9660 2020-06-13-00-42-55-00 2c534026-01 Boot-Repair-Disk 64bit
- └─sdb2 vfat D055-8513 2c534026-02 Boot-Repair-Disk 64bit
- sdc
- └─sdc1 vfat 594C-0000 H4N_SD
- zram0
- zram1
- zram2
- zram3
- zram4
- zram5
- zram6
- zram7
- zram8
- zram9
- zram10
- zram11
- zram12
- zram13
- zram14
- zram15
- nvme0n1
- ├─nvme0n1p1 e946479e-7c56-4de7-8a08-a0caf9c1e0de Microsoft reserved partition
- ├─nvme0n1p2 ntfs EE88909F8890683B 928e3d97-0603-4071-b828-c0c703a88ca9 Basic data partition
- ├─nvme0n1p3 vfat B5E5-9ADC d1740fbe-eb76-425b-88dd-ed822456d905
- └─nvme0n1p4 ext4 da96356d-143e-439b-85a1-d082b31663f7 94911eea-191b-44b7-97a4-7c6366e2b7ec
- df (filtered): _________________________________________________________________
- Avail Use% Mounted on
- nvme0n1p2 783.2G 4% /mnt/boot-sav/nvme0n1p2
- nvme0n1p3 485.3M 5% /mnt/boot-sav/nvme0n1p3
- nvme0n1p4 59.1G 43% /mnt/boot-sav/nvme0n1p4
- sda2 85.8G 82% /mnt/boot-sav/sda2
- sdb 0 100% /cdrom
- sdc1 25.2G 13% /media/lubuntu/H4N_SD
- Mount options: __________________________________________________________________
- nvme0n1p2 ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
- nvme0n1p3 rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
- nvme0n1p4 rw,relatime
- sda2 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
- sdb ro,noatime,nojoliet,check=s,map=n,blocksize=2048
- sdc1 rw,nosuid,nodev,relatime,uid=999,gid=999,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro
- =================== nvme0n1p4/boot/grub/grub.cfg (filtered) ====================
- Windows Boot Manager (on nvme0n1p2) osprober-efi-C4E8-7ED6
- ### END /etc/grub.d/30_os-prober_proxy ###
- Ubuntu da96356d-143e-439b-85a1-d082b31663f7
- System setup uefi-firmware
- ======================== nvme0n1p4/etc/fstab (filtered) ========================
- # <file system> <mount point> <type> <options> <dump> <pass>
- # / was on /dev/sda4 during installation
- UUID=da96356d-143e-439b-85a1-d082b31663f7 / ext4 errors=remount-ro 0 1
- # /boot/efi was on /dev/nvme0n1p2 during installation
- UUID=C4E8-7ED6 /boot/efi vfat umask=0077 0 1
- /swapfile none swap sw 0 0
- /swapfile swap swap defaults 0 0
- ==================== nvme0n1p4/etc/default/grub (filtered) =====================
- GRUB_DEFAULT="Windows Boot Manager (on /dev/nvme0n1p2)"
- GRUB_TIMEOUT_STYLE="hidden"
- GRUB_TIMEOUT=7
- GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`"
- GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
- GRUB_CMDLINE_LINUX=""
- GRUB_GFXMODE="1920x1080"
- export GRUB_COLOR_NORMAL="white/black"
- export GRUB_COLOR_HIGHLIGHT="cyan/black"
- ================= nvme0n1p4: Location of files loaded by Grub ==================
- GiB - GB File Fragment(s)
- 854.641609192 = 917.664440320 boot/grub/grub.cfg 2
- 824.018608093 = 884.783243264 boot/vmlinuz-4.15.0-144-generic 1
- 843.182613373 = 905.360437248 boot/vmlinuz-4.15.0-147-generic 2
- 843.182613373 = 905.360437248 vmlinuz 2
- 824.018608093 = 884.783243264 vmlinuz.old 1
- 824.674777985 = 885.487800320 boot/initrd.img-4.15.0-144-generic 5
- 838.448238373 = 900.276940800 boot/initrd.img-4.15.0-147-generic 5
- 838.448238373 = 900.276940800 initrd.img 5
- 824.674777985 = 885.487800320 initrd.img.old 5
- =================== nvme0n1p4: ls -l /etc/grub.d/ (filtered) ===================
- -rwxr-xr-x 1 root root 698 May 25 06:36 10_linux_proxy
- -rwxr-xr-x 1 root root 202 May 25 06:36 30_os-prober_proxy
- -rwxr-xr-x 1 root root 698 May 25 06:36 31_linux_proxy
- -rwxr-xr-x 1 root root 11298 Jul 17 2018 32_linux_xen
- -rwxr-xr-x 1 root root 1992 Jan 28 2016 33_memtest86+
- -rwxr-xr-x 1 root root 202 May 25 06:36 34_os-prober_proxy
- -rwxr-xr-x 1 root root 1418 Jul 17 2018 35_uefi-firmware
- -rwxr-xr-x 1 root root 214 Jul 17 2018 40_custom
- -rwxr-xr-x 1 root root 216 Jul 17 2018 41_custom
- drwxr-xr-x 4 root root 4096 Feb 21 2020 backup
- drwxr-xr-x 2 root root 4096 Feb 21 2020 bin
- drwxr-xr-x 2 root root 4096 May 25 06:36 proxifiedScripts
- ===================== nvme0n1p4/etc/grub.d/31_linux_proxy ======================
- #!/bin/sh
- #THIS IS A GRUB PROXY SCRIPT
- '/etc/grub.d/proxifiedScripts/linux' | /etc/grub.d/bin/grubcfg_proxy "+'Ubuntu'~a3bb88a482e0bb61a68738a4d44603cf~
- -*
- -#text
- -'SUBMENU' as 'Advanced options for Ubuntu'{-'Advanced options for Ubuntu'/*, -'Advanced options for Ubuntu'/'Ubuntu, with Linux 4.15.0-143-generic'~d02ad9c4a43e34af165812af9fa7c6d9~, -'Advanced options for Ubuntu'/'Ubuntu, with Linux 4.15.0-143-generic (recovery mode)'~ae03109f35db40bff234504fdf997dd7~, -'Advanced options for Ubuntu'/'Ubuntu, with Linux 4.15.0-142-generic'~75a159db76232e4d8ee58c151febc056~, -'Advanced options for Ubuntu'/'Ubuntu, with Linux 4.15.0-142-generic (recovery mode)'~a63b22964d6064744c1edeab051076dd~}
- "
- ====================== nvme0n1p4/etc/grub.d/32_linux_xen =======================
- #! /bin/sh
- set -e
- # grub-mkconfig helper script.
- # Copyright (C) 2006,2007,2008,2009,2010 Free Software Foundation, Inc.
- #
- # GRUB is free software: you can redistribute it and/or modify
- # it under the terms of the GNU General Public License as published by
- # the Free Software Foundation, either version 3 of the License, or
- # (at your option) any later version.
- #
- # GRUB is distributed in the hope that it will be useful,
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- # GNU General Public License for more details.
- #
- # You should have received a copy of the GNU General Public License
- # along with GRUB. If not, see <http://www.gnu.org/licenses/>.
- prefix="/usr"
- exec_prefix="/usr"
- datarootdir="/usr/share"
- . "$pkgdatadir/grub-mkconfig_lib"
- export TEXTDOMAIN=grub
- export TEXTDOMAINDIR="${datarootdir}/locale"
- CLASS="--class gnu-linux --class gnu --class os --class xen"
- SUPPORTED_INITS="sysvinit:/lib/sysvinit/init systemd:/lib/systemd/systemd upstart:/sbin/upstart"
- if [ "x${GRUB_DISTRIBUTOR}" = "x" ] ; then
- OS=GNU/Linux
- else
- OS="${GRUB_DISTRIBUTOR} GNU/Linux"
- CLASS="--class $(echo ${GRUB_DISTRIBUTOR} | tr 'A-Z' 'a-z' | cut -d' ' -f1|LC_ALL=C sed 's,[^[:alnum:]_],_,g') ${CLASS}"
- fi
- # loop-AES arranges things so that /dev/loop/X can be our root device, but
- # the initrds that Linux uses don't like that.
- case ${GRUB_DEVICE} in
- /dev/loop/*|/dev/loop[0-9])
- GRUB_DEVICE=`losetup ${GRUB_DEVICE} | sed -e "s/^[^(]*(\([^)]\+\)).*/\1/"`
- # We can't cope with devices loop-mounted from files here.
- case ${GRUB_DEVICE} in
- /dev/*) ;;
- *) exit 0 ;;
- esac
- ;;
- esac
- # btrfs may reside on multiple devices. We cannot pass them as value of root= parameter
- # and mounting btrfs requires user space scanning, so force UUID in this case.
- if [ "x${GRUB_DEVICE_UUID}" = "x" ] || [ "x${GRUB_DISABLE_LINUX_UUID}" = "xtrue" ] \
- || ! test -e "/dev/disk/by-uuid/${GRUB_DEVICE_UUID}" \
- || ( test -e "${GRUB_DEVICE}" && uses_abstraction "${GRUB_DEVICE}" lvm ); then
- LINUX_ROOT_DEVICE=${GRUB_DEVICE}
- else
- LINUX_ROOT_DEVICE=UUID=${GRUB_DEVICE_UUID}
- fi
- # Allow overriding GRUB_CMDLINE_LINUX and GRUB_CMDLINE_LINUX_DEFAULT.
- if [ "${GRUB_CMDLINE_LINUX_XEN_REPLACE}" ]; then
- GRUB_CMDLINE_LINUX="${GRUB_CMDLINE_LINUX_XEN_REPLACE}"
- fi
- if [ "${GRUB_CMDLINE_LINUX_XEN_REPLACE_DEFAULT}" ]; then
- GRUB_CMDLINE_LINUX_DEFAULT="${GRUB_CMDLINE_LINUX_XEN_REPLACE_DEFAULT}"
- fi
- case x"$GRUB_FS" in
- xbtrfs)
- rootsubvol="`make_system_path_relative_to_its_root /`"
- rootsubvol="${rootsubvol#/}"
- if [ "x${rootsubvol}" != x ]; then
- GRUB_CMDLINE_LINUX="rootflags=subvol=${rootsubvol} ${GRUB_CMDLINE_LINUX}"
- fi;;
- xzfs)
- rpool=`${grub_probe} --device ${GRUB_DEVICE} --target=fs_label 2>/dev/null || true`
- bootfs="`make_system_path_relative_to_its_root / | sed -e "s,@$,,"`"
- LINUX_ROOT_DEVICE="ZFS=${rpool}${bootfs}"
- ;;
- esac
- title_correction_code=
- linux_entry ()
- {
- os="$1"
- version="$2"
- xen_version="$3"
- type="$4"
- args="$5"
- xen_args="$6"
- if [ -z "$boot_device_id" ]; then
- boot_device_id="$(grub_get_device_id "${GRUB_DEVICE}")"
- fi
- if [ x$type != xsimple ] ; then
- if [ x$type = xrecovery ] ; then
- title="$(gettext_printf "%s, with Xen %s and Linux %s (%s)" "${os}" "${xen_version}" "${version}" "$(gettext "${GRUB_RECOVERY_TITLE}")")"
- elif [ "${type#init-}" != "$type" ] ; then
- title="$(gettext_printf "%s, with Xen %s and Linux %s (%s)" "${os}" "${xen_version}" "${version}" "${type#init-}")"
- else
- title="$(gettext_printf "%s, with Xen %s and Linux %s" "${os}" "${xen_version}" "${version}")"
- fi
- replacement_title="$(echo "Advanced options for ${OS}" | sed 's,>,>>,g')>$(echo "$title" | sed 's,>,>>,g')"
- if [ x"Xen ${xen_version}>$title" = x"$GRUB_ACTUAL_DEFAULT" ]; then
- quoted="$(echo "$GRUB_ACTUAL_DEFAULT" | grub_quote)"
- title_correction_code="${title_correction_code}if [ \"x\$default\" = '$quoted' ]; then default='$(echo "$replacement_title" | grub_quote)'; fi;"
- grub_warn "$(gettext_printf "Please don't use old title \`%s' for GRUB_DEFAULT, use \`%s' (for versions before 2.00) or \`%s' (for 2.00 or later)" "$GRUB_ACTUAL_DEFAULT" "$replacement_title" "gnulinux-advanced-$boot_device_id>gnulinux-$version-$type-$boot_device_id")"
- fi
- echo "menuentry '$(echo "$title" | grub_quote)' ${CLASS} \$menuentry_id_option 'xen-gnulinux-$version-$type-$boot_device_id' {" | sed "s/^/$submenu_indentation/"
- else
- title="$(gettext_printf "%s, with Xen hypervisor" "${os}")"
- echo "menuentry '$(echo "$title" | grub_quote)' ${CLASS} \$menuentry_id_option 'xen-gnulinux-simple-$boot_device_id' {" | sed "s/^/$submenu_indentation/"
- fi
- if [ x$type != xrecovery ] ; then
- save_default_entry | grub_add_tab | sed "s/^/$submenu_indentation/"
- fi
- if [ -z "${prepare_boot_cache}" ]; then
- prepare_boot_cache="$(prepare_grub_to_access_device ${GRUB_DEVICE_BOOT} | grub_add_tab)"
- fi
- printf '%s\n' "${prepare_boot_cache}" | sed "s/^/$submenu_indentation/"
- xmessage="$(gettext_printf "Loading Xen %s ..." ${xen_version})"
- lmessage="$(gettext_printf "Loading Linux %s ..." ${version})"
- sed "s/^/$submenu_indentation/" << EOF
- echo '$(echo "$xmessage" | grub_quote)'
- if [ "\$grub_platform" = "pc" -o "\$grub_platform" = "" ]; then
- xen_rm_opts=
- else
- xen_rm_opts="no-real-mode edd=off"
- fi
- multiboot ${rel_xen_dirname}/${xen_basename} placeholder ${xen_args} \${xen_rm_opts}
- echo '$(echo "$lmessage" | grub_quote)'
- module ${rel_dirname}/${basename} placeholder root=${linux_root_device_thisversion} ro ${args}
- EOF
- if test -n "${initrd}" ; then
- # TRANSLATORS: ramdisk isn't identifier. Should be translated.
- message="$(gettext_printf "Loading initial ramdisk ...")"
- sed "s/^/$submenu_indentation/" << EOF
- echo '$(echo "$message" | grub_quote)'
- module --nounzip ${rel_dirname}/${initrd}
- EOF
- fi
- sed "s/^/$submenu_indentation/" << EOF
- }
- EOF
- }
- linux_list=
- for i in /boot/vmlinu[xz]-* /vmlinu[xz]-* /boot/kernel-*; do
- if grub_file_is_not_garbage "$i"; then
- basename=$(basename $i)
- version=$(echo $basename | sed -e "s,^[^0-9]*-,,g")
- dirname=$(dirname $i)
- config=
- for j in "${dirname}/config-${version}" "${dirname}/config-${alt_version}" "/etc/kernels/kernel-config-${version}" ; do
- if test -e "${j}" ; then
- config="${j}"
- break
- fi
- done
- if (grep -qx "CONFIG_XEN_DOM0=y" "${config}" 2> /dev/null || grep -qx "CONFIG_XEN_PRIVILEGED_GUEST=y" "${config}" 2> /dev/null); then linux_list="$linux_list $i" ; fi
- fi
- done
- if [ "x${linux_list}" = "x" ] ; then
- exit 0
- fi
- file_is_not_sym () {
- case "$1" in
- */xen-syms-*)
- return 1;;
- *)
- return 0;;
- esac
- }
- xen_list=
- for i in /boot/xen*; do
- if grub_file_is_not_garbage "$i" && file_is_not_sym "$i" ; then xen_list="$xen_list $i" ; fi
- done
- prepare_boot_cache=
- boot_device_id=
- title_correction_code=
- machine=`uname -m`
- case "$machine" in
- i?86) GENKERNEL_ARCH="x86" ;;
- mips|mips64) GENKERNEL_ARCH="mips" ;;
- mipsel|mips64el) GENKERNEL_ARCH="mipsel" ;;
- arm*) GENKERNEL_ARCH="arm" ;;
- *) GENKERNEL_ARCH="$machine" ;;
- esac
- # Extra indentation to add to menu entries in a submenu. We're not in a submenu
- # yet, so it's empty. In a submenu it will be equal to '\t' (one tab).
- submenu_indentation=""
- is_top_level=true
- while [ "x${xen_list}" != "x" ] ; do
- list="${linux_list}"
- current_xen=`version_find_latest $xen_list`
- xen_basename=`basename ${current_xen}`
- xen_dirname=`dirname ${current_xen}`
- rel_xen_dirname=`make_system_path_relative_to_its_root $xen_dirname`
- xen_version=`echo $xen_basename | sed -e "s,.gz$,,g;s,^xen-,,g"`
- if [ -z "$boot_device_id" ]; then
- boot_device_id="$(grub_get_device_id "${GRUB_DEVICE}")"
- fi
- if [ "x$is_top_level" != xtrue ]; then
- echo " submenu '$(gettext_printf "Xen hypervisor, version %s" "${xen_version}" | grub_quote)' \$menuentry_id_option 'xen-hypervisor-$xen_version-$boot_device_id' {"
- fi
- while [ "x$list" != "x" ] ; do
- linux=`version_find_latest $list`
- gettext_printf "Found linux image: %s\n" "$linux" >&2
- basename=`basename $linux`
- dirname=`dirname $linux`
- rel_dirname=`make_system_path_relative_to_its_root $dirname`
- version=`echo $basename | sed -e "s,^[^0-9]*-,,g"`
- alt_version=`echo $version | sed -e "s,\.old$,,g"`
- linux_root_device_thisversion="${LINUX_ROOT_DEVICE}"
- initrd=
- for i in "initrd.img-${version}" "initrd-${version}.img" "initrd-${version}.gz" \
- "initrd-${version}" "initramfs-${version}.img" \
- "initrd.img-${alt_version}" "initrd-${alt_version}.img" \
- "initrd-${alt_version}" "initramfs-${alt_version}.img" \
- "initramfs-genkernel-${version}" \
- "initramfs-genkernel-${alt_version}" \
- "initramfs-genkernel-${GENKERNEL_ARCH}-${version}" \
- "initramfs-genkernel-${GENKERNEL_ARCH}-${alt_version}" ; do
- if test -e "${dirname}/${i}" ; then
- initrd="$i"
- break
- fi
- done
- if test -n "${initrd}" ; then
- gettext_printf "Found initrd image: %s\n" "${dirname}/${initrd}" >&2
- else
- # "UUID=" magic is parsed by initrds. Since there's no initrd, it can't work here.
- linux_root_device_thisversion=${GRUB_DEVICE}
- fi
- if [ "x$is_top_level" = xtrue ] && [ "x${GRUB_DISABLE_SUBMENU}" != xy ]; then
- linux_entry "${OS}" "${version}" "${xen_version}" simple \
- "${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}" "${GRUB_CMDLINE_XEN} ${GRUB_CMDLINE_XEN_DEFAULT}"
- submenu_indentation="$grub_tab$grub_tab"
- if [ -z "$boot_device_id" ]; then
- boot_device_id="$(grub_get_device_id "${GRUB_DEVICE}")"
- fi
- # TRANSLATORS: %s is replaced with an OS name
- echo "submenu '$(gettext_printf "Advanced options for %s (with Xen hypervisor)" "${OS}" | grub_quote)' \$menuentry_id_option 'gnulinux-advanced-$boot_device_id' {"
- echo " submenu '$(gettext_printf "Xen hypervisor, version %s" "${xen_version}" | grub_quote)' \$menuentry_id_option 'xen-hypervisor-$xen_version-$boot_device_id' {"
- is_top_level=false
- fi
- linux_entry "${OS}" "${version}" "${xen_version}" advanced \
- "${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}" "${GRUB_CMDLINE_XEN} ${GRUB_CMDLINE_XEN_DEFAULT}"
- for supported_init in ${SUPPORTED_INITS}; do
- init_path="${supported_init#*:}"
- if [ -x "${init_path}" ] && [ "$(readlink -f /sbin/init)" != "$(readlink -f "${init_path}")" ]; then
- linux_entry "${OS}" "${version}" "${xen_version}" "init-${supported_init%%:*}" \
- "${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT} init=${init_path}" "${GRUB_CMDLINE_XEN} ${GRUB_CMDLINE_XEN_DEFAULT}"
- fi
- done
- if [ "x${GRUB_DISABLE_RECOVERY}" != "xtrue" ]; then
- linux_entry "${OS}" "${version}" "${xen_version}" recovery \
- "single ${GRUB_CMDLINE_LINUX}" "${GRUB_CMDLINE_XEN}"
- fi
- list=`echo $list | tr ' ' '\n' | fgrep -vx "$linux" | tr '\n' ' '`
- done
- if [ x"$is_top_level" != xtrue ]; then
- echo ' }'
- fi
- xen_list=`echo $xen_list | tr ' ' '\n' | fgrep -vx "$current_xen" | tr '\n' ' '`
- done
- # If at least one kernel was found, then we need to
- # add a closing '}' for the submenu command.
- if [ x"$is_top_level" != xtrue ]; then
- echo '}'
- fi
- echo "$title_correction_code"
- =================== nvme0n1p4/etc/grub.d/34_os-prober_proxy ====================
- #!/bin/sh
- #THIS IS A GRUB PROXY SCRIPT
- '/etc/grub.d/proxifiedScripts/os-prober' | /etc/grub.d/bin/grubcfg_proxy "-'Windows Boot Manager (on /dev/nvme0n1p2)'~08bd613906cf5f38f6f7cf6f4e212aa6~
- +*
- +#text
- "
- ==================== nvme0n1p4/etc/grub.d/35_uefi-firmware =====================
- #! /bin/sh
- set -e
- # grub-mkconfig helper script.
- # Copyright (C) 2012 Free Software Foundation, Inc.
- #
- # GRUB is free software: you can redistribute it and/or modify
- # it under the terms of the GNU General Public License as published by
- # the Free Software Foundation, either version 3 of the License, or
- # (at your option) any later version.
- #
- # GRUB is distributed in the hope that it will be useful,
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- # GNU General Public License for more details.
- #
- # You should have received a copy of the GNU General Public License
- # along with GRUB. If not, see <http://www.gnu.org/licenses/>.
- prefix="/usr"
- exec_prefix="/usr"
- datarootdir="/usr/share"
- export TEXTDOMAIN=grub
- export TEXTDOMAINDIR="${datarootdir}/locale"
- . "${datarootdir}/grub/grub-mkconfig_lib"
- efi_vars_dir=/sys/firmware/efi/vars
- EFI_GLOBAL_VARIABLE=8be4df61-93ca-11d2-aa0d-00e098032b8c
- OsIndications="$efi_vars_dir/OsIndicationsSupported-$EFI_GLOBAL_VARIABLE/data"
- if [ -e "$OsIndications" ] && \
- [ "$(( $(printf 0x%x \'"$(cat $OsIndications | cut -b1)") & 1 ))" = 1 ]; then
- LABEL="System setup"
- gettext_printf "Adding boot menu entry for EFI firmware configuration\n" >&2
- onstr="$(gettext_printf "(on %s)" "${DEVICE}")"
- cat << EOF
- menuentry '$LABEL' \$menuentry_id_option 'uefi-firmware' {
- fwsetup
- }
- EOF
- fi
- ====================== sdb/boot/grub/grub.cfg (filtered) =======================
- Boot-Repair-Disk session
- Boot-Repair-Disk session (failsafe)
- ==================== sdb: Location of files loaded by Grub =====================
- GiB - GB File Fragment(s)
- ?? = ?? boot/grub/grub.cfg 1
- ======================== Unknown MBRs/Boot Sectors/etc =========================
- Unknown BootLoader on sdb
- 00000000 33 ed 90 90 90 90 90 90 90 90 90 90 90 90 90 90 |3...............|
- 00000010 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 |................|
- 00000020 33 ed fa 8e d5 bc 00 7c fb fc 66 31 db 66 31 c9 |3......|..f1.f1.|
- 00000030 66 53 66 51 06 57 8e dd 8e c5 52 be 00 7c bf 00 |fSfQ.W....R..|..|
- 00000040 06 b9 00 01 f3 a5 ea 4b 06 00 00 52 b4 41 bb aa |.......K...R.A..|
- 00000050 55 31 c9 30 f6 f9 cd 13 72 16 81 fb 55 aa 75 10 |U1.0....r...U.u.|
- 00000060 83 e1 01 74 0b 66 c7 06 f3 06 b4 42 eb 15 eb 02 |...t.f.....B....|
- 00000070 31 c9 5a 51 b4 08 cd 13 5b 0f b6 c6 40 50 83 e1 |1.ZQ....[...@P..|
- 00000080 3f 51 f7 e1 53 52 50 bb 00 7c b9 04 00 66 a1 b0 |?Q..SRP..|...f..|
- 00000090 07 e8 44 00 0f 82 80 00 66 40 80 c7 02 e2 f2 66 |[email protected]|
- 000000a0 81 3e 40 7c fb c0 78 70 75 09 fa bc ec 7b ea 44 |.>@|..xpu....{.D|
- 000000b0 7c 00 00 e8 83 00 69 73 6f 6c 69 6e 75 78 2e 62 ||.....isolinux.b|
- 000000c0 69 6e 20 6d 69 73 73 69 6e 67 20 6f 72 20 63 6f |in missing or co|
- 000000d0 72 72 75 70 74 2e 0d 0a 66 60 66 31 d2 66 03 06 |rrupt...f`f1.f..|
- 000000e0 f8 7b 66 13 16 fc 7b 66 52 66 50 06 53 6a 01 6a |.{f...{fRfP.Sj.j|
- 000000f0 10 89 e6 66 f7 36 e8 7b c0 e4 06 88 e1 88 c5 92 |...f.6.{........|
- 00000100 f6 36 ee 7b 88 c6 08 e1 41 b8 01 02 8a 16 f2 7b |.6.{....A......{|
- 00000110 cd 13 8d 64 10 66 61 c3 e8 1e 00 4f 70 65 72 61 |...d.fa....Opera|
- 00000120 74 69 6e 67 20 73 79 73 74 65 6d 20 6c 6f 61 64 |ting system load|
- 00000130 20 65 72 72 6f 72 2e 0d 0a 5e ac b4 0e 8a 3e 62 | error...^....>b|
- 00000140 04 b3 07 cd 10 3c 0a 75 f1 cd 18 f4 eb fd 00 00 |.....<.u........|
- 00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
- *
- 000001b0 04 17 00 00 00 00 00 00 26 40 53 2c 00 00 80 00 |........&@S,....|
- 000001c0 01 00 00 3f e0 6f 00 00 00 00 00 80 1b 00 00 fe |...?.o..........|
- 000001d0 ff ff ef fe ff ff c4 03 00 00 40 13 00 00 00 00 |..........@.....|
- 000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
- 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
- 00000200
- =============================== StdErr Messages ================================
- File descriptor 63 (pipe:[33533]) leaked on lvs invocation. Parent PID 2145: /bin/bash
- Suggested repair: ______________________________________________________________
- The default repair of the Boot-Repair utility would purge (in order to sign-grub) and reinstall the grub-efi-amd64-signed of
- nvme0n1p4,
- using the following options: nvme0n1p3/boot/efi,
- Additional repair would be performed: unhide-bootmenu-10s win-legacy-basic-fix use-standard-efi-file
- Confirmation request before suggested repair: __________________________________
- Warning: continuing without internet would leave your system unbootable. Please connect internet.
- Are you sure you want to continue anyway?
- Final advice in case of suggested repair: ______________________________________
- Please do not forget to make your UEFI firmware boot on the Ubuntu 18.04.5 LTS entry (nvme0n1p3/efi/****/shim****.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\****\shim****.efi (**** will be updated in the final message)
- paste.ubuntu.com ko ()
- paste.debian.net ko ()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement