1
submitted 1 year ago* (last edited 1 year ago) by cm0002@lemmy.world to c/archlinux@discuss.tchncs.de

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 .
no comments (yet)
sorted by: hot top new old
there doesn't seem to be anything here
this post was submitted on 13 Aug 2025
1 points (100.0% liked)

Arch Linux

435 readers
7 users here now

founded 3 years ago
MODERATORS