Ubuntu unable to boot, stuck in GRUB command line
https://askubuntu.com/questions/1448500/ubuntu-unable-to-boot-stuck-in-grub-command-line
I'm relatively new to Ubuntu. I am single-booting it on a relatively new Lenovo laptop (factory installed with Ubuntu) and am stuck at the GRUB command line (GRUB 2.04). When I try to ls, I get:
(proc) (hd0) (hd0.gpt3) (hd0.gpt2) (hd0.gpt1) error: failure reading sector 0x951800 from 'hd0'.
error: failure reading sector 0x951800 from 'hd0'.
And when I try to ls further into these, everything seems to be an unknown file system. I have a liveUSB (though when I run from it I get these errors.
[0.845112] Initramfs unpacking failed: Decoding failed
[1.348351] blk_update_request: critical medium error, dev nvme0n1, sector 9771008 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[1.345902] blk_update_request: critical medium error, dev nvme0n1, sector 9771008 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[1.349551] Buffer I/O error on dev nvme0n1p3, logical block 0, async page read
[3.301230] blk_update_request: critical medium error, dev nvme0n1, sector 9771008 op 0x0:(READ) flags 0x80700 phys_seg 4 prio class 0
[3.302394] blk_update_request: critical medium error, dev nvme0n1, sector 9771008 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[3.302447] Buffer I/O error on dev nvme0n1p3, logical block 0, async page read
from which I was able to produce this Boot Info Summary.
============================== Boot Info Summary ===============================
=> No boot loader is installed in the MBR of /dev/nvme0n1.
=> Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sda.
nvme0n1p1: _____________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /efi/BOOT/fbx64.efi /efi/BOOT/mmx64.efi
/efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi
/efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg
nvme0n1p2: _____________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /boot/grub/grub.cfg /efi/boot/grubx64.efi
/efi/boot/shimx64.efi
nvme0n1p3: _____________________________________________________________________
File system:
Boot sector type: Unknown
Boot sector info:
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: SYSLINUX 6.04
Boot sector info: Syslinux looks at sector 32832 of /dev/sda1 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
================================ 0 OS detected =================================
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: Intel Corporation from Intel Corporation
Live-session OS is Ubuntu 64-bit (Ubuntu 20.04.1 LTS, focal, x86_64)
===================================== UEFI =====================================
BIOS/UEFI firmware: N32ET75W (1.51 ) from LENOVO
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 001D
Timeout: 0 seconds
BootOrder: 0000,001A,001B,001C,001D,001E,001F,0020,0021,0022
Boot0000* ubuntu HD(1,GPT,2fa0b225-0ffc-41d0-b1d8-b5607c0d979b,0x22,0x10087c)/File(\EFI\ubuntu\shimx64.efi)
Boot0010 Setup FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
Boot0011 Boot Menu FvFile(126a762d-5758-4fca-8531-201a7f57f850)
Boot0012 Diagnostic Splash Screen FvFile(a7d8d9a6-6ab0-4aeb-ad9d-163e59a7a380)
Boot0013 Lenovo Diagnostics FvFile(3f7e615b-0d45-4f80-88dc-26b234958560)
Boot0014 Asset Information FvFile(da465b87-a26f-4c12-b78a-0361428fa026)
Boot0015 Regulatory Information FvFile(478c92a0-2622-42b7-a65d-5894169e4d24)
Boot0016 ThinkShield secure wipe FvFile(3593a0d5-bd52-43a0-808e-cbff5ece2477)
Boot0017 Startup Interrupt Menu FvFile(f46ee6f4-4785-43a3-923d-7f786c3c8479)
Boot0018 Rescue and Recovery FvFile(665d3f60-ad3e-4cad-8e26-db46eee9f1b5)
Boot0019 MEBx Hot Key FvFile(ac6fd56a-3d41-4efd-a1b9-870293811a28)
Boot001A* USB CD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
Boot001B* USB FDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
Boot001C* NVMe0 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,001c199932d94c4eae9aa0b6e98eb8a400)
Boot001D* USB HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,33e821aaaf33bc4789bd419f88c50803)
Boot001E* PXE BOOT VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
Boot001F* LENOVO CLOUD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,ad38ccbbf7edf04d959cf42aa74d3650)/Uri(https://download.lenovo.com/pccbbs/cdeploy/efi/boot.efi)
Boot0020* ON-PREMISE VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,ad38ccbbf7edf04d959cf42aa74d3650)/Uri()
Boot0021 Other CD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a35400)
Boot0022 Other HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f600)
Boot0023* IDER BOOT CDROM PciRoot(0x0)/Pci(0x14,0x0)/USB(11,1)
Boot0024* IDER BOOT Floppy PciRoot(0x0)/Pci(0x14,0x0)/USB(11,0)
Boot0025* ATA HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f6)
Boot0026* ATAPI CD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a354)
85fa9d77b929ec4231aba29476574eb6 nvme0n1p1/BOOT/fbx64.efi
469e608783843a701d172242f016c79c nvme0n1p1/BOOT/mmx64.efi
51cfb66bc06dfbc97be2a010ebef52f3 nvme0n1p1/ubuntu/grubx64.efi
469e608783843a701d172242f016c79c nvme0n1p1/ubuntu/mmx64.efi
728124f6ec8e22fbdbe7034812c81b95 nvme0n1p1/ubuntu/shimx64.efi
728124f6ec8e22fbdbe7034812c81b95 nvme0n1p1/BOOT/BOOTX64.efi
bfd3f5550a8a28a1021abe2b838e3b6a nvme0n1p2/boot/grubx64.efi
78415fb8fb9b909f8029858113f1335f nvme0n1p2/boot/shimx64.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
nvme0n1 : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, no-os, no-wind, 34 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
nvme0n1p1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
nvme0n1p2 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
Partitions info (2/3): _________________________________________________________
nvme0n1p1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
nvme0n1p2 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
nvme0n1p1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, nvme0n1
nvme0n1p2 : not--sepboot, no-kernel, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, nvme0n1
fdisk -l (filtered): ___________________________________________________________
Disk nvme0n1: 476.96 GiB, 512110190592 bytes, 1000215216 sectors
Disk identifier: 7D8A04D6-18B8-4822-BDDE-11113430DDA4
Start End Sectors Size Type
nvme0n1p1 34 1050781 1050748 513.1M EFI System
nvme0n1p2 1050782 9768967 8718186 4.2G Microsoft basic data
nvme0n1p3 9771008 1000214527 990443520 472.3G Linux filesystem
Disk sda: 29.3 GiB, 31457280000 bytes, 61440000 sectors
Disk identifier: 0x06a7c6de
Boot Start End Sectors Size Id Type
sda1 * 2048 61439999 61437952 29.3G c W95 FAT32 (LBA)
parted -lm (filtered): _________________________________________________________
sda:31.5GB:scsi:512:512:msdos:Generic Flash Disk:;
1:1049kB:31.5GB:31.5GB:fat32::boot, lba;
nvme0n1:512GB:nvme:512:512:gpt:WDC PC SN730 SDBQNTY-512G-1001:;
1:17.4kB:538MB:538MB:fat32:EFI:boot, esp;
2:538MB:5002MB:4464MB:fat32:Recovery Partition:msftdata;
3:5003MB:512GB:507GB:::;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
└─sda1 vfat EC77-D16C 06a7c6de-01 UBUNTU 20_0
nvme0n1
├─nvme0n1p1 vfat 778D-43D5 2fa0b225-0ffc-41d0-b1d8-b5607c0d979b EFI System EFI
├─nvme0n1p2 vfat 7792-CD83 d5ee6563-037c-4c07-984f-4d80f838baf2 PQSERVICE Recovery Partition
└─nvme0n1p3
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/nvme0n1p1 503.1M 2% /mnt/boot-sav/nvme0n1p1
/dev/nvme0n1p2 1.4G 67% /mnt/boot-sav/nvme0n1p2
/dev/sda1 26.7G 9% /cdrom
Mount options (filtered): ______________________________________________________
=================== nvme0n1p1/efi/ubuntu/grub.cfg (filtered) ===================
search.fs_uuid 6a411137-06bb-4de1-be93-c2fcd4f44a5a root
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
=================== nvme0n1p2/boot/grub/grub.cfg (filtered) ====================
If you are seeing this menu, your installation has failed.
Choose from the following options for debugging purposes:
Single User Mode
${title}
================= nvme0n1p2: Location of files loaded by Grub ==================
GiB - GB File Fragment(s)
?? = ?? boot/grub/grub.cfg 1
====================== sda1/boot/grub/grub.cfg (filtered) ======================
Ubuntu
Ubuntu (safe graphics)
OEM install (for manufacturers)
Boot from next volume
UEFI Firmware Settings
========================= sda1/syslinux.cfg (filtered) =========================
DEFAULT loadconfig
LABEL loadconfig
CONFIG /isolinux/isolinux.cfg
APPEND /isolinux/
==================== sda1: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
?? = ?? boot/grub/grub.cfg 1
================== sda1: Location of files loaded by Syslinux ==================
GiB - GB File Fragment(s)
?? = ?? syslinux.cfg 1
?? = ?? ldlinux.sys 1
======================== Unknown MBRs/Boot Sectors/etc =========================
Unknown BootLoader on nvme0n1p3
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would not act on the boot.
Results of sudo fdisk -l:
Disk /dev/loop0: 1.98 GiB, 2103640064 bytes, 4108672 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop1: 29.9 MiB, 31334400 bytes, 61200 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop2: 54.98 MiB, 57626624 bytes, 112552 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop3: 255.58 MiB, 267980800 bytes, 523400 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop4: 62.9 MiB, 65105920 bytes, 127160 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop5: 49.8 MiB, 52203520 bytes, 101960 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/nvme0n1: 476.96 GiB, 512110190592 bytes, 1000215216 sectors
Disk model: WDC PC SN730 SDBQNTY-512G-1001
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 7D8A04D6-18B8-4822-BDDE-11113430DDA4
Device Start End Sectors Size Type
/dev/nvme0n1p1 34 1050781 1050748 513.1M EFI System
/dev/nvme0n1p2 1050782 9768967 8718186 4.2G Microsoft basic data
/dev/nvme0n1p3 9771008 1000214527 990443520 472.3G Linux filesystem
Disk /dev/sda: 29.3 GiB, 31457280000 bytes, 61440000 sectors
Disk model: Flash Disk
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x06a7c6de
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 61439999 61437952 29.3G c W95 FAT32 (LBA)
Do you have any tips on what I should do? I've got some files that I would love to keep if possible.