You are not logged in.

#1 2019-10-30 15:27:44

r00tr4t
Member
Registered: 2013-01-16
Posts: 101

[solved] ERROR : device not found [systemdboot]

I managed to brick my ArcLinux instalation with the update to pacman-5.2.0-2.
All packages is restored by using ArcLinux installation media.
All that seams fine but during the boot I still get the error below.

:: running early hook(udev)
Warning /lib/modules/5.3.7-arch1-ARCH/modules.device not found - ignoring
Start version 243.51-1-arch
:: running hook (udev)
:: trigger events...
Waiting 10 seconds for device /dev/disk/by-partuid/db40a5e2-051d-4044-862a-2099e324db51...
ERROR device 'PARTUID= db40a5e2-051d-4044-862a-2099e324db51' not found. Skipping fuck.
:: mount  'PARTUID= db40a5e2-051d-4044-862a-2099e324db51' on real root
mount: /new_root: can't find 'PARTUID= db40a5e2-051d-4044-862a-2099e324db51'
You are now being dropped in to an emergency shell.
sh: can't access tty: job control turned off
(roots)#_

System information and other information available on. here

Last edited by r00tr4t (2019-10-30 21:46:20)

Offline

#2 2019-10-30 15:36:07

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

Re: [solved] ERROR : device not found [systemdboot]

Your kernel and initramfs are mismatched. Rebuild the initramfs.

Offline

#3 2019-10-30 15:46:30

efexos
Member
Registered: 2019-08-30
Posts: 8

Re: [solved] ERROR : device not found [systemdboot]

Maybe Its your "/etc/fstab"...  check your partuid of disks with "blkid /dev/sdaX" compare all the mountpoints to the fstab file. if all PARTUID matches all good if not maybe run genfstab / mkinitcpio again.

Last edited by efexos (2019-10-30 15:49:42)

Offline

#4 2019-10-30 15:48:30

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,679
Website

Re: [solved] ERROR : device not found [systemdboot]

Mod note: Not an installation issue, moving to NC.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2019-10-30 16:05:55

loqs
Member
Registered: 2014-03-06
Posts: 19,099

Re: [solved] ERROR : device not found [systemdboot]

@efexos the fstab is on the root filesystem which fails to mount so its contents is never used.  The root fs is set by the bootloader or systemd-gpt-auto-generator.
@r00tr4t after you have setup the chroot but before chrooting into what is the output of the following

findmnt /mnt
parted -l
blkid

Edit:
parted and blkid have already been posted.

Last edited by loqs (2019-10-30 16:28:57)

Offline

#6 2019-10-30 16:17:07

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

Re: [solved] ERROR : device not found [systemdboot]

loqs, all of the info you're looking for was already posted. See the link.

The warning in the output tells us what's wrong, though, so none of the rest of this matters.

Offline

#7 2019-10-30 16:21:42

loqs
Member
Registered: 2014-03-06
Posts: 19,099

Re: [solved] ERROR : device not found [systemdboot]

I thought the link would be back to https://bbs.archlinux.org/viewtopic.php?id=250335 I should have checked.
Edit:
See post 40+ of the linked thread.

Last edited by loqs (2019-10-30 16:22:31)

Offline

#8 2019-10-30 17:35:01

r00tr4t
Member
Registered: 2013-01-16
Posts: 101

Re: [solved] ERROR : device not found [systemdboot]

loqs wrote:

I thought the link would be back to https://bbs.archlinux.org/viewtopic.php?id=250335 I should have checked.
Edit:
See post 40+ of the linked thread.

Hello loqs thank you for the last day. I marked that tree as solved because I nitial problem with downloading packages was solved and now I 'only' have to solve the boot problem.


I tested running

 mkinitcpio - p litux

Inside chroot environment and got following Error .

Last edited by r00tr4t (2019-10-30 17:38:20)

Offline

#9 2019-10-30 17:44:06

loqs
Member
Registered: 2014-03-06
Posts: 19,099

Re: [solved] ERROR : device not found [systemdboot]

Inside the chroot what is the output of

pacman -Q linux

Also from outside the chroot what is the output of

findmnt /mnt

Last edited by loqs (2019-10-30 17:47:01)

Offline

#10 2019-10-30 18:14:58

r00tr4t
Member
Registered: 2013-01-16
Posts: 101

Re: [solved] ERROR : device not found [systemdboot]

pacman -Q linux 
Linux 5.3.7.arch1-2
findmnt /mnt
TARGET SOURCE FSTYPE OPTIONS 
/mnt       /dev/sda2 ext4     rw,realtime 

Offline

#11 2019-10-30 18:21:24

loqs
Member
Registered: 2014-03-06
Posts: 19,099

Re: [solved] ERROR : device not found [systemdboot]

See https://bbs.archlinux.org/viewtopic.php … 7#p1870957
Edit:
To be clear the ESP needs to be mounted to /mnt/boot before you chroot in and reinstall the linux package.

Last edited by loqs (2019-10-30 18:23:43)

Offline

#12 2019-10-30 18:38:47

r00tr4t
Member
Registered: 2013-01-16
Posts: 101

Re: [solved] ERROR : device not found [systemdboot]

I mount everything with this batch script that I wrote when I have started the system.
startup.sh

But I wonder if /boot2 is correct? I think I did a dodo wen I installed the system.

