All my grub menu entries are gone ( F grub customizer)

so i have to admit this was my fault, was playing around with the GRUB customizer, don’t really understand what happened aha but when i rebooted my system all my menu entries are gone.

i tried this solution but it didnt seem to work

everytime i tried the arch-chroot command it just came back with this error:

arch-chroot /mnt
mount: /mnt/proc: mount point does not exist.
       dmesg(1) may have more information after failed mount system call.
==> ERROR: failed to setup chroot /mnt

https://discovery.endeavouros.com/system-rescue/arch-chroot-for-efi-uefi-systems/2021/03/

Edit: For btrfs there are instructions also on the same wiki page

1 Like

getting this error

sudo mount -o subvol=@home /dev/nvme0n1p1 /mnt/home
mount: /mnt/home: mount point does not exist.
       dmesg(1) may have more information after failed mount system call.

should i just go into the mnt folder and create that dir

i would also like to apologies i i didn’t see this article in the OP i have dyslexia so i skim over things sometimes haha

i also forgot to mention i am using the same file system as the OP as well

okay i follow everything, for the home file i just created it

when i tried to run arch-chroot again it just gave me the same error as before

[root@EndeavourOS ~]#  arch-chroot /mnt
mount: /mnt/proc: mount point does not exist.
       dmesg(1) may have more information after failed mount system call.
==> ERROR: failed to setup chroot /mnt
[root@EndeavourOS ~]# 


edit: arch-chroot failed so i just used sudo chroot /mnt and that seemed to work

after all of that it still does not work, i tried to run

sudo grub-mkconfig -o /boot/grub/grub.cfg

it just came back with this

/usr/bin/grub-mkconfig: line 52: /usr/share/grub/grub-mkconfig_lib: No such file or directory

at a loss now, no idea how to move on and sort this. any one have any suggestions or should i just fresh install

You are not following the information properly.

sudo lsblk -f



nvme0n1                                                                                       
├─nvme0n1p1 btrfs             EOS         8ea56b36-7c1d-44d6-a2ab-02d1f0ec95e5  134.2G    33% /mnt/home
│                                                                                             /mnt/var/cache
│                                                                                             /mnt/var/log
│                                                                                             /mnt
├─nvme0n1p2                                                                                   
├─nvme0n1p3 ntfs                          BE929977929934BD                                    
├─nvme0n1p4 ntfs                          009E9B159E9B01F8                                    
└─nvme0n1p6 vfat    FAT32     BOOT        0898-2222                              66.6M    31% /mnt/boot/efi



sudo mount /dev/nvme0n1p1 /mnt

Edit:
Then post output of this command

sudo btrfs subvolume list -p /mnt

1 Like
[liveuser@eos-2022.09.10 ~]$ sudo mount /dev/nvme0n1p1 /mnt 
[liveuser@eos-2022.09.10 ~]$ sudo btrfs subvolume list -p /mnt
ID 256 gen 7952 parent 5 top level 5 path @
ID 257 gen 7941 parent 5 top level 5 path @home
ID 258 gen 7936 parent 5 top level 5 path @cache
ID 259 gen 7941 parent 5 top level 5 path @log

sudo umount /mnt

sudo mount -o subvol=@ /dev/nvme0n1p1 /mnt

sudo mount -o subvol=@log /dev/nvme0n1p1 /mnt/var/log

sudo mount -o subvol=@cache /dev/nvme0n1p1 /mnt/var/cache

sudo mount -o subvol=@home /dev/nvme0n1p1 /mnt/home

sudo mount /dev/nvme0n1p6 /mnt/boot/efi

Then

sudo arch-chroot /mnt

Edit: I hope i got this right as I’m not an expert but i do use btrfs also.

2 Likes

So then try to update grub if you get no errors.

I’m not sure what is on /dev/nvme0n1p2?

i’m sure this is what i done to the T, but ill give it another shot and see if it works, if it doesn’t should i just fresh install?

If you did it following the wiki then it would be working so i doubt it.

had a look on gparted and it said its a Microsoft reserved partition? i

Okay… that’s fine.

Edit: We are only concerned with the linux set up and the efi partition in order to arch-chroot.

Nope :frowning:

[liveuser@eos-2022.09.10 ~]$ sudo umount /mnt
[liveuser@eos-2022.09.10 ~]$ sudo mount -o subvol=@ /dev/nvme0n1p1 /mnt
[liveuser@eos-2022.09.10 ~]$ sudo mount -o subvol=@log /dev/nvme0n1p1 /mnt/var/log
[liveuser@eos-2022.09.10 ~]$ sudo mount -o subvol=@cache /dev/nvme0n1p1 /mnt/var/cache
[liveuser@eos-2022.09.10 ~]$ sudo mount -o subvol=@home /dev/nvme0n1p1 /mnt/home
[liveuser@eos-2022.09.10 ~]$ sudo mount /dev/nvme0n1p6 /mnt/boot/ef
mount: /mnt/boot/ef: mount point does not exist.
       dmesg(1) may have more information after failed mount system call.
[liveuser@eos-2022.09.10 ~]$ sudo mount /dev/nvme0n1p6 /mnt/boot/efi
[liveuser@eos-2022.09.10 ~]$ sudo arch-chroot /mnt
mount: /mnt/proc: mount point does not exist.
       dmesg(1) may have more information after failed mount system call.
==> ERROR: failed to setup chroot /mnt
[liveuser@eos-2022.09.10 ~]$ 

same as before

sudo mount /dev/nvme0n1p6 /mnt/boot/ef

You spelled it wrong. Commands have to be accurate.

[liveuser@eos-2022.09.10 ~]$ sudo mount /dev/nvme0n1p6 /mnt/boot/efi

i did

Okay i see you entered it again.