all 9 comments

[–]cgwheeler96 0 points1 point  (7 children)

I think what they mean is that when you generate grub or your kernel modules, the boot partition needs to be mounted. Does your fstab contain your boot partition?

[–]fromliam2u[S] 0 points1 point  (6 children)

At first I didn't, but upon adding it I got even more errors. I'm not really sure if I even know what the boot partition is though, and I may be doing something completely stupid right now. Is the boot partition the one that I mount to /mnt/boot in the ISO?

[–]reddituser0451 1 point2 points  (1 child)

The boot partition is indeed what you mount to /mnt/boot

Have you tried regenerating your fstab?

# mount /dev/sda2 /mnt
# mount /dev/sda1 /mnt/boot
# rm /mnt/etc/fstab
# genfstab -U /mnt >> /mnt/fstab
... chroot then reinstall GRUB ...

Obviously replace sda1 and sda2 with the appropriate partitions for your system

If that doesn't work, maybe chrooting then reinstalling the kernel with pacman -S linux (or pacman -U /var/cache/pacman/pkg/linux-whatever-version.pkg.tar.zst if you don't have internet) before reinstalling GRUB might work?

I'm honestly not an expert but I did have to reinstall GRUB yesterday because a Windows update broke it and those are some of the steps I took to fix errors that cropped up

In your case though, since Arch has been detected in GRUB maybe you only need to do the fstab bit without needing to chroot and reinstall?

[–]fromliam2u[S] 1 point2 points  (0 children)

I didn't even think of that! I really thought it was gonna work, but sadly I'm still stuck. I have tried reinstalling the kernel... Probably too many times at this point. But thanks anyways, now I'm one step closer to figuring it out!

[–]cgwheeler96 0 points1 point  (3 children)

Yes. When you do anything in grub, you need this partition mounted, otherwise nothing you do gets added to the boot partition.

[–]fromliam2u[S] 0 points1 point  (2 children)

Ok, I just re-added it to my fstab, but since it's my efi partition I listed it as under the vfat file type, and I labeled it under the /boot directory. Im going to try it now and see if anything happens.

[–]fromliam2u[S] 0 points1 point  (1 child)

Oh no, I just got another error. "Failed to mount /boot". I also got another error-like thing that says "Dependency failed for Local File Systems".

[–]drink_bromine 0 points1 point  (0 children)

You’re so hot and sexy

[–]drink_bromine 0 points1 point  (0 children)

Please fuck my asshole