I know there are duplicates of this, and I have gone thru many of them. Most promising I thought were UUID=xxx does not exist. Dropping to a shell
and ALERT! /dev/disk/by-uuid/xxxxxxxxx does not exist. Dropping to a shell ... no dual boot ... I sense my /boot/efi may be somehow corrupt.
I have done all that to no avail. the primary error that I see is:
ALERT: UUID=6fce33c4-a9bb-444c-bb8a-c1ed59b986a3 does not exist. Dropping to a shell.
My problem started after I applied some software while on Ubuntu 22.04. I can start up in recovery mode. I have run fsck on /boot/efi.
Details:
blkid (note, nothing shows up for /dev/nvme0n1p1)
/dev/nvme0n1p2: UUID="6fce33c4-a9bb-444c-bb8a-c1ed59b986a3" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="0cd0904e-a12f-4a8d-ab3f-ad85c45a7082"
blkid --uuid 6fce33c4-a9bb-444c-bb8a-c1ed59b986a3mm :
/dev/nvme0n1p2 (this is mounted at /)
blkid --uuid 6307-B41C
/dev/nvme0n1p1 (this is /boot/efi)
df :
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 1179464 2280 1177184 1% /run
/dev/nvme0n1p2 244506940 57914480 174099404 25% /
tmpfs 5897316 117260 5780056 2% /dev/shm
tmpfs 5120 8 5112 1% /run/lock
efivarfs 184 95 85 53% /sys/firmware/efi/efivars
/dev/nvme0n1p1 523248 6288 516960 2% /boot/efi
tmpfs 1179460 136 1179324 1% /run/user/1000
fstab :
UUID=6fce33c4-a9bb-444c-bb8a-c1ed59b986a3 / ext4 errors=remount-ro 0 1
/boot/efi was on /dev/nvme0n1p1 during installation
**UUID=6307-B41C** /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
fdisk -l (ignoring all loop entries)
Disk /dev/nvme0n1: 238.47 GiB, 256060514304 bytes, 500118192 sectors
Disk model: KBG40ZNT256G TOSHIBA MEMORY
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: F9060F62-5530-4003-B7BA-BBA3CF4F5F54
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 1050623 1048576 512M EFI System
/dev/nvme0n1p2 1050624 500117503 499066880 238G Linux filesystem
cat /etc/os-release
PRETTY_NAME="Ubuntu 24.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.1 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo
lsb_release -a :
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 24.04.1 LTS
Release: 24.04
Codename: noble
hostnamectl :
Static hostname: mjcasile-IdeaPad-3-15IIL05
Icon name: computer-laptop
Chassis: laptop
Machine ID: 32767bc4a6ea4c75b2eb24c855255e99
Boot ID: a58c217abae64b8fb394aacd5fa86919
Operating System: Ubuntu 24.04.1 LTS
Kernel: Linux 6.8.0-41-generic
Architecture: x86-64
Hardware Vendor: Lenovo
Hardware Model: IdeaPad 3 15IIL05
Firmware Version: EMCN40WW
Firmware Date: Mon 2020-08-10
Firmware Age: 4y 3w 6d
When I power down after initramfs prompt ... I come to screen with the following options:
*Ubuntu
Advanced options for Ubuntu
Memory test (memtest 86+x87.efi)
Memory test (memtest 86+x87.efi, serial console)
UEFI Firmware Settings
When I do UEFI Firmware Settings, I verify that boot from USB is enabled
I have tried all of the options, but generally do Advanced options for Ubuntu and select one of the recovery options (6.8.0.41 or 6.8.0.40)
I have tried going back to legacy boot (instead of UEFI) to no avail.
I attempted this once and have been on UEFI before and since. I updated my USB boot drive and came up with that (to do the mount work from one of the prior answers). I had to use the F12 trick, but that is done and it did not solve the problem. <Escape> on boot does get me to a grub prompt. Not in my comfort zone/happy place. I hope someone can see something I don't.
I have run fsck on /dev/nvme0n1p2 and /dev/nvme0n1p1 . On nvme0n1p2 it said it was clean and gave me block counts. Not much info nvme0n1p1.
From problem ALERT! /dev/disk/by-uuid/xxxxxxxxx does not exist. Dropping to a shell ... I have come up on my USB drive and gone thru the instructions to replace /proc /dev and /sys with those directories from the USB drive install.
Was not quite clear where to replace the UUID=... with root=/dev/nvme0n1p2 ... so I did it in /etc/fstab ... and it did not change anything.
Currently, the way I get to advanced options (from which I run in recovery mode) is that when I fail and go to initramfs prompt, I power down and power back up ... then the advanced options menu appears.
In getting to ubuntu menu, I selected advanced options, then when I selected 6.8.0.41 recovery, I hit 'e' instead of enter and got this:
getparams 'Ubuntu, with Linux 6.8.0.41 generic (recovery mode)'
recordfail
load-video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod zxio; insmod lzopio; fi
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 6fce33c4-a9bb-444c-bb8a-c1ed59b986a3
echo 'Loading Linux 6.8.0.41-generic ...'
linux /boot/vmlinuz-6.8.041-generic root=UUID=6fce33c4-a9bb-444c-bb8a-c1ed59b986a3 ro recovery nomodeset dis-ucode_ ...
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-6.8.0.41-generic
Note the above was taken with a cell phone camera and transcribed .. but it should be relatively accurate.
I did the grub commandline modification, switch root=UID=... to
root=/dev/nvme0n1p2 ... when I ran it against the 6.8.0.41 (not recovery) ... I still dropped into initramfs prompt, but the instead:
ALERT! /dev/nvme0n1p2 does not exist. Dropping to a shell!