Hi Everyone, I had some hickups with the GRUB update issue and those issues are now resolved it seems now that I get GRUB screen on restart and I see both Linux 5.19 and LTS kernels.
However, I am seeing this error message and from reading few threads on Arch and other forums, fstab entry seems to be corrupt or incorrect. However, I haven’t made any changes…
As part of GRUB, I did update my system and updated Linux kernels from what I recall.
NAME TYPE FSTYPE SIZE LABEL UUID
loop0 loop 1.6G
sda disk 476.9G
├─sda1 part 511M
└─sda2 part 476.4G
└─mycryptdevice crypt 476.4G
sdb disk 14.9G
└─sdb1 part 14.9G
use code blocks too please. Either using Ctrl + E or press this button on top of your post
Make it easier for people who are trying to help you. They’ll appreciate it
WOOW!! You are a lifesaver Really appreciate your help.
I am now typing from fixed OS. Huge Thank you!
couple of questions and sorry if they are stupid ones.
I thought blkid showed /dev/sda2: UUID="477afc62-10fd-4399-8dfd-be348508e3df" for sda2
where as /etc/fstab shows UUID=48b604c7-8ba1-41c8-a430-309c5c20aefb for the sda2…
But you are correct that /dev/mapper/cryptlvm: UUID="48b604c7-8ba1-41c8-a430-309c5c20aefb" shows same UUID as FSTAB… so I am just confused on two different IDs.
I know you mentioned in other GRUB thread that my boot is a mess. Is there any need to clean up?
I couldn’t run btrfs-assistantwhen I chrooted to fix the GRUB issues. Is that a limitation or chroot won’t allow to run it ? What do you suggest to use if GRUB breaks in future and we need to restore to earlier backup? Would Timeshift work from chroot? Do you know?
This is the UUID of the device itself. However, the device itself isn’t what you are mounting. What you are mounting is the device created after unlocking the encrypted volume.
There are two strange things:
You are using and mounting your EFI partition at /boot. That works but is very atypical. For grub, it makes more sense to mount the EFI partition at /boot/efi or /efi because grub doesn’t require the kernel and initrams to be in the EFI partition.
You have files in the /boot on your / partition that you are mounting over with your EFI partition. Again, that isn’t a problem but it probably means something went wrong at some point in the past.
There is no reason to run btrfs-assistant from a chroot. If you want to use btrfs-assistant to restore, you can do that without a chroot. You just need to unlock your luks partition and mount some part of the btrfs partition.
after chroot into subvols, running btrfs-assistant -l, I get the following message:
[root@EndeavourOS /]# sudo btrfs-assistant -l
Authorization required, but no authorization protocol specified
qt.qpa.xcb: could not connect to display :0.0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
/usr/bin/btrfs-assistant: line 42: 6 Aborted (core dumped) btrfs-assistant-bin ${params}
[root@EndeavourOS /]# btrfs-assistant -l
Authorization required, but no authorization protocol specified
qt.qpa.xcb: could not connect to display :0.0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
/usr/bin/btrfs-assistant: line 42: 15 Aborted (core dumped) btrfs-assistant-bin ${params}