OC by @Agility0971@lemmy.world
If you ever wanted to chroot into the generated initramfs here are the steps. I thought it was interesting so wanted to share.
mkdir -p /mnt/initramfs cd $_ lsinitcpio -x /boot/initramfs-linux.img mount --bind /proc ./proc mount --bind /sys ./sys mount --bind /dev ./dev SHELL=/bin/ash chroot .
You must log in or # to comment.