lsblk -f

Last edited by r00tr4t (2019-10-30 18:42:08)

Offline

#13 2019-10-30 18:44:02

loqs
Member
Registered: 2014-03-06
Posts: 19,099

Re: [solved] ERROR : device not found [systemdboot]

Check what version the kernel is  /mnt/boot/

file /mnt/boot/vmlinuz-linux

unmount /mnt/boot then check again.
Edit:
What is /boot2 used for?
Edit2:
The arch-chroot script can handle mounting the pseudo filesystems and resolve.conf

Last edited by loqs (2019-10-30 18:52:30)

Offline

#14 2019-10-30 19:22:49

r00tr4t
Member
Registered: 2013-01-16
Posts: 101

Re: [solved] ERROR : device not found [systemdboot]

Annoyingly ix.io seams to be down.
But it writes out the same info in both cases.

 file /mnt/boot/wmlinuz-linux
/mnt/boot/wmlinuz-linux: Linux kernel x86 boot executeble bzimage, version 5.3.7-arch1-ARCH (linux@archlinux) #1572009234, R0-rootFS, swap_dev 0x5, Normal VGA

pew

Offline

#15 2019-10-30 19:26:05

r00tr4t
Member
Registered: 2013-01-16
Posts: 101

Re: [solved] ERROR : device not found [systemdboot]

Dubble post sad

Last edited by r00tr4t (2019-10-30 20:05:58)

Offline

#16 2019-10-30 19:37:07

loqs
Member
Registered: 2014-03-06
Posts: 19,099

Re: [solved] ERROR : device not found [systemdboot]

What version was the initrd generated for?

lsinitcpio /mnt/boot/initramfs-linux.img

under usr/lib/modules/ should list the kernel name.
Please be careful of the double posts.

Last edited by loqs (2019-10-30 19:37:27)

Offline

#17 2019-10-30 20:12:24

r00tr4t
Member
Registered: 2013-01-16
Posts: 101

Re: [solved] ERROR : device not found [systemdboot]

lsinitcpio....

I honestly don't understand why do I have both the sda1 UEFI disk and the sda3 'boot' disk?

Last edited by r00tr4t (2019-10-30 20:35:08)

Offline

#18 2019-10-30 20:32:21

loqs
Member
Registered: 2014-03-06
Posts: 19,099

Re: [solved] ERROR : device not found [systemdboot]

Extracted from linux-5.3.7.arch1-2-x86_64.pkg.tar.xz

boot/vmlinuz-linux: Linux kernel x86 boot executable bzImage, version 5.3.7-arch1-2-ARCH (linux@archlinux) #1 SMP PREEMPT @1572002934, RO-rootFS, swap_dev 0x5, Normal VGA

While the vmlinux your system has is from 5.3.7.arch1-1

/mnt/boot/wmlinuz-linux: Linux kernel x86 boot executeble bzimage, version 5.3.7-arch1-ARCH (linux@archlinux) #1572009234, R0-rootFS, swap_dev 0x5, Normal VGA

Somehow the vmlinuz-linux does not match the initrd which was built for usr/lib/modules/5.3.7-arch1-2-ARCH/ even though both the kernel and initrd are in the same directory.

Offline

#19 2019-10-30 20:37:48

r00tr4t
Member
Registered: 2013-01-16
Posts: 101

Re: [solved] ERROR : device not found [systemdboot]

Great news I guess because then we know what is the problem. How do we correct that?
Can we force pacman to reinstall the right kernel?

YEEES I got it working! Everything is back! big_smile
What I did was chrooting in to /mnt

chroot /mnt bin/bash

Then according to this thread
You should install the following:

 pacman -S filesystem linux 

This did a lot of things so i thought why not run the

mkinitcpio -p linux

command again after that and this time this worked with out error. smile

Thank you so much for the support loqs. Is there a way for me to by you a cup of coffee or something?

Last edited by r00tr4t (2019-10-30 21:57:34)

Offline

#20 2019-10-30 21:49:18

loqs
Member
Registered: 2014-03-06
Posts: 19,099

Re: [solved] ERROR : device not found [systemdboot]

loqs wrote:

Edit:
What is /boot2 used for?
Edit2:
The arch-chroot script can handle mounting the pseudo filesystems and resolve.conf

After you used the startup.sh script last time what commands did you perform to chroot in then install the kernel?
Please also explain about /boot2
Edit:
Code_of_conduct#Life_is_a_two-way_street
How did you solve the issue?

Last edited by loqs (2019-10-30 21:54:59)

Offline

#21 2019-10-30 22:01:51

r00tr4t
Member
Registered: 2013-01-16
Posts: 101

Re: [solved] ERROR : device not found [systemdboot]

loqs wrote:
loqs wrote:

Edit:
What is /boot2 used for?
Edit2:
The arch-chroot script can handle mounting the pseudo filesystems and resolve.conf

After you used the startup.sh script last time what commands did you perform to chroot in then install the kernel?
Please also explain about /boot2
Edit:
Code_of_conduct#Life_is_a_two-way_street
How did you solve the issue?

I still do not know what /boot2 is used for but my machine is working right now and i need sleep. =P
post #19 shows the solution. smile

Last edited by r00tr4t (2019-10-30 22:02:41)

Offline

Board footer

Powered by FluxBB