求救:Ubuntu18.04 关机之后无法进入系统,用启动盘运行boot-repair修复出现error

启动讨论 grub/grub2/syslinux/grub4dos/Lilo
回复
maxdumbledore
帖子: 1
注册时间: 2021-04-04 12:14
系统: Ubuntu 18.04LTS

求救:Ubuntu18.04 关机之后无法进入系统,用启动盘运行boot-repair修复出现error

#1

帖子 maxdumbledore » 2021-04-04 12:29

双系统使用一年半了,Ubuntu18.04+Win10,前者在单独一个固态盘上,一次关机之后重新启动Ubuntu发现紫屏卡死,在GRUB界面尝试切换内核,都进不去,显示fail reading sector at XXXX或者loading initial ramdisk 之类。

使用启动盘运行boot-repair后出现error,信息在http://paste.ubuntu.com/p/PncvgcRnyt/中,内容如下

boot-repair-4ppa129 [20210402_1626]

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



Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.
grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
Windows is hibernated, refused to mount.
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Falling back to read-only mount because the NTFS partition is in an
unsafe state. Please resume and shutdown Windows fully (no hibernation
or fast restarting.)
grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
No sdc3/etc/default/grub
/usr/share/boot-sav/bs-cmd_terminal.sh: line 177: warning: command substitution: ignored null byte in input
Could not parse device path: No such file or directory

Recommended repair: ____________________________________________________________

The default repair of the Boot-Repair utility will reinstall the grub-efi-amd64-signed of
sdc3,
using the following options: sdc1/boot/efi,
Additional repair will be performed: unhide-bootmenu-10s win-legacy-basic-fix use-standard-efi-file


/boot/efi added in sdc3/fstab
Quantity of real Windows: 1
sdc3/boot/efi not empty
Mount sdc1 on /mnt/boot-sav/sdc3/boot/efi

================= Reinstall the grub-efi-amd64-signed of sdc3 ==================

grub-install --version
grub-install (GRUB) 2.02-2ubuntu8.23

efibootmgr -v from chroot before grub install
BootCurrent: 0003
Timeout: 0 seconds
BootOrder: 0000,0005,0003,2003,2001,2002
Boot0000* ubuntu HD(1,MBR,0xed3dd2cd,0x800,0x3d0000)/File(EFIubuntugrubx64.efi)
Boot0003* Linpus lite HD(1,MBR,0x5092863d,0x3cde8c,0x1340)/File(EFIBootgrubx64.efi)RC
Boot0005* Windows Boot Manager HD(1,GPT,d48027f0-7cfb-435b-af07-05f8fe83f0ba,0x800,0x82000)/File(EFIMicrosoftBootbootmgfw.efi)RC
Boot0007* EFI Network 0 for IPv4 (54-E1-AD-5C-E9-D4) PciRoot(0x0)/Pci(0x1c,0x4)/Pci(0x0,0x0)/MAC(54e1ad5ce9d4,0)/IPv4(0.0.0.00.0.0.0,0,0)RC
Boot0008* EFI Network 0 for IPv6 (54-E1-AD-5C-E9-D4) PciRoot(0x0)/Pci(0x1c,0x4)/Pci(0x0,0x0)/MAC(54e1ad5ce9d4,0)/IPv6([::]:<->[::]:,0,0)RC
Boot0009* Windows Boot Manager HD(1,GPT,d48027f0-7cfb-435b-af07-05f8fe83f0ba,0x800,0x82000)/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.}...e................
Boot2001* EFI USB Device RC
Boot2002* EFI DVD/CDROM RC
Boot2003* EFI Network RC

uname -r
5.0.0-23-generic

grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot
Installing for x86_64-efi platform.
GUID Partition Table Header signature is wrong: 0 != 5452415020494645
GUID Partition Table Header signature is wrong: 0 != 5452415020494645
GUID Partition Table Header signature is wrong: 0 != 5452415020494645
GUID Partition Table Header signature is wrong: 0 != 5452415020494645
GUID Partition Table Header signature is wrong: 0 != 5452415020494645
GUID Partition Table Header signature is wrong: 0 != 5452415020494645
Installation finished. No error reported.
df /dev/sdc1
mv /mnt/boot-sav/sdc3/boot/efi/EFI/Boot/bootx64.efi /mnt/boot-sav/sdc3/boot/efi/EFI/Boot/bkpbootx64.efi
cp /mnt/boot-sav/sdc3/boot/efi/EFI/ubuntu/grubx64.efi /mnt/boot-sav/sdc3/boot/efi/EFI/Boot/bootx64.efi
df /dev/sdb1
mv /mnt/boot-sav/sdb1/EFI/Boot/bootx64.efi /mnt/boot-sav/sdb1/EFI/Boot/bkpbootx64.efi
cp /mnt/boot-sav/sdc3/boot/efi/EFI/ubuntu/grubx64.efi /mnt/boot-sav/sdb1/EFI/Boot/bootx64.efi

grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot
Installing for x86_64-efi platform.
GUID Partition Table Header signature is wrong: 0 != 5452415020494645
GUID Partition Table Header signature is wrong: 0 != 5452415020494645
GUID Partition Table Header signature is wrong: 0 != 5452415020494645
GUID Partition Table Header signature is wrong: 0 != 5452415020494645
GUID Partition Table Header signature is wrong: 0 != 5452415020494645
GUID Partition Table Header signature is wrong: 0 != 5452415020494645
Installation finished. No error reported.

efibootmgr -v from chroot after grub install
BootCurrent: 0003
Timeout: 0 seconds
BootOrder: 0001,0000,0005,0003,2003,2001,2002
Boot0000* ubuntu HD(1,MBR,0xed3dd2cd,0x800,0x3d0000)/File(EFIubuntugrubx64.efi)
Boot0001* grub HD(1,MBR,0xed3dd2cd,0x800,0x3d0000)/File(EFIgrubgrubx64.efi)
Boot0003* Linpus lite HD(1,MBR,0x5092863d,0x3cde8c,0x1340)/File(EFIBootgrubx64.efi)RC
Boot0005* Windows Boot Manager HD(1,GPT,d48027f0-7cfb-435b-af07-05f8fe83f0ba,0x800,0x82000)/File(EFIMicrosoftBootbootmgfw.efi)RC
Boot0007* EFI Network 0 for IPv4 (54-E1-AD-5C-E9-D4) PciRoot(0x0)/Pci(0x1c,0x4)/Pci(0x0,0x0)/MAC(54e1ad5ce9d4,0)/IPv4(0.0.0.00.0.0.0,0,0)RC
Boot0008* EFI Network 0 for IPv6 (54-E1-AD-5C-E9-D4) PciRoot(0x0)/Pci(0x1c,0x4)/Pci(0x0,0x0)/MAC(54e1ad5ce9d4,0)/IPv6([::]:<->[::]:,0,0)RC
Boot0009* Windows Boot Manager HD(1,GPT,d48027f0-7cfb-435b-af07-05f8fe83f0ba,0x800,0x82000)/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.}...e................
Boot2001* EFI USB Device RC
Boot2002* EFI DVD/CDROM RC
Boot2003* EFI Network RC

chroot /mnt/boot-sav/sdc3 update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.3.0-46-generic
Found initrd image: /boot/initrd.img-5.3.0-46-generic
Found linux image: /boot/vmlinuz-5.3.0-45-generic
Found initrd image: /boot/initrd.img-5.3.0-45-generic
Found linux image: /boot/vmlinuz-5.3.0-40-generic
grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
Found Windows Boot Manager on /dev/sdb1@/efi/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for EFI firmware configuration
umount: /mnt/boot-sav/sdc3/sys: target is busy.
umount: /mnt/boot-sav/sdc3/proc: target is busy.
Windows is hibernated, refused to mount.
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Falling back to read-only mount because the NTFS partition is in an
unsafe state. Please resume and shutdown Windows fully (no hibernation
or fast restarting.)

Unhide GRUB boot menu in sdc3/boot/grub/grub.cfg

An error occurred during the repair.

You can now reboot your computer.

