You are not logged in.

#1 2025-10-07 09:50:22

Broshward
Member
Registered: 2025-10-07
Posts: 6

[SOLVED] ERROR: '' device did not show up after 30 seconds

Hello arch world!
After GRUB2 launchs kernel and ramfs images I recieve this error message:

:: running early hook [udev]
Starting systemd-udev version 257.8-2-arch
:: running early hook [archiso_pxe_nbd]
:: running hook [udev]
:: Triggering uevents...
:: running hook [memdisk]
:: running hook [archiso]
:: running hook [archiso_loop_mnt]
:: running hook [archiso_pxe_common]
:: running hook [archiso_pxe_nbd]
:: running hook [archiso_pxe_http]
:: running hook [archiso_pxe_nfs]
:: Mounting '' to '/run/archiso/bootmnt'
ERROR: '' device did not show up after 30 seconds...
Falling back to interactive prompt
You can try to fix the problem manually, log out when you are finished
sh: can't access tty; job control turned off
[rootfs ~]#


]# ls -l /dev/disk/by-uuid/
total 0
lrwxrwxrwx 1 root root 10 Oct  7 11:36 2180e0e0-4a78-4131-868b-885aebf8b484 -> ../../sda6
lrwxrwxrwx 1 root root 10 Oct  7 11:36 53c1de27-f528-4eab-b9f2-17ed2763a303 -> ../../sda5
lrwxrwxrwx 1 root root 10 Oct  7 11:36 A52D-B07E -> ../../sda2
lrwxrwxrwx 1 root root 10 Oct  7 11:36 be2b2714-c103-4b61-86d5-57dfd42a75ca -> ../../sda1


]# cat /etc/fstab

# /dev/sda6
UUID=2180e0e0-4a78-4131-868b-885aebf8b484    /             ext4          rw,relatime    0 1

# /dev/sda2
UUID=A52D-B07E          /boot/efi     vfat          rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro    0 2

# /mnt/dev/sda5
UUID=53c1de27-f528-4eab-b9f2-17ed2763a303    none          swap          defaults      0 0

UUID=be2b2714-c103-4b61-86d5-57dfd42a75ca    /home         ext4          rw,relatime    0 2


Grub menu:
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-2180e0e0-4a78-4131-868b-885aebf8b484' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_gpt
    insmod ext2
    set root='hd0,gpt6'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  2180e0e0-4a78-4131-868b-885aebf8b484
    else
      search --no-floppy --fs-uuid --set=root 2180e0e0-4a78-4131-868b-885aebf8b484
    fi
    echo    'Loading Linux linux ...'
    linux    /boot/vmlinuz-linux root=UUID=2180e0e0-4a78-4131-868b-885aebf8b484 rw  loglevel=3 quiet
    echo    'Loading initial ramdisk ...'
    initrd    /boot/intel-ucode.img /boot/initramfs-linux.img
}

Last edited by Broshward (2025-10-07 14:44:19)

Offline

#2 2025-10-07 11:47:15

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,076

Re: [SOLVED] ERROR: '' device did not show up after 30 seconds

Are you trying to boot the ISO or the actual system? The initramfs seems to be the ISO, but you're talking about grub so I don't understand.

Offline

#3 2025-10-07 12:35:03

Broshward
Member
Registered: 2025-10-07
Posts: 6

Re: [SOLVED] ERROR: '' device did not show up after 30 seconds

Yes, I trying launch Arch from SSD on my notebook (/dev/sda6) not ISO-image. /boot/vmlinuz-linux and /boot/initramfs-linux.img successfully generated by pacman hook mkinitcpio after linux install from arch-chroot /mnt area.

Offline

#4 2025-10-07 12:41:56

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,076

Re: [SOLVED] ERROR: '' device did not show up after 30 seconds

Post your mkinitcpio.conf

Edit: just noticed "version 257.8-2-arch", so you are actually trying to boot the initramfs on the ISO. Did you remove the drive from the system? What boot option did you choose in your system's boot manager?

Last edited by Scimmia (2025-10-07 13:00:08)

