You are not logged in.

#51 2025-07-18 09:10:46

Chuck9365
Member
Registered: 2024-08-27
Posts: 43

Re: [SOLVED]Root device mounted successfully,but /sbin/init does not exist

yeah, its systemd

Offline

#52 2025-07-18 12:34:17

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

Re: [SOLVED]Root device mounted successfully,but /sbin/init does not exist

seth wrote:

check the contents of /mnt/boot/loader - https://wiki.archlinux.org/title/System … figuration

Offline

#53 2025-07-18 12:43:19

Chuck9365
Member
Registered: 2024-08-27
Posts: 43

Re: [SOLVED]Root device mounted successfully,but /sbin/init does not exist

uh, sorry. I just have timeout 3 in the config file
and this is ls from loader dir

entries
entries.srel
keys
loader.conf
random-seed

Last edited by Chuck9365 (2025-07-18 12:45:39)

Offline

#54 2025-07-18 12:58:37

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

Re: [SOLVED]Root device mounted successfully,but /sbin/init does not exist

What "config file", don't paraphrase, post the content of all files.
Do you have a kernel or initramfs in /mnt/boot when NOT mounting the boot partition there?

Offline

#55 2025-07-18 13:54:58

Chuck9365
Member
Registered: 2024-08-27
Posts: 43

Re: [SOLVED]Root device mounted successfully,but /sbin/init does not exist

What "config file",

i meant loader.conf

/mnt/boot is literally empty when i dont mount the boot partition

Offline

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

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

Re: [SOLVED]Root device mounted successfully,but /sbin/init does not exist

seth, twice wrote:
seth wrote:

check the contents of /mnt/boot/loader - https://wiki.archlinux.org/title/System … figuration

Notably the entries directory…

Offline

#57 2025-07-18 14:22:53

Chuck9365
Member
Registered: 2024-08-27
Posts: 43

Re: [SOLVED]Root device mounted successfully,but /sbin/init does not exist

ls of entries dir
2025-02-18_19-32-18_linux.conf
2025-02-18_19-32-18_linux-fallback.conf

linux.conf

#Created by: archinstall
# Created on: 2025-02-18_19-32-18
title   Arch Linux (linux)
linux   /vmlinuz-linux
initrd  /initramfs-linux.img
options root=PARTUUID=811a481b-cdeb-495a-9295-ddbc6689892f zswap.enabled=0 rw rootfstype=ext4

linux-fallback.conf

# Created by: archinstall
# Created on: 2025-02-18_19-32-18
title   Arch Linux (linux-fallback)
linux   /vmlinuz-linux
initrd  /initramfs-linux-fallback.img
options root=PARTUUID=811a481b-cdeb-495a-9295-ddbc6689892f zswap.enabled=0 rw rootfstype=ext4

i cant access these config files wihtout mounting the boot partition, so im not sure about this one:

Do you have a kernel or initramfs in /mnt/boot when NOT mounting the boot partition there?

Last edited by Chuck9365 (2025-07-18 14:31:52)

Offline

#58 2025-07-18 14:32:37

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

Re: [SOLVED]Root device mounted successfully,but /sbin/init does not exist

lsblk -o NAME,UUID,PARTUUID

(UUID 8817cf5c-67e1-4002-a668-c5aeec1d6e4e is relevant)

Offline

#59 2025-07-18 14:41:20

Chuck9365
Member
Registered: 2024-08-27
Posts: 43

Re: [SOLVED]Root device mounted successfully,but /sbin/init does not exist

NAME        UUID                                 PARTUUID
loop0                                            
sda                                              
└─sda1      BE15-CF36                            0005896b-01
nvme0n1                                          
├─nvme0n1p1 03BF-2B16                            07bd8462-56eb-4411-8c64-01ee50d2211a
├─nvme0n1p2 8817cf5c-67e1-4002-a668-c5aeec1d6e4e 811a481b-cdeb-495a-9295-ddbc6689892f
├─nvme0n1p3                                      a9ca1493-b3ee-41fd-bacd-3fd145720288
└─nvme0n1p4 10387ED8387EBBF2                     becd8a03-bab2-4a09-951b-1079957f671c

