Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use chroot and qemu to work with image #49

Closed
fvollmer opened this issue Jan 4, 2018 · 1 comment
Closed

Use chroot and qemu to work with image #49

fvollmer opened this issue Jan 4, 2018 · 1 comment

Comments

@fvollmer
Copy link
Contributor

fvollmer commented Jan 4, 2018

Just as a quick info: You can use chroot and qemu to work with the image. E.g. for software development. This way you won't suffer from the small storage. Obviously there is some performance hit, since the processor emulation.

  1. extract rootfs
  2. cp $(which qemu-arm-static) rootfs/usr/bin
  3. cp /etc/resolv.conf rootfs/etc/resolv.conf
  4. mount -t proc proc proc/
  5. mount -t sysfs sys sys/
  6. mount -o bind /dev dev/
  7. chroot /mnt qemu-arm-static /bin/bash

I also had to remove the ppa from /etc/apt/sources.list, since some packages were missing.

@dgiese
Copy link
Owner

dgiese commented Jan 4, 2018

Hi,
so i had a emulated vacuum running on a orangepi, as it its technically the same hardware. Actually you should be able to chroot on a raspberry pi, as the architecture is the same.

@dgiese dgiese closed this as completed Apr 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants