Hi, so I've done full system update after a around month of not doing so, and at first it crashed mid thing, but I booted to cli and finished rest no problem. Now when I boot I get error that /boot couldn't be mounted and idrk what to do. I have a backup on raid1 partition but idk how to get to it, or I can do it other way? I'll send pictures soon. Also as far as I see internet doesn't work too
#[SOLVED]System doesn't mount boot after update
201 messages · Page 1 of 1 (latest)
drop to a shell and run systemctl status boot.mount please
send a picture here, do not type it out
I was about to do it hehe
go into the iso, mount your partitions, chroot in, and then regen your kernel images with mkinitcpio -P
So I need a pendrive with arch,m
yes
Okay, will any of data be lost?
no
Okay great thanks I'll try it soon and let you know
When I'll be booted into iso can you assist me a little? I am pretty much new into it and don't know a lot
Okay
mounting will be different depending on what filesystem you're using, if btrfs first mount the toplevel subvolume and then list out the available subvolumes on that mount point
additionally if using an encrypted root, first open it with cryptsetup then mount /dev/mapper/*
I didn't try yet, I was downloading ISO
worked? @old cypress
Im stuck on mounting, it says that it can't find it in fstab
Is this BTRFS?
And you're doing it wrong
That's not how you chroot
... chroot
Yes
I was told to first mount then chroot? Unless I understand wrong
I didn't get to that step yet
You're mounting it the wrong way
Read that article
BTRFS uses subvolumes, which you have to mount
.aw BTRFS
Okay I'll read the article rq sorry I didn't know
You don't mount BTRFS like ext4
Different filesystems
So I follow this?
It says unknown parameter 'subvol'
Yes
Read it again, it literally tells how to chroot BTRFS
Arch installed with archinstall uses same subvolumes configuration as EndeavourOS
Use lsblk -f to check your configuration
Yes, and I need to mount / before chroot, right?
I get that error while trying to mount / like in the guide
You're doing it wrong
I already said how to proceed
Maybe im reading wrong part of the article, but I type the exact command they're telling me to and I get that error
It literally says mount -o something
Check dmesg
It depends on your BTRFS subvol layout
Also use latest arch iso
I have latest iso, downloaded yesterday
lsblk -f helps
Not sure how to check it, unless I am not seeing something in lsblk -f, cus I tried mounting nvme0n1p2 but get an error too
This is dmesg for this
And similar error for when I try to mount nvme0n1p2 but it also says no such file or directory
Why it's targeting ext4 when it's BTRFS
Be sure what filesystem you're using
It wasn't subvol=@ but subvol=/ 
Apparently restoration completed, I exited from chroot, rebooted to arch but still it can't mount /boot on startup
Same error as earlier
Earlier I mean first screenshot
Okay @signal glacier so I mounted both as in the guide Hazel send, ran mkinitcpio -P rebooted to OS but it still is dead (image 1 is after mkinitcpio-P, image 2 after boot)
From what I see it sometimes works sometimes not?
Ngl idk what to do
I did what I was told to do but still the same error on boot
you forgot to mount your esp partition here
I did, I mounted nvme0n1p2 and nvme0n1p1
show me
mount both. chroot in, run mkinitcpio -P, and then lsblk -f, and ls -l /boot
Ok
Please
whats in /efi?
is that xboodldr?
ls -lR /efi pls
kay my suspicions are you're mounting your esp to the wrong place and you don't actually have xbootldr
you should exit chroot and mount your esp partition to /mnt/boot instead
and then chroot in, regen kernel images
then show me:
cat /etc/fstab
ls -l /boot
you only need to mount the root subvolume, whether that being the toplevel one or not
so:
mount -o subvol=@ /dev/nvme0n1p2 /mnt
and then you would mount your esp here
well now we see
you're mounting your esp partition to the wrong place
do this
and the message below
Esp being nvme0n1p1?
yes
it needs to be remounted to /mnt/boot
since kernel images get generated in /boot
Oh, okay, I followed what Hazel send me
they only taught you how to mount your btrfs partition, not esp
esp you should know where to mount if you installed manually
It's in the guide to mount under /mnt/efi
that's only for pure uki/efistub setups, and/or xbootldr
well that's not the archwiki sorry not osrry
I'll unmount it and mount under where you said
I mean it was linked in this conversation so I thought it's fine
where exactly?
@signal glacier don't link this, it's spreading misinformation
it's completely wrong as well, from a first glance
Why when I do this I get an error no such file or directory but when I replace @ with / it mounts?
missing that subvolume
/ is the toplevel subvolume in btreefs
@ is where your root would live if you had followed the default layout
mkinitcpio -P
and you'll be good
just rerun ls -hR /boot after so i can sanity check it
Check top unless I misspelled it
oh
(also is the image quality good)
update your kernel with:
pacman -Syu linux
this will trigger initramfs creation
which is what mkinitcpio -P does
All 84 packages?
well first
have you done the manual intervention?
for linux-firmware
this
if not, cancel out of that upgrade and:
pacman -Rdd linux-firmware && pacman -Syu linux linux-firmware
I did
kay
then proceed
with the update
and if there are any warnings or errors, send a picture here
Errors occured no packages were updated, and a bunch of X exist in filesystem
I'll send pic in a sec
pacman -Syu --overwrite='*'
run this as typed
--overwrite='*' two single quotes with an asterisk
Again non valid kernel errors
show
same as here?
send output of this
linux 6.15.6.arch1-1
-p or -P?
lowercase
weird that it's pointing to that, does exiting chroot and re entering work? if not then try a reboot
remount,rechroot,and re mkinitcpio -P
for reboot only
So first exit chroot, try this and if same error reboot, remount, chroot and this again?
In chroot right?
yes
Can I keep it plugged just change boot order?
you can change boot order on cli with efibootmgr
In bios
Ok
When I input my password I get send back to this screen, error was before I did anything
unrelated to this thread, make a new one and ping me there so i can help you with that
for now mark this thread as solved
... solved
#17640 📣 If there is nothing else that we can do for you, please close this thread by adding "[SOLVED]" to the title.
- You can do this on desktop by clicking the three dots on the top right of the page, and pressing "Edit Post".
- You can also do this on Android / iOS by long tapping your post in the text channel list, and tapping "Edit Post".
Your title should be like so: https://media.discordapp.net/attachments/1377138685538992252/1394893287667667035/image.png?ex=6878771b&is=6877259b&hm=e490049052812fd977384de338fa0f0c0634c50ed75a6f5a00bc7c7a847ff278&=&format=webp&quality=lossless&width=628&height=122
Thank you
Okay
[SOLVED]System doesn't mount boot after update
Done?
it's not misinformation. it works here fine, always did, and was written by endeavourOS devs.
I use it as template and reminder.
it is
i have listed my reasons in a separate channel
3rd party guide
which is only meant for uki/efistub setups and/or xbootldr
kernel images always go in /boot so mounting esp to /mnt/efi will cause issues, unless the user has modified /etc/mkinitcpio.d/linux.preset or any of the other preset files to point images to /efi instead of /boot
if xbootldr, the bootloader will live in /efi so it's fine to mount to /mnt/efi
even if it does mention this way (/boot/efi not /efi), it's still wrong as stated in the specification and totally deprecated, also this completely varies on the users setup, a noob is not going to know where their esp partition gets mounted to and will just mount it to /mnt/efi blindly
https://uapi-group.org/specifications/specs/boot_loader_specification/#mount-points
@signal glacier