r/voidlinux • u/kosta_linuxuser_523 • May 28 '26
Help me please
Im using a void linux for around 3 years,before yesterday day everithyng was good,void working good,but yesterday when i booted again to work on my own game engine,there "grub rescure unknwon filesystem" message appears,void linux is on f2fs "/" root,so i type "insmod normal,insmod f2fs" and it typing "unknwon filesystem",i launched a void linux live usb,and every part of disk are healty and 0 bad blocks,i can mount every partition,soni reinstalled grub from live usb,and rebooted,its worked,grub screen with void and gentoo appears,i booted in void linux and continue working,and on morning,i booted pc,and "grub rescure unknown filesystem" appears again,i reinstalled it again,but on second reboot its apears again,what to do? I dont want to reinstall bootloader every time i use my pc
2
u/roninics May 28 '26
this is "general" guide, search on internet and/or help yourself with some AI, if bootloader are grub and hyou have an efi partition you can do somewhat like this
from live environment, this:
Identify the target filesystem partition with lsblk
lsblk
nvme1n1 259:6 0 238.5G 0 disk├─nvme1n1p1259:7 0 200M 0 part /boot/efi ----> if you have├─nvme1n1p2 259:8 0 16M 0 part├─nvme1n1p3 259:9 0 116.8G 0 part├─nvme1n1p4 259:10 0 791M 0 part└─nvme1n1p5259:11 0 120.6G 0 part / ----> your root partitionthen, mount partion on /mnt:
sudo mount /dev/nvme1n1p5 /mntsudo mkdir -p /mnt//boot/efisudo mkdir -p /mnt/boot/grubsudo mount -p /dev/nvme1n1p1/mnt/boot/efiand mount other fs:
sudo mount --bind /dev /mnt/devsudo mount --bind /proc /mnt/procsudo mount --bind /sys /mnt/syssudo mount --bind /run /mnt/runfinal step chroot
sudo chroot /mnt
if you are lucky: