Tootfinder

Opt-in global Mastodon full text search. Join the index!

@nobodyinperson@fosstodon.org
2024-06-04 13:29:27

What in the actual heck is going on with chrooting into a mounted :raspberrypi: #RaspberryPiOS SD card rootfs on :nixos: #NixOS?
SOLVED: One also needs to bind-mount /nix in the target system:
> sudo mkdir /mnt/nix; sudo mount -o bind /nix /mnt/nix

tmux screenshot with multiple panes, showing that /mnt has a fs mounted and the virtual trees bind-mounted, that chrooting into it doesn't work with weird 'no such file or directory' errors, showing a NixOS config with emulatedSystems set to raspberry pi compatible arm, and other stuff