yeah found it

Offline

#60 2025-07-18 14:57:41

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

Re: [SOLVED]Root device mounted successfully,but /sbin/init does not exist

The part UUID matches, can we get some images of the boot process, ie. what you're actually seeing there?

Offline

#61 2025-07-18 16:18:31

Chuck9365
Member
Registered: 2024-08-27
Posts: 43

Re: [SOLVED]Root device mounted successfully,but /sbin/init does not exist

ok, strange thing happened. Im now actually able to boot into my system.
The last time i was trying to get into my system was on this step

So on the chroot,

stat /sbin/init
pacman -Qikk systemd systemd-sysvcompat

Do you get any errors when re-installing the kernel?
Do /etc/mkinitcpio.conf and /etc/mkinitcpio.d/*.preset look like sane files?

i have no idea how that happened. I tried to boot multiple times back then. My closest guess is that it happened after reinstalling the kernel, because I'm not sure if i tried to login into my system there
I obviously didn't had any packages installed so i firstly installed sddm,  terminal and the browser.
Surprisingly, i dont think i lost any important data. My few big folders are still pretty big, so maybe i lost some of those files, I'm not sure. All my config files are untouched.

im only getting these kinds of errors

failed to commit transaction (conflicting files)
mpv: /etc/mpv/encoding-profiles.conf exists in filesystem

it doesn't happen with all the packages. I dont really see the pattern when i get this error

also when -Syu the only noticeable thing is

warning: could not get file information for usr/lib32/cmake/
warning: could not get file information for usr/lib32/cmake/libxml2/
warning: could not get file information for usr/lib32/cmake/libxml2/libxml2-config.cmake
warning: could not get file information for usr/lib32/libxml2.so
warning: could not get file information for usr/lib32/libxml2.so.16
warning: could not get file information for usr/lib32/libxml2.so.16.0.4
warning: could not get file information for usr/lib32/pkgconfig/
warning: could not get file information for usr/lib32/pkgconfig/libxml-2.0.pc
warning: could not get file information for usr/share/licenses/lib32-libxml2/
warning: could not get file information for usr/share/licenses/lib32-libxml2/Copyright

I'm not sure if we wanna keep going with the debugging. Maybe you could lend me a hand with this

failed to commit transaction (conflicting files)

error. Beacuse it shows up quite often and im not sure if renaming these files is ideal
https://wiki.archlinux.org/title/Pacman … )%22_error
I really appreciate your help. I was sure that you will ghost me from some point on lol  I really thank you for your time

Last edited by Chuck9365 (2025-07-18 16:27:03)

Offline

#62 2025-07-18 19:43:36

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

Re: [SOLVED]Root device mounted successfully,but /sbin/init does not exist

ok, strange thing happened. Im now actually able to boot into my system.

\o/

My closest guess is that it happened after reinstalling the kernel

dto.

mpv: /etc/mpv/encoding-profiles.conf exists in filesystem

Generally first try to "--dbonly" re-install the package to sanitize the database. If that desn't help, see https://wiki.archlinux.org/title/Pacman … )%22_error

also when -Syu the only noticeable thing is

Seems like the multilib installation is still broken

I was sure that you will ghost me from some point on

As long as you're moving forward, don't start to pick a fight with facts and reality and I'm not running out of ideas that's unlikely to happen cool
(Though I will say for future readers that sometimes threads simply fall off the table, just keep working and post an update - not a bump - to move it back on)

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

#63 2025-07-18 20:06:58

Chuck9365
Member
Registered: 2024-08-27
Posts: 43

Re: [SOLVED]Root device mounted successfully,but /sbin/init does not exist

try to "--dbonly" re-install the package to sanitize the database

yeah, that've done the trick. Thanks again. Marking as solved

Offline

Board footer

Powered by FluxBB