Please do not forget to make your UEFI firmware boot on the Ubuntu 18.04.3 LTS entry (sdc1/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 ============================

=> No boot loader is installed in the MBR of /dev/sdb.
=> Grub2 (v1.99-2.00) is installed in the MBR of /dev/sdc and looks at sector
4506408 of the same hard drive for core.img, but core.img can not be found
at this location.

sdb1: __________________________________________________________________________

File system: vfat
Boot sector type: Windows 8/2012: 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/ubuntu/fwupx64.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/memtest.efi

sdb2: __________________________________________________________________________

File system:
Boot sector type: -
Boot sector info:

sdb3: __________________________________________________________________________

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

sdb4: __________________________________________________________________________

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:

sdb5: __________________________________________________________________________

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: 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/grub/grubx64.efi
/efi/ubuntu/grubx64.efi /efi/grub/grub.cfg
/efi/ubuntu/grub.cfg

sdc2: __________________________________________________________________________

File system: Extended Partition
Boot sector type: -
Boot sector info:

sdc5: __________________________________________________________________________

File system: swap
Boot sector type: -
Boot sector info:

sdc3: __________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 18.04.3 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab

sda: ___________________________________________________________________________

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.3 LTS on sdc3
OS#2: Windows 8 or 10 on sdb3

============================ Architecture/Host Info ============================

CPU architecture: 64-bit
Live-session OS is Ubuntu 64-bit (Ubuntu 18.04.3 LTS, bionic, x86_64)


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

BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot disabled.

efibootmgr -v
BootCurrent: 0003
Timeout: 0 seconds
BootOrder: 0000,0005,0003,2003,2001,2002
Boot0003* Linpus lite HD(1,MBR,0x5092863d,0x3cde8c,0x1340)/File(\EFI\Boot\grubx64.efi)RC
Boot0005* Windows Boot Manager HD(1,GPT,d48027f0-7cfb-435b-af07-05f8fe83f0ba,0x800,0x82000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)RC
Boot0006
This session has been detected as 'live' because /proc/cmdline contains (boot=casper)
This session has been detected as 'live' because df -Th / contains overlay

f7a57b08bc7c1c85417ae4cea582d1d4 sdb1/Boot/bootx64.efi
bed45d1c9554cea09924d3814cb7c446 sdb1/Boot/fbx64.efi
256fe27540b54b71cf38110338247688 sdb1/ubuntu/fwupx64.efi
0460d855b6d422c080c1de02010c3ffd sdb1/ubuntu/grubx64.efi
4487628005555bfd4a4c0a47211e0700 sdb1/ubuntu/mmx64.efi
f7a57b08bc7c1c85417ae4cea582d1d4 sdb1/ubuntu/shimx64.efi
8a5095a5dac1aa06af9068c9fed0a3dd sdb1/Microsoft/Boot/bootmgfw.efi
a8168b0cee3c58719e2ec8d578f1298a sdb1/Microsoft/Boot/bootmgr.efi
bed45d1c9554cea09924d3814cb7c446 sdc1/BOOT/fbx64.efi
7bba633e28779000ffbadce88c4e2684 sdc1/ubuntu/grubx64.efi
7bba633e28779000ffbadce88c4e2684 sdc1/BOOT/BOOTX64.efi


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

Disks info: ____________________________________________________________________

sdb : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
sdc : notGPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sdb1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sdb3 : is-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sdb4 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sdb5 : 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
sdc3 : is-os, 64, apt-get, signed grub-efi , grub1, grub-install, no-grubenv, update-grub, farbios

Partitions info (2/3): _________________________________________________________

sdb1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb3 : isnotESP, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, no-bmgr, notwinboot
sdb4 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb5 : isnotESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot
sdc1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdc3 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot

Partitions info (3/3): _________________________________________________________

sdb1 : not-sepboot, no-kernel, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sdb
sdb3 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sdb
sdb4 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sdb
sdb5 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sdb
sdc1 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sdc
sdc3 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sdc

fdisk -l (filtered): ___________________________________________________________

Disk sda: 7.5 GiB, 8053063680 bytes, 15728640 sectors
Disk identifier: 0x5092863d
Boot Start End Sectors Size Id Type
sda1 * 0 4067999 4068000 2G 0 Empty
sda2 3989132 3994059 4928 2.4M ef EFI (FAT-12/16/32)
Disk sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: C45B28E9-5F68-4C43-AAB2-90890288E8FE
Start End Sectors Size Type
sdb1 2048 534527 532480 260M EFI System
sdb2 534528 567295 32768 16M Microsoft reserved
sdb3 567296 482905551 482338256 230G Microsoft basic data
sdb4 482905552 1951473335 1468567784 700.3G Microsoft basic data
sdb5 1951475712 1953523711 2048000 1000M Windows recovery environment
Disk sdc: 223.6 GiB, 240057409536 bytes, 468862128 sectors
Disk identifier: 0xed3dd2cd
Boot Start End Sectors Size Id Type
sdc1 * 2048 3999743 3997696 1.9G ef EFI (FAT-12/16/32)
sdc2 4001790 43999231 39997442 19.1G 5 Extended
sdc3 43999232 468860927 424861696 202.6G 83 Linux
sdc5 4001792 43999231 39997440 19.1G 82 Linux swap / Solaris
Partition table entries are not in disk order.

parted -lm (filtered): _________________________________________________________

sda:8053MB:scsi:512:512:unknown:Generic Flash Disk:;
sdb:1000GB:scsi:512:4096:gpt:ATA WDC WD10SPCX-24H:;
1:1049kB:274MB:273MB:fat32:EFI system partition:boot, esp;
2:274MB:290MB:16.8MB::Microsoft reserved partition:msftres;
3:290MB:247GB:247GB:ntfs:Basic data partition:msftdata;
4:247GB:999GB:752GB:ntfs:Basic data partition:msftdata;
5:999GB:1000GB:1049MB:ntfs:Basic data partition:hidden, diag;
sdc:240GB:scsi:512:512:msdos:ATA KINGSTON SA400S3:;
1:1049kB:2048MB:2047MB:fat32::boot, esp;
2:2049MB:22.5GB:20.5GB:::;
5:2049MB:22.5GB:20.5GB:linux-swap(v1)::;
3:22.5GB:240GB:218GB:ext4::;

blkid (filtered): ______________________________________________________________

NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda iso9660 2019-08-05-19-29-01-00 Ubuntu 18.04.3 LTS amd64
├─sda1 iso9660 2019-08-05-19-29-01-00 5092863d-01 Ubuntu 18.04.3 LTS amd64
└─sda2 vfat 833C-CDB0 5092863d-02 Ubuntu 18.04.3 LTS amd64
sdb
├─sdb1 vfat 1CFF-F4DD d48027f0-7cfb-435b-af07-05f8fe83f0ba SYSTEM_DRV EFI system partition
├─sdb2 a367be7c-417f-4513-b431-df18ee8a5025 Microsoft reserved partition
├─sdb3 ntfs 5830017E3001647A c5654e77-68a4-4342-a015-fe72519ce7ae Windows Basic data partition
├─sdb4 ntfs C44066E04066D926 8f6838c3-797d-4e07-8974-51a65967055f LENOVO Basic data partition
└─sdb5 ntfs CCA002E0A002D13E bcd102ba-4a4c-4d8a-bf83-e894c17b150f WINRE_DRV Basic data partition
sdc
├─sdc1 vfat 7E62-C144 ed3dd2cd-01
├─sdc2 ed3dd2cd-02
├─sdc3 ext4 83cf10bd-af1e-4522-a042-1dfc548349e7 ed3dd2cd-03
└─sdc5 swap 2c317de5-c8ff-4df2-bd65-761a87665d0e ed3dd2cd-05

df (filtered): _________________________________________________________________

Avail Use% Mounted on
sda 0 100% /cdrom
sdb1 211.4M 17% /mnt/boot-sav/sdb1
sdb3 60.5G 74% /mnt/boot-sav/sdb3
sdb4 361.3G 48% /mnt/boot-sav/sdb4
sdb5 427.4M 57% /mnt/boot-sav/sdb5
sdc1 1.9G 0% /mnt/boot-sav/sdc1
sdc3 28.8G 80% /mnt/boot-sav/sdc3

Mount options: __________________________________________________________________

sda ro,noatime,nojoliet,check=s,map=n,blocksize=2048
sdb1 rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sdb3 ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sdb4 ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sdb5 ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sdc1 rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sdc3 rw,relatime

===================== sdb1/efi/ubuntu/grub.cfg (filtered) ======================

search.fs_uuid 83cf10bd-af1e-4522-a042-1dfc548349e7 root hd1,msdos3
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

search.fs_uuid 83cf10bd-af1e-4522-a042-1dfc548349e7 root hd2,msdos3
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

===================== sdc1/efi/ubuntu/grub.cfg (filtered) ======================

search.fs_uuid 83cf10bd-af1e-4522-a042-1dfc548349e7 root hd2,msdos3
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

GNU/Linux 83cf10bd-af1e-4522-a042-1dfc548349e7
GNU/Linux, with Linux 5.3.0-46-generic 83cf10bd-af1e-4522-a042-1dfc548349e7
GNU/Linux, with Linux 5.3.0-45-generic 83cf10bd-af1e-4522-a042-1dfc548349e7
GNU/Linux, with Linux 5.3.0-40-generic 83cf10bd-af1e-4522-a042-1dfc548349e7
Windows Boot Manager (on sdb1) osprober-efi-1CFF-F4DD
### END /etc/grub.d/30_os-prober ###
System setup uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sdc3/etc/fstab (filtered) ===========================

# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sdb3 during installation
UUID=83cf10bd-af1e-4522-a042-1dfc548349e7 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
# swap was on /dev/sdb5 during installation
UUID=2c317de5-c8ff-4df2-bd65-761a87665d0e none swap sw 0 0
/dev/sda4 /media/max/LENOVO ntfs defaults 0 0
/dev/sda3 /media/max/Windows ntfs defaults 0 0
UUID=7E62-C144 /boot/efi vfat defaults 0 1

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

GiB - GB File Fragment(s)
20.980476379 = 22.527614976 boot/grub/grub.cfg 1
178.278038025 = 191.424585728 boot/vmlinuz-5.3.0-40-generic 1
131.809299469 = 141.529157632 boot/vmlinuz-5.3.0-45-generic 1
180.301486969 = 193.597247488 boot/vmlinuz-5.3.0-46-generic 2
180.301486969 = 193.597247488 vmlinuz 2
131.809299469 = 141.529157632 vmlinuz.old 1
165.385906219 = 177.581764608 boot/initrd.img-5.3.0-45-generic 6
86.862472534 = 93.267869696 boot/initrd.img-5.3.0-46-generic 3
86.862472534 = 93.267869696 initrd.img 3
165.385906219 = 177.581764608 initrd.img.old 6

===================== sdc3: ls -l /etc/grub.d/ (filtered) ======================

-rwxr-xr-x 1 root root 12808 Feb 24 19:47 10_linux
-rwxr-xr-x 1 root root 11298 Mar 18 2019 20_linux_xen
-rwxr-xr-x 1 root root 12059 Mar 18 2019 30_os-prober
-rwxr-xr-x 1 root root 1418 Mar 18 2019 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Mar 18 2019 40_custom
-rwxr-xr-x 1 root root 216 Mar 18 2019 41_custom

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

Try Ubuntu without installing
Install Ubuntu




OEM install (for manufacturers)
Check disc for defects

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

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


======================== Unknown MBRs/Boot Sectors/etc =========================

Unknown BootLoader on sda

00000000 45 52 08 00 00 00 90 90 00 00 00 00 00 00 00 00 |ER..............|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
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 |..D.....f@.....f|
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 28 c5 3c 00 00 00 00 00 3d 86 92 50 00 00 80 00 |(.<.....=..P....|
000001c0 01 00 00 7c e0 f8 00 00 00 00 a0 12 3e 00 00 fe |...|........>...|
000001d0 ff ff ef fe ff ff 8c de 3c 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:[108364]) leaked on lvs invocation. Parent PID 2880: /bin/bash
回复