Skip to content

Instantly share code, notes, and snippets.

@iav
Created January 23, 2022 21:31
Show Gist options
  • Save iav/dfc20555e59ac477641397fc47b10f1f to your computer and use it in GitHub Desktop.
Save iav/dfc20555e59ac477641397fc47b10f1f to your computer and use it in GitHub Desktop.
prepare to chroot
mount /dev/mmcblk1p2 /mnt
mount /dev/mmcblk1p1 /mnt/boot
mount -t proc proc /mnt/proc
mount -t sysfs sys /mnt/sys
mount -o bind /dev /mnt/dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment