You are not logged in.

#1 2023-03-08 22:59:48

kenden
Member
Registered: 2021-11-06
Posts: 3

Help repairing kernel with systemd boot and btrfs - Where to mount

After a very slow update today, I rebooted and found that my Arch system was no longer listed the boot menu. It appears that all linux,img files are missing. This is on an AMD system that dual boots with windows.  I did not use or have an fstab. Windows and Arch are on separate nvme drives.

The Arch disk is 2 partitions;
nvme2n1p1 -511M  with  directories - /EFI, /loader /system volume information
nvme2n1p2 - 953G  with directories - @ , @home @log ...

I do not understand where to mount the disk in order to reinstall linux kernel.

I have a live USB with arch on it.
I can see all of my partitions and I can mount them

I assume that I should be able to chroot to the correct mount point  (/mnt/@ ???) and the execute pacman -S linux... or it might be more complicated...

Any help would be greatly appreciated...

Offline

#2 2023-03-09 20:22:14

kenden
Member
Registered: 2021-11-06
Posts: 3

Re: Help repairing kernel with systemd boot and btrfs - Where to mount

Ok- so once I found it, the mount was easy.  For BTRFS  "-o subvol=@" where @ is  /
Not sure why that little piece of knowledge was so hard for me to find.

Because efi is one a different partition  I needed to mount it as /mnt/boot for  efi to show up

Somehow the "entries" directory was deleted as well so it was necessary to create a new arch.conf file.  Its been a fun few days.

The funny part of this was I am using BTRFS to speed up the repair of issues like this but I only had snapshots for @home.

Offline

Board footer

Powered by FluxBB