You are not logged in.

#1 2022-08-01 12:55:29

OkyMata
Member
Registered: 2022-07-28
Posts: 9

[SOLVED] System stuck at '/dev/sda2: clean…' after system upgrade

Hello everyone,
Today I upgraded my system without errors but after shutting the system down it won’t boot anymore.
The only thing that shows up is

 Starting version 251.3-1-arch
/dev/sda2 : clean, 849958/13516800 files, 8182641/54037900 blocks 

But nothing else happens after that.

I tried removing the quiet parameter in the linux parameters like described here but then the system gets stuck at

 [OK] Reached target Graphical Interface 

Where could the problem be?

Thanks in advance

Last edited by OkyMata (2022-08-01 16:49:46)


What did I get myself into

Offline

#2 2022-08-01 12:57:40

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

Re: [SOLVED] System stuck at '/dev/sda2: clean…' after system upgrade

What's it supposed to do at that point?

Offline

#3 2022-08-01 13:02:05

OkyMata
Member
Registered: 2022-07-28
Posts: 9

Re: [SOLVED] System stuck at '/dev/sda2: clean…' after system upgrade

Idk, boot I guess. The '/dev/sda2…' thingy usually just shows up for half a second. After that there is the green [OK] sequence and then SDDM shows up.

Last edited by OkyMata (2022-08-01 13:07:53)


What did I get myself into

Offline

#4 2022-08-01 13:12:37

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

Re: [SOLVED] System stuck at '/dev/sda2: clean…' after system upgrade

It did boot.

So it's supposed to start sddm. Add systemd.unit=multi-user.target to the kernel command line, it should get you to a normal getty login. You can access logs from there.

Offline

#5 2022-08-01 13:28:21

OkyMata
Member
Registered: 2022-07-28
Posts: 9

Re: [SOLVED] System stuck at '/dev/sda2: clean…' after system upgrade

I did add it where the 'quiet' would usually be but it changed nothing. When booting like that it’s still stuck at '[OK] Reached target Graphical Interface'.

Last edited by OkyMata (2022-08-01 13:28:55)


What did I get myself into

Offline

#6 2022-08-01 13:52:47

loqs
Member
Registered: 2014-03-06
Posts: 18,860

Re: [SOLVED] System stuck at '/dev/sda2: clean…' after system upgrade

Can you switch to another tty with Ctrl+Alt+F2?  If not boot from installation media then chroot in.  Then please post the full system journal for a boot with the issue.

Offline

#7 2022-08-01 14:14:39

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

Re: [SOLVED] System stuck at '/dev/sda2: clean…' after system upgrade

On top of that, you cannot reach the graphical target if you told the system to boot the multi-user.target
Where and how exactly did you add "systemd.unit=multi-user.target"? /etc/default/grub?

Offline

#8 2022-08-01 14:29:14

OkyMata
Member
Registered: 2022-07-28
Posts: 9

Re: [SOLVED] System stuck at '/dev/sda2: clean…' after system upgrade

loqs wrote:

Can you switch to another tty with Ctrl+Alt+F2?  If not boot from installation media then chroot in.  Then please post the full system journal for a boot with the issue.

this is what journalctl gave me
https://0x0.st/oecE.txt


What did I get myself into

Offline

#9 2022-08-01 14:35:02

OkyMata
Member
Registered: 2022-07-28
Posts: 9

Re: [SOLVED] System stuck at '/dev/sda2: clean…' after system upgrade

seth wrote:

On top of that, you cannot reach the graphical target if you told the system to boot the multi-user.target
Where and how exactly did you add "systemd.unit=multi-user.target"? /etc/default/grub?

In GRUB I just pressed e to edit the commands before booting.
I added 'systemd.unit=multi-user.target' at the end of the 'linux /vmlinuz-linux root=[...] loglevel=3' line, replacing 'quiet'

Last edited by OkyMata (2022-08-01 14:35:49)


What did I get myself into

Offline

#10 2022-08-01 14:47:03

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

Re: [SOLVED] System stuck at '/dev/sda2: clean…' after system upgrade

Aug 01 15:59:02 LK-PC systemd-modules-load[319]: Failed to find module 'nvidia-uvm'

but there's no trace of the nvidia driver (or any other driver, incl. nouveau) being even attempted, so something went wrong installing the nvidia kernel modules.
From the chroot

