You are not logged in.

#1 2021-10-31 17:49:02

lith/heli
Member
Registered: 2021-07-26
Posts: 66

rebuilding initramfs gives error [solved]

hello, im trying to rebuild my initramfs by using "mkinitcpio -P" but when i execute that command i get this error:

mkinitcpio -P                                                         
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> ERROR: Unable to write to /boot/initramfs-linux.img
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> ERROR: Unable to write to /boot/initramfs-linux-fallback.img

edit im very stupid and forgot you need to give it super user im sorry

Last edited by lith/heli (2021-10-31 17:56:00)

Offline

Board footer

Powered by FluxBB