Thursday, September 1, 2022

UUID=xxx does not exist. Dropping to a shell initramfs

 > BusyBox v1.30.1 (Ubuntu 1:1.30.1-6ubuntu2.1) built-in shell (ash)

> Enter 'help' for a list of built-in commands.

> (initramfs)


Exit-command outputs:


> (initramfs) exit

> Gave up waiting for root file system device. Common problems:

> - Boot args (cat /proc/cmdline

>   - Check rootdelay= (did the system wait long enough?)

> - Missing modules (cat /proc/modules; ls /dev)

> ALERT! UUID=6311f740-8be0-4c1f-bb26-6efbf0bb6fd5 does not exist. Dropping to as shell!

dmesg

/etc/fstab

blkid

sudo /sbin/blkid should tell you the UUID of each device as well so the above example can become:

fdisk -l

lsblk --fs |grep -v '^loop'

grub-mkconfig /boot/grub/grub.cfg


The first step towards accomplishing this would be to boot into Rescue Mode. Once you've done so, you'll want to switch your working directory to /dev/sda disk so that you can make any necessary changes by running the following commands:


mount -o exec,barrier=0 /dev/sda

cd /media/sda

mount -t proc proc proc/

mount -t sysfs sys sys/

mount -o bind /dev dev/

mount -t devpts pts dev/pts/

chroot /media/sda /bin/bash

mdadm --detail --scan >> /etc/mdadm.conf

update-initramfs -u

update-grub


less /etc/fstab


cat /proc/modules


sudo update-initramfs -u

sudo update-grub 

https://www.robertspahr.com/about/studio/x13amd/

No comments:

Post a Comment