Offline

#5 2025-10-07 13:01:08

Broshward
Member
Registered: 2025-10-07
Posts: 6

Re: [SOLVED] ERROR: '' device did not show up after 30 seconds

]# cat /etc/mkinitcpio.conf

# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run.  Advanced users may wish to specify all system modules
# in this array.  For instance:
#     MODULES=(usbhid xhci_hcd)
MODULES=(i915)

# BINARIES
# This setting includes any additional binaries a given user may
# wish into the CPIO image.  This is run last, so it may be used to
# override the actual binaries included by a given hook
# BINARIES are dependency parsed, so you may safely ignore libraries
BINARIES=()

# FILES
# This setting is similar to BINARIES above, however, files are added
# as-is and are not parsed in any way.  This is useful for config files.
FILES=()

# HOOKS
# This is the most important setting in this file.  The HOOKS control the
# modules and scripts added to the image, and what happens at boot time.
# Order is important, and it is recommended that you do not change the
# order in which HOOKS are added.  Run 'mkinitcpio -H <hook name>' for
# help on a given hook.
# 'base' is _required_ unless you know precisely what you are doing.
# 'udev' is _required_ in order to automatically load modules
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
# Examples:
##   This setup specifies all modules in the MODULES setting above.
##   No RAID, lvm2, or encrypted root is needed.
#    HOOKS=(base)
#
##   This setup will autodetect all modules for your system and should
##   work as a sane default
#    HOOKS=(base udev autodetect modconf block filesystems fsck)
#
##   This setup will generate a 'full' image which supports most systems.
##   No autodetection is done.
#    HOOKS=(base udev modconf block filesystems fsck)
#
##   This setup assembles a mdadm array with an encrypted root file system.
##   Note: See 'mkinitcpio -H mdadm_udev' for more information on RAID devices.
#    HOOKS=(base udev modconf keyboard keymap consolefont block mdadm_udev encrypt filesystems fsck)
#
##   This setup loads an lvm2 volume group.
#    HOOKS=(base udev modconf block lvm2 filesystems fsck)
#
##   This will create a systemd based initramfs which loads an encrypted root filesystem.
#    HOOKS=(base systemd autodetect modconf kms keyboard sd-vconsole sd-encrypt block filesystems fsck)
#
##   NOTE: If you have /usr on a separate partition, you MUST include the
#    usr and fsck hooks.
HOOKS=(base udev resume autodetect microcode modconf kms keyboard keymap consolefont block filesystems fsck)

# COMPRESSION
# Use this to compress the initramfs image. By default, zstd compression
# is used for Linux ≥ 5.9 and gzip compression is used for Linux < 5.9.
# Use 'cat' to create an uncompressed image.
#COMPRESSION="zstd"
#COMPRESSION="gzip"
#COMPRESSION="bzip2"
#COMPRESSION="lzma"
#COMPRESSION="xz"
#COMPRESSION="lzop"
#COMPRESSION="lz4"

# COMPRESSION_OPTIONS
# Additional options for the compressor
#COMPRESSION_OPTIONS=()

# MODULES_DECOMPRESS
# Decompress loadable kernel modules and their firmware during initramfs
# creation. Switch (yes/no).
# Enable to allow further decreasing image size when using high compression
# (e.g. xz -9e or zstd --long --ultra -22) at the expense of increased RAM usage
# at early boot.
# Note that any compressed files will be placed in the uncompressed early CPIO
# to avoid double compression.
#MODULES_DECOMPRESS="no"

Offline

#6 2025-10-07 13:10:55

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,411
Website

Re: [SOLVED] ERROR: '' device did not show up after 30 seconds


# pacman -Qikk mkinitcpio-archiso
$ mkinitcpio -L
# mkinitcpio -P

Oops. Didn't read the update. See @Scimmia's reply.

P.S.: Also, please use code tags when posting console output.

Last edited by schard (2025-10-07 13:19:15)


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#7 2025-10-07 13:14:10

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,076

Re: [SOLVED] ERROR: '' device did not show up after 30 seconds

