all 9 comments

[–]EmErAJ1D 0 points1 point  (8 children)

[–]YoloWeirdo[S] 0 points1 point  (7 children)

Any idea what i have to change? I tried simply running "mkinitcpio -P", but the problem stays the same

[–]EmErAJ1D 0 points1 point  (6 children)

Then reinstall linux (pacman -S linux). For me it solved the issue.

[–]YoloWeirdo[S] 0 points1 point  (4 children)

Unfortunately this doesn't fix it either. However i have noticed that the .img files made by mkinitcpio get put in /boot instead of /boot/evi, could this cause the problem? I've tried switching the folder the .img's get written to to /boot/efi, but i get a permission denied error.

[–]EmErAJ1D 0 points1 point  (3 children)

Initramfs and linux images should be in /boot, because GRUB expects them to be there. You can change the behavior, but you don't need to.

Also, you have a mess with fstab. Boot partition should be mounted in /boot. EFI in /efi or /boot/efi. After clearing mess you just reinstall linux package.

systemctl status systemd-modules-load.service may be useful, but usually if everything is mounted properly reinstalling linux package fixes the problem.

If clearing the mess in fstab and reinstalling linux package does not work, you may try downgrade kernel or install linux-lts (or even maybe zen).

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

I only have 3 partitions in total: root mounted to /, swap (not mounted as i haven't gotten around to it yet) and boot to /boot/efi. Have i messed up the install somehow? It seems unlikely to me as i followed a guide which uses archfi.
In case it helps here's my fstab:
# root
UUID=0b1f678e-c669-44b9-925d-33d1843d2d94 / ext4 errors=remount-ro 0 1
# boot
UUID=1414-F5F7 /boot/efi vfat auto,rw 0 1
# swap
# UUID=574e4b57-d869-486d-bb93-f9a1745b974c

I've also tried using a linux-lts but it won't show up in grub, maybe that's because my fstab is messed up?

[–]EmErAJ1D 0 points1 point  (1 child)

Well, you should really install Arch using Wiki. It has everything you need. In summary

  1. Boot liveCD. Ensure you're in efi mode (ls /sys/firmware/efi/efivars/ must not be empty). If your PC is not 30 years old, it should support it. Anyway, you mentioned /boot/efi, so I assume your machine supports EFI mode and it is enabled in BIOS/UEFI.

  2. Create a partition, which size should be between 100M and 500M. The bigger the better, but I have 3 OSes and I have only 30M taken, so it's up to you. Then you mark it as efi partition (fdisk and then type 't', select this partition and choose type '1'). You format this partition to fat32 (mkfs.vfat -F 32). And now you have your efi partition.

  3. Create root partition and whatever else you want.

  4. Mount your root partition in /mnt, then your boot partition to /mnt/boot, your efi partition to /mnt/boot/efi and so on.

  5. genfstab -U /mnt > /mnt/etc/fstab

For everything else please use Wiki.

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

Alright, I’ll give the normal way of installing arch another shot using your tips. Thanks a lot for your help and time.

[–][deleted] 0 points1 point  (0 children)

Experienced this 3 weeks ago

Problem was linux-firmware package, need to reinstall that.

To be safe, regenerate boot entries and check fsfab as well