I am new to btrfs and opensuse but not for linux, i installed the openSUSE-Tumbleweed while installation got the error cannot find the /boot/efi because after installation when in check under @ there was no boot directory only few others i also has arch linux,installed, mounted the /dev/sda2 which is the opensuse / partition and add the entry fo /boot to the /etc/fstab:
UUID=45e40c57-4583-41f6-96a2-e71a02d00030 /boot btrfs subvol=/@/boot 0 0
now when i use the mount command:
mount -o subvol=@ /dev/sda2 sda2
ls sda2/boot
efi
not other boot files are there, when i mount the /sev/sda2 as normal partition:
mount /dev/sda2 sda2
ls sda2/boot
config-6.19.3-1-default initrd-6.19.3-1-default vmlinuz
efi sysctl.conf-6.19.3-1-default vmlinuz-6.19.3-1-default
initrd System.map-6.19.3-1-default
i added this grub entry to arch linux grub.cfg:
insmod part_gpt
insmod btrfs
search --no-floppy --fs-uuid --set=root 45e40c57-4583-41f6-96a2-e71a02d00030
linux (hd0,gpt2)/@/boot/vmlinuz-6.19.3-1-default root=UUID=45e40c57-4583-41f6-96a2-e71a02d00030 rw rootflags=subvol=@ quiet splash
initrd (hd1,gpt2)/@/boot/initrd-6.19.3-1-default
the boot error is:
Error: fs/btrfs.c:find path:1890:file /@/boot/vmlinuz-6.19.3-1-default' not found.
Error:
loader/i386/linux.c:grub_cmd initrd:1082:you need to load the kernel first.
Press any key to continue...-
any help please?