You are not logged in.
Pages: 1
Hello! I'm working on installing Arch on a Lenovo IdeaPad 3 15alc6 (not dual booting), and it drops me into the emergency shell every time I try to boot with the following error:
Error: device 'UUID=662df5c2-2ca6-4c39-a21f-e395375cb9bc' not found. Skipping fsck.
:: mounting 'UUID=662df5c2-2ca6-4c39-a21f-e395375cb9bc' on real root
mount: /new_root: can't find UUID=662df5c2-2ca6-4c39-a21f-e395375cb9bc.
ERROR: Failed to mount 'UUID=662df5c2-2ca6-4c39-a21f-e395375cb9bc' on real root
You are now being dropped into an emergency shell.
sh: can't access tty; job control turned offI'm using ext4 for the root with grub. I've tried installing via the installation guide and via archinstall multiple times, ensuring the fstab matches my partitions and regenerating my initramfs.
/etc/mkinitcpio.conf
MODULES=()
BINARIES=()
FILES=()
HOOKS=(base udev autodetect microcode modconf kms keyboard sd-vconsole block sd-encrypt lvm2 filesystems fsck)/boot/grub/grub.cfg (I'm not using the default because it set my root to something else, so I've changed it to search for my root via UUID)
menuentry 'Arch Linux' -- class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-662df5c2-2ca6-4c39-a21f-e395375cb9bc' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 662df5c2-2ca6-4c39-a21f-e395375cb9bc
echo 'Loading Linux linux ...'
linux /boot/vmlinuz-linux root=UUID=662df5c2-2ca6-4c39-a21f-e395375cb9bc rw loglevel=3
echo 'Loading initial ramdisk...'
initrd /boot/initramfs-linux.img
}Offline
/boot/grub/grub.cfg (I'm not using the default because it set my root to something else, so I've changed it to search for my root via UUID)
elaborate
it looks like you are running disk encryption, you should be using the default generated grub config file and have the recommended kernel parameters set
Offline
The default /boot/grub/grub.cfg sets hd1,gpt2 as my root and can't detect my root partition.
menuentry 'Arch Linux' -- class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-662df5c2-2ca6-4c39-a21f-e395375cb9bc' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd1,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 662df5c2-2ca6-4c39-a21f-e395375cb9bc
else
search --no-floppy --fs-uuid --set=root 662df5c2-2ca6-4c39-a21f-e395375cb9bc
fi
echo 'Loading Linux linux ...'
linux /boot/vmlinuz-linux root=UUID=662df5c2-2ca6-4c39-a21f-e395375cb9bc rw loglevel=3
echo 'Loading initial ramdisk...'
initrd /boot/initramfs-linux.img
}I get this error instead:
[ TIME ] Timed out waiting for device /dev/disk/by-uuid/UUID
[DEPEND] Dependency failed for File System CHeck on /dev/disk/by-uuid/UUID
[DEPEND] Dependency failed for /sysroot.
[DEPEND] Dependency failed for Initrd Root File System
[DEPEND] Dependency failed for Mountpoints Configured in the Real Root
[DEPEND] Dependency failed for Initrd Root DeviceI'll take a look at the article.
Offline
thats because you are not setting the recommended kernel parameters in /etc/default/grub mentioned in the article above
Offline
Your mkinitcpio.conf makes no sense. Tell us how you set this system up, your partition layout, lvm, etc.
Offline
Your mkinitcpio.conf makes no sense
looks fine to me? my mkinitcpio.conf is also 1 line, and thats just hooks
oh wait nvm, you're right hes using systemd hooks with busybox initramfs
Last edited by system72 (2025-12-27 18:12:58)
Offline
I have one root partition with an ext4 file system and a efi system partition made using cfdisk. I haven't done anything with lvm yet. I've changed my initramfs to systemd:
HOOKS=(base systemd autodetect microcode modconf kms keyboard sd-vconsole block sd-encrypt lvm2 filesystems fsck)I changed the /etc/default/grub (I like verbosity):
GRUB_CMDLINE_LINUX_DEFAULT="splash loglevel=3"
GRUB_CMDLINE_LINUX="rd.luks.name=662df5c2-2ca6-4c39-a21f-e395375cb9bc=root root=/dev/mapper/root"I'm still getting this error:
[ TIME ] Timed out waiting for device /dev/disk/by-uuid/UUID
[DEPEND] Dependency failed for File System CHeck on /dev/disk/by-uuid/UUID
[DEPEND] Dependency failed for /sysroot.
[DEPEND] Dependency failed for Initrd Root File System
[DEPEND] Dependency failed for Mountpoints Configured in the Real Root
[DEPEND] Dependency failed for Initrd Root DeviceShould I look into setting up lvm, or is there something I should change with my grub defaults?
Offline
did you remake the config and regenerate the initramfs images? e.g.:
mkinitcpio -P
grub-mkconfig -o /boot/grub/grub.cfgthe uuid needs to be the luks superblock not the unencrypted partition
Last edited by system72 (2025-12-27 22:42:49)
Offline
I regenerated both. Is the luks superblock another partition that needs to be created?
Offline
I regenerated both. Is the luks superblock another partition that needs to be created?
no... you can see the uuid outputs if you run
lsblk -fjust send that output here so we can compare
Offline
lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
loop0 squashfs 4.0
sda
sda1 vfat FAT32 ARCH_202511 DED5-6FEA
sdb
sdb1 vfat FAT32 340E-7244 1021.7M 0% /boot/efi
sdb2 ext4 1.0 662df5c2-2ca6-4c39-a21f-e395375cb9bc 107.2G 2% /Offline
so the partition isnt even encrypted... well remove those encryption kernel parameters from ur grub config, and the systemd encryption hooks from ur initramfs config and regenerate the initramfs images and the grub config
Offline
yea, I decided to finish booting then deal with encryption. I removed the encryption from initrams config and regenerated initramfs and grub config, but I'm still getting the missing root error.
[ TIME ] Timed out waiting for device /dev/disk/by-uuid/662df5c2-2ca6-4c39-a21f-e395375cb9bc
[DEPEND] Dependency failed for File System Check on /dev/disk/by-uuid/662df5c2-2ca6-4c39-a21f-e395375cb9bc
[DEPEND] Dependency failed for /sysroot.
[DEPEND] Dependency failed for Initrd Root File System
[DEPEND] Dependency failed for Mountpoints Configured in the Real Root
[DEPEND] Dependency failed for Initrd Root Device/etc/mkinitcpio.conf
HOOKS=(base systemd autodetect microcode modconf kms keyboard sd-vconsole block lvm2 filesystems fsck)/etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="splash loglevel=3"
GRUB_CMDLINE_LINUX=""Offline
try reinstalling the kernel, just a guess but it might work, make sure your boot partition is mounted and you're chrooted into the rootfs when reinstalling the kernel
Offline
didn't work. I'm still getting the error (I regenerated initramfs and grub config after updating as well)
pacman -Syy
pacman -S linuxOffline
can you show your fstab file?
p.s. partial upgrades are not supported by arch
Offline
Try removing the autodetect hook and regenerating the initramfs.
Might as well get rid of the keyboard and lvm2 hooks while you're at it.
Last edited by Scimmia (Yesterday 02:06:36)
Offline
here's my fstab
# /dev/sdb2
UUID=662df5c2-2ca6-4c39-a21f-e395375cb9bc / ext4 rw,relatime 0 1
# /dev/sdb1
UUID=340E-7244 /boot/efi vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 2I removed the autodetect, keyboard, and lvm2, regenerated the initramfs, and I'm still getting the time out error... (also reinstalled linux using the full upgrade)
Offline
since nothing is working, i assume you're doing something wrong on your end while following our instructions.. and if not, maybe seth can help you ![]()
Offline
I would suggest installing linux-lts and regenerating the grub config. Let's see if that will boot. If not, see https://wiki.archlinux.org/title/Mkinit … _is_locked to get to a recovery console and see what's actually in /dev/disk/by-uuid/.
Offline
I switched to busybox initramfs and installed linux-lts (regenerated initramfs and grub config). I checked the recovery console, and /dev doesn't even contain a /disk directory....
Offline
Adding autodetect back, are there any errors or warnings creating the initramfs? Warnings about possibly missing firmware are expected without the autodetect hook, but they can be a problem if they're there with it.
Offline
Pages: 1