pacman -Qs 'nvida|linux'

It did work on the boot of the same kernel version (5.18.14) at 13:07:13 and w/

Today I upgraded my system without errors

you probably just forgot to mount the /boot partition before the update.

Also

szstemd.unit=multi-user.target

you should look at what you type…

Offline

#11 2022-08-01 14:51:45

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

Re: [SOLVED] System stuck at '/dev/sda2: clean…' after system upgrade

Well no, you added szstemd.unit=multi-user.target, but whatever, you got in, that's what matters.

It's failing to find the nvidia-uvm module, how do you have the nvidia drivers installed?

Offline

#12 2022-08-01 15:21:44

OkyMata
Member
Registered: 2022-07-28
Posts: 9

Re: [SOLVED] System stuck at '/dev/sda2: clean…' after system upgrade

output of 'pacman -Qs 'nvidia|linux'':
http://0x0.st/oeTX.txt

Whe I installed the nvidia drivers I just installed them with a simple 'pacman -S nvidia'

And sorry for the stupid szstemd typo, I'm using a qwertz layout and didn’t check what I typed out

Last edited by OkyMata (2022-08-01 15:25:22)


What did I get myself into

Offline

#13 2022-08-01 15:23:22

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

Re: [SOLVED] System stuck at '/dev/sda2: clean…' after system upgrade

local/linux 5.18.15.arch1-1

But you're booting linux 5.18.14.arch1-1, so seth probably has it, you didn't mount your /boot partiiton

Offline

#14 2022-08-01 15:28:48

OkyMata
Member
Registered: 2022-07-28
Posts: 9

Re: [SOLVED] System stuck at '/dev/sda2: clean…' after system upgrade

Ok so I should now chroot into my system, mount /boot and do 'pacman -Syyu' ?


What did I get myself into

Offline

#15 2022-08-01 15:29:58

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

Re: [SOLVED] System stuck at '/dev/sda2: clean…' after system upgrade

You'll need to specifically reinstall the kernel.

Offline

#16 2022-08-01 15:49:41

OkyMata
Member
Registered: 2022-07-28
Posts: 9

Re: [SOLVED] System stuck at '/dev/sda2: clean…' after system upgrade

Hey guys thanks for the fast help!
I reinstalled linux and also installed linux-lts for good measure and the system actually boots up again!
Last question: how can I prevent this from happening next time?
Always mounting /boot before Syyu?


What did I get myself into

Offline

#17 2022-08-01 16:16:21

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,612

Re: [SOLVED] System stuck at '/dev/sda2: clean…' after system upgrade

OkyMata wrote:

Always mounting /boot before Syyu?

First, do not use two 'y's unless you have a very good reason.  It is a waste of your time and our resources.

Short answer, yes.  Long answer, add it to /etc/fstab so that it is always there unless you have a (rare) use case for not mounting it.
That is what this step of the installation process does; you must have missed that.

Last edited by ewaller (2022-08-01 16:17:03)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#18 2022-08-01 16:48:13

OkyMata
Member
Registered: 2022-07-28
Posts: 9

Re: [SOLVED] System stuck at '/dev/sda2: clean…' after system upgrade

Alright thanks everyone I'll add /boot to fstab and mark this thread as solved!


What did I get myself into

Offline

#19 2025-02-12 04:11:44

_ieeya_
Member
Registered: 2023-12-02
Posts: 1

Re: [SOLVED] System stuck at '/dev/sda2: clean…' after system upgrade

Maybe... you just need to change the tty number...
I get the same issue that the screen stay on "/dev/sda2 : clean, xxx/xxx files ...." once boot. Then I changed to tty2 and tty3, everything running normally.

Offline

#20 2025-02-12 07:58:59

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

Re: [SOLVED] System stuck at '/dev/sda2: clean…' after system upgrade

The OP screwed there kernel update and please don't necrobump solved threads.
There's apparently an issue w/ framebuffer handling and/or the graphical.target - if you want that to be sorted out, please open a new thread and post your complete system journal for the boot there:

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

Offline

#21 2025-02-12 12:34:57

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

Re: [SOLVED] System stuck at '/dev/sda2: clean…' after system upgrade

As mentioned if you want to look at your problem open a new thread, closing this necrobump

Offline

Board footer

Powered by FluxBB