You are not logged in.

#1 2024-05-26 22:50:25

jbreese321
Member
Registered: 2022-01-24
Posts: 50

Booting into Emergency mode after update [SOLVED]

https://bpa.st/UNLA

Last edited by jbreese321 (2024-06-05 16:44:24)

Offline

#2 2024-05-26 22:55:30

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

Re: Booting into Emergency mode after update [SOLVED]

What is the version of the installed kernel package? Was /boot mounted when you performed the system update?

Offline

#3 2024-05-26 23:47:21

jbreese321
Member
Registered: 2022-01-24
Posts: 50

Re: Booting into Emergency mode after update [SOLVED]

The kernel showing is 6.8.9-zen1-2-zen

https://bpa.st/WKDA

And yes /boot was mounted during the upgrade

Last edited by jbreese321 (2024-05-26 23:50:33)

Offline

#4 2024-05-26 23:53:25

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

Re: Booting into Emergency mode after update [SOLVED]

The installed kernel package is 6.9.2.zen1-1 but the kernel from the log in the original post is 6.8.9-zen1-2-zen.  If /boot was mounted then the kernel is not being loaded from /boot.

Offline

#5 2024-05-27 00:02:41

jbreese321
Member
Registered: 2022-01-24
Posts: 50

Re: Booting into Emergency mode after update [SOLVED]

Ok. So what will I have to do in order to get my system working again?

Offline

#6 2024-05-27 00:06:40

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

Re: Booting into Emergency mode after update [SOLVED]

You need to adjust whatever is loading the kernel that is not on /boot to instead use the kernel that is on /boot.

Offline

#7 2024-05-27 00:11:08

jbreese321
Member
Registered: 2022-01-24
Posts: 50

Re: Booting into Emergency mode after update [SOLVED]

I am not aware of making any custom changes to elicit this behavior. Is there a wiki article I can reference. I am a novice when it comes to linux.

Offline

#8 2024-05-27 00:15:20

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

Re: Booting into Emergency mode after update [SOLVED]

Offline

#9 2024-05-27 00:20:18

jbreese321
Member
Registered: 2022-01-24
Posts: 50

Re: Booting into Emergency mode after update [SOLVED]

I am still unclear on how to go about this.

Offline

#10 2024-05-27 07:47:10

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

Re: Booting into Emergency mode after update [SOLVED]

BOOT_IMAGE=/boot/vmlinuz-linux-zen root=UUID=b3b1db16-d789-4448-a2a1-e9ce5262f9b0 rw radeon.dpm=1, loglevel=3 quiet

You're not using any boot partition.
Boot the install iso, mount the installation root into /mnt, arch-chroot there, do NOT mount the supposed boot partition but re-install the kernel (into the /boot directory of the root partition) and alter your fstab to not mount anything into /boot

If you want to change the behavior of the bootloader, that starts with identifying what your bootloader actually is.

Offline

#11 2024-05-29 02:28:35

jbreese321
Member
Registered: 2022-01-24
Posts: 50

Re: Booting into Emergency mode after update [SOLVED]

I am using grub for my bootloader. When I open up /etc/default/grub I don't see BOOT_IMAGE or root= anywhere, so i'm not sure how I would change those options.

Offline

#12 2024-05-29 06:37:10

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

Re: Booting into Emergency mode after update [SOLVED]

Depending on wether this is an UEFI or BIOS/MBR system, see https://wiki.archlinux.org/title/GRUB#Installation resp. https://wiki.archlinux.org/title/GRUB#Installation_2
Mount the boot partition into place and re-install grub and then also don't forget to regenerate the configuration.

Offline

#13 2024-06-01 10:58:24

jbreese321
Member
Registered: 2022-01-24
Posts: 50

Re: Booting into Emergency mode after update [SOLVED]

My system is using UEFI. I tried the following commands, but I ran into the same error.

First I mounted /dev/sda1

Then I ran grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB

Finally I ran grub-mkconfig -o /boot/grub/grub.cfg

Offline

#14 2024-06-01 12:02:43

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

Re: Booting into Emergency mode after update [SOLVED]

Ah, you of course also need to re-install/update the kernel into the proper location.
"cat /proc/cmdline" now says "/vmlinuz-linux-zen"? Not "/boot/vmlinuz-linux-zen"

Offline

#15 2024-06-03 11:56:34

jbreese321
Member
Registered: 2022-01-24
Posts: 50

Re: Booting into Emergency mode after update [SOLVED]

Correct I get the following output when I use the command cat /proc/cmdline

BOOT_IMAGE=/vmlinuz-linux-zen root=UUID=b3b1db16-d789-4448-a2a1-e9ce5262f9b0 rw radeon.dpm=1, loglevel=3 quiet

Offline

#16 2024-06-03 14:18:18

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

Re: Booting into Emergency mode after update [SOLVED]

There's a stray comma?
Did you re-install the kernel w/ the boot partition mounted into place?

Offline

#17 2024-06-03 20:35:33

jbreese321
Member
Registered: 2022-01-24
Posts: 50

Re: Booting into Emergency mode after update [SOLVED]

I did re-install the kernel w the boot partition mounted, but I got an error that the vfat filesystem was not recognized and I got booted into emergency mode.

Offline

#18 2024-06-03 21:04:46

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

Re: Booting into Emergency mode after update [SOLVED]

This typically indicates that booting and installed kernel mismatch.
Check

uname -a

in the rescue shell to see what kernel version you're booting.
The failsafe initramfs will btw. likely still boot.

Offline

#19 2024-06-05 12:42:21

jbreese321
Member
Registered: 2022-01-24
Posts: 50

Re: Booting into Emergency mode after update [SOLVED]

I redid the following steps and I was able to boot into Gnome

When I run uname -a I get the following

Linux arch-pc 6.9.2-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Sun, 26 May 2024 01:30:09 +0000 x86_64 GNU/Linux

When I run pacman -Si linux-zen

I get

Version         : 6.9.3.zen1-1

Offline

#20 2024-06-05 12:45:26

jbreese321
Member
Registered: 2022-01-24
Posts: 50

Re: Booting into Emergency mode after update [SOLVED]

I ran pacman -Syu  and for uname -a I get Linux arch-pc 6.9.3-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Fri, 31 May 2024 15:14

and for pacman -Si linuz-zen I get Version         : 6.9.3.zen1-1

Offline

#21 2024-06-05 13:35:11

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

Re: Booting into Emergency mode after update [SOLVED]

So… is there still a problem?
Otherwise 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

#22 2024-06-05 16:41:53

jbreese321
Member
Registered: 2022-01-24
Posts: 50

Re: Booting into Emergency mode after update [SOLVED]

Apparently there is not. Thanks for your help.

Offline

Board footer

Powered by FluxBB