You are not logged in.

#1 2023-05-10 14:15:50

shayan99999
Member
Registered: 2022-07-02
Posts: 37

Arch fails to boot as root drive is not found [SOLVED]

The error occurs at boot. Here's a video of the error: https://drive.google.com/file/d/1cVx8C5 … eA_5y/view
After the error, there is just a black screen.

I used a Arch Recovery USB to boot into the system. I used the fsck command on the root partition but it didn't solve the error.

Last edited by shayan99999 (2023-05-10 17:07:08)

Offline

#2 2023-05-10 14:31:23

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,255

Re: Arch fails to boot as root drive is not found [SOLVED]

Do not use /dev/nvme or similar as identifiers in your bootloader configuration nor in your /etc/fstab they are unstable and can switch depending on whether nvme0 or nvme1 is detected first and thus which of the two gets the appropriate device first. Switch to using UUIDsor PARTUUIDs: https://wiki.archlinux.org/title/Persis … ice_naming

Offline

#3 2023-05-10 14:33:35

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

Re: Arch fails to boot as root drive is not found [SOLVED]

Remove quiet from the kernel command line if you want to see what's actually happening.

What is it supposed to do at that point?

Offline

#4 2023-05-10 14:43:09

shayan99999
Member
Registered: 2022-07-02
Posts: 37

Re: Arch fails to boot as root drive is not found [SOLVED]

I only have 1 nvme drive in the laptop. It has 3 partitions. The /dev/nvme0n1p3 being the root partition and /dev/nvme0n1p2 being the boot partition.

Offline

#5 2023-05-10 14:57:33

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,337

Re: Arch fails to boot as root drive is not found [SOLVED]

The only drive not found is the bogus resume reference which is most likely NOT the root device and then there's a problem w/ the GUI session and some service depending on it fails.

Reboot the system w/ ctrl+alt+del (press it frenetically), then boot the multi-user.target, 2nd link below.
There post the system journal for the previous boot,

sudo journalctl -b -1 | curl -F 'file=@-' 0x0.st

Offline

#6 2023-05-10 15:15:40

shayan99999
Member
Registered: 2022-07-02
Posts: 37

Re: Arch fails to boot as root drive is not found [SOLVED]

Here is an image from the Arch recovery usb proving nvme0n1p3 is the root partition: https://drive.google.com/file/d/1aX-ae9 … sp=sharing
Also, I tried that command there and the you can see the error in the image.
I can't even get to a terminal interface without using the recovery usb

Last edited by shayan99999 (2023-05-10 15:17:04)

Offline

#7 2023-05-10 15:21:38

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,337

Re: Arch fails to boot as root drive is not found [SOLVED]

You obviously didn't establish an internet connection on the installation iso.
Stop posting images, boot the multi-user.target and post the journal.
Whether or not nvme0n1p3 is the root partition is irrelevant in this context, it just means that you're either trying to use the root partition as hibernation swap or that you're using a swap file, but the error just says that you've configure the resume device wrongly and is irrelevant to the "booting" failure which is very most likely just a problem w/ your graphical session.

Offline

#8 2023-05-10 15:30:48

shayan99999
Member
Registered: 2022-07-02
Posts: 37

Re: Arch fails to boot as root drive is not found [SOLVED]

I connected to the internet. This was the output: http://0x0.st/HZFt.txt

Offline

#9 2023-05-10 16:06:57

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,337

Re: Arch fails to boot as root drive is not found [SOLVED]

Bogus resume stanza:
"resume=/nvme0n1p3"

Yuor DM

May 10 19:52:23 acerlaptop sddm-greeter[1207]: Loading theme configuration from "/usr/share/sddm/themes/Nordic/theme.conf"
May 10 19:52:23 acerlaptop sddm-greeter[1207]: Connected to the daemon.
May 10 19:52:23 acerlaptop sddm-greeter[1207]: QFont::fromString: Invalid description '(empty)'
May 10 19:52:23 acerlaptop sddm[693]: Message received from greeter: Connect
May 10 19:52:23 acerlaptop sddm-greeter[1207]: Loading file:///usr/share/sddm/themes/Nordic/Main.qml...
May 10 19:52:24 acerlaptop sddm-greeter[1207]: QObject: Cannot create children for a parent that is in a different thread.
May 10 19:52:24 acerlaptop sddm-greeter[1207]: QObject: Cannot create children for a parent that is in a different thread.
May 10 19:52:24 acerlaptop sddm-greeter[1207]: QObject: Cannot create children for a parent that is in a different thread.
May 10 19:52:24 acerlaptop sddm-greeter[1207]: QObject::installEventFilter(): Cannot filter events for objects in a different thread.
May 10 19:52:24 acerlaptop dbus-daemon[500]: [system] Activating via systemd: service name='org.freedesktop.UDisks2' unit='udisks2.service' requested by ':1.26' (uid=968 pid=1207 comm="/usr/bin/sddm-greeter --socket /tmp/sddm-:0-rxvIRD")
May 10 19:52:24 acerlaptop dbus-daemon[500]: [system] Activating via systemd: service name='org.freedesktop.UPower' unit='upower.service' requested by ':1.26' (uid=968 pid=1207 comm="/usr/bin/sddm-greeter --socket /tmp/sddm-:0-rxvIRD")
May 10 19:52:24 acerlaptop sddm-greeter[1207]: file:///usr/share/sddm/themes/Nordic/Main.qml:479:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
May 10 19:52:24 acerlaptop sddm-greeter[1207]: file:///usr/share/sddm/themes/Nordic/components/VirtualKeyboard.qml:21:1: module "QtQuick.VirtualKeyboard" is not installed
May 10 19:52:24 acerlaptop sddm-greeter[1207]: file:///usr/share/sddm/themes/Nordic/Login.qml:92:9: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
May 10 19:52:24 acerlaptop sddm-greeter[1207]: Adding view for ":0.0" QRect(0,0 640x480)
May 10 19:52:24 acerlaptop sddm-greeter[1207]: QDBusConnection: name 'org.freedesktop.UDisks2' had owner '' but we thought it was ':1.28'
May 10 19:52:24 acerlaptop sddm-greeter[1207]: QDBusConnection: name 'org.freedesktop.UPower' had owner '' but we thought it was ':1.30'
May 10 19:52:24 acerlaptop sddm-greeter[1207]: Message received from daemon: Capabilities
May 10 19:52:24 acerlaptop sddm-greeter[1207]: Message received from daemon: HostName
May 10 20:59:13 acerlaptop systemd[1]: Stopping Session c1 of User sddm...
May 10 20:59:13 acerlaptop sddm[693]: Error from greeter session: "Process crashed"
May 10 20:59:13 acerlaptop sddm[693]: Auth: sddm-helper crashed (exit code 15)
May 10 20:59:13 acerlaptop sddm[693]: Error from greeter session: "Process crashed"
May 10 20:59:13 acerlaptop sddm[693]: Auth: sddm-helper exited with 15
May 10 20:59:13 acerlaptop sddm[693]: Greeter stopped.
May 10 20:59:13 acerlaptop sddm[693]: Signal received: SIGTERM

=> Please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General

Offline

#10 2023-05-10 16:24:53

shayan99999
Member
Registered: 2022-07-02
Posts: 37

Re: Arch fails to boot as root drive is not found [SOLVED]

Offline

#11 2023-05-10 16:44:26

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,255

Re: Arch fails to boot as root drive is not found [SOLVED]

You're using sddm, your current active and relevant xorg log will generally be under /var/log/Xorg.0.log, also please post that as text https://wiki.archlinux.org/title/List_o … n_services

Offline

#12 2023-05-10 16:47:54

shayan99999
Member
Registered: 2022-07-02
Posts: 37

Re: Arch fails to boot as root drive is not found [SOLVED]

Here's that xorg log: http://0x0.st/HZCv.txt

Offline

#13 2023-05-10 16:54:59

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,337

Re: Arch fails to boot as root drive is not found [SOLVED]

X1 server runs fine, but you're using optimus-manager, are running on the nvidia chip and all outputs are on the intel one.
Remove optimus-manager and all configs it generated in /etc/X11/xorg.conf.d

Offline

#14 2023-05-10 16:58:58

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,255

Re: Arch fails to boot as root drive is not found [SOLVED]

Rebuild your optimus-manager package against the newest python, or since this is a turing card and there not actually existing a need to opt for it, remove optimus-manager and switch to PRIME render offloading instead: https://wiki.archlinux.org/title/PRIME# … er_offload

Edit: Effin F5

Last edited by V1del (2023-05-10 16:59:46)

Offline

#15 2023-05-10 17:00:45

shayan99999
Member
Registered: 2022-07-02
Posts: 37

Re: Arch fails to boot as root drive is not found [SOLVED]

Thanks. That worked. The same error still shows when booting the system but it manages to load the desktop. Can I now install optimus manager again?

Offline

#16 2023-05-10 17:05:50

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,337

Re: Arch fails to boot as root drive is not found [SOLVED]

You can, the question is whether you want.
I'd be w/ V1del: "no you don't".

Edit: and 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.

Last edited by seth (2023-05-10 17:06:08)

Offline

Board footer

Powered by FluxBB