I am trying to mount this raspberry pi image for qemu to /mnt/raspbian but the mount command gives error:

root@ubuntu-wsl:/mnt/raspbian# sudo mount -v -o offset=70254592 -t ext4 qemu_vms/2017-01-11-raspbian-jessie.img /mnt/raspbian
mount: /mnt/raspbian: mount failed: Operation not permitted.
  • please try answers here unix.stackexchange.com/q/316401/72456 and feedback the result by editing your question Mar 6, 2021 at 16:49
  • i actually dont know anything about that. I am using this tutorial to run raspbian on qemu -> azeria-labs.com/emulate-raspberry-pi-with-qemu
    – Yeppii
    Mar 6, 2021 at 16:50
  • Hang on. That tutorial is about running raspbian in a virtual machine (VM). Are you using a VM or are you running these commands on WSL? The tutorial clearly states: "Inside your Ubuntu VM, create a new folder:" and all other commands need to be run from inside the VM.
    – terdon
    Mar 6, 2021 at 17:02
  • uhh... i am running those from wsl
    – Yeppii
    Mar 6, 2021 at 17:04
  • Then please follow the instructions you linked to and run them in the VM instead.
    – terdon
    Mar 6, 2021 at 17:08


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.