I edited about a minute before your reply. You are actually booting the wrong initramfs.

Offline

#8 2025-10-07 13:54:48

Broshward
Member
Registered: 2025-10-07
Posts: 6

Re: [SOLVED] ERROR: '' device did not show up after 30 seconds

[root@archiso ~]# pacman -Qikk mkinitcpio-archiso
Name            : mkinitcpio-archiso
Version         : 72-1
Description     : Initcpio scripts used by archiso
Architecture    : any
URL             : https://gitlab.archlinux.org/mkinitcpio/mkinitcpio-archiso
Licenses        : GPL-3.0-or-later
Groups          : None
Provides        : None
Depends On      : bash  device-mapper  mkinitcpio
Optional Deps   : curl: for PXE over HTTP [installed]
                  gnupg: for PGP signature verification of rootfs over PXE [installed]
                  mkinitcpio-nfs-utils: for PXE over NFS [installed]
                  nbd: for PXE over NBD [installed]
                  openssl: for CMS signature verification of rootfs over PXE [installed]
                  pv: for status display during copy to RAM [installed]
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 47.29 KiB
Packager        : Christian Hesse <eworm@archlinux.org>
Build Date      : Thu Jan 23 10:52:13 2025
Install Date    : Tue Oct 7 16:40:52 2025
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : SHA-256 Sum

mkinitcpio-archiso: 27 total files, 0 altered files
[root@archiso ~]# mkinitcpio -L
==> Available hooks
acpi_override		autodetect		filesystems		memdisk			shutdown
archiso			base			fsck			microcode		sleep
archiso_kms¹		bcachefs		hostdata		modconf			strip
archiso_loop_mnt	block			keyboard		net			systemd
archiso_pxe_common	btrfs			keymap			resume			udev
archiso_pxe_http	consolefont		kms			sd-encrypt		usr
archiso_pxe_nbd		dmraid			lvm2			sd-shutdown
archiso_pxe_nfs		encrypt			mdadm_udev		sd-vconsole

'¹' This hook is deprecated in favor of 'kms'
[root@archiso ~]# mkinitcpio -P
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'archiso'
==> Using configuration file: '/etc/mkinitcpio.conf.d/archiso.conf'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf.d/archiso.conf -g /boot/initramfs-linux.img
==> Starting build: '6.16.10-arch1-1'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [microcode]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'ast'
  -> Running build hook: [memdisk]
  -> Running build hook: [archiso]
  -> Running build hook: [archiso_loop_mnt]
  -> Running build hook: [archiso_pxe_common]
==> WARNING: Possibly missing firmware for module: 'adf7242'
==> WARNING: Possibly missing firmware for module: 'softing_cs'
==> WARNING: Possibly missing firmware for module: 'bna'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'nfp'
==> WARNING: Possibly missing firmware for module: 'mlxsw_spectrum'
==> WARNING: Possibly missing firmware for module: 'liquidio'
  -> Running build hook: [archiso_pxe_nbd]
  -> Running build hook: [archiso_pxe_http]
  -> Running build hook: [archiso_pxe_nfs]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'aic94xx'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'xhci_pci_renesas'
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
==> Generating module dependencies
==> Creating xz-compressed initcpio image: '/boot/initramfs-linux.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful

Offline

#9 2025-10-07 14:07:30

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,411
Website

Re: [SOLVED] ERROR: '' device did not show up after 30 seconds

You're not inside the chroot, are you? This is probably how you built the faulty initramfs in the first place.
Mount your *entire* target system, especially including /boot, then chroot into it, and then run mkinitcpio -P.


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#10 2025-10-07 14:18:07

Broshward
Member
Registered: 2025-10-07
Posts: 6

Re: [SOLVED] ERROR: '' device did not show up after 30 seconds

I remove mkinitcpio-archiso and my arch starting successfully! Very big thanks!

Offline

#11 2025-10-07 14:39:53

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 68,954

Re: [SOLVED] ERROR: '' device did not show up after 30 seconds

\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB