User Tools

Site Tools


Writing /var/lib/dokuwiki/data/meta/tutorials/debian_buster_for_rpi3_with_qemu.meta failed
tutorials:debian_buster_for_rpi3_with_qemu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tutorials:debian_buster_for_rpi3_with_qemu [2019/11/05 00:36] admintutorials:debian_buster_for_rpi3_with_qemu [2022/09/20 00:08] (current) – external edit 127.0.0.1
Line 61: Line 61:
   qemu-system-aarch64 -M virt -m 1024 -smp 4 -cpu cortex-a53   -kernel vmlinuz-4.19.0-5-arm64   -initrd initrd.img-4.19.0-5-arm64   -drive if=none,file=20190628_raspberry-pi-3_buster_PREVIEW.img,format=raw,id=hd  -append 'root=/dev/vda2 noresume'   -device virtio-blk-pci,drive=hd   -device virtio-net-pci,netdev=mynet -netdev user,id=mynet,hostfwd=tcp::2222-:22 -device virtio-rng-pci   -no-reboot -nographic   qemu-system-aarch64 -M virt -m 1024 -smp 4 -cpu cortex-a53   -kernel vmlinuz-4.19.0-5-arm64   -initrd initrd.img-4.19.0-5-arm64   -drive if=none,file=20190628_raspberry-pi-3_buster_PREVIEW.img,format=raw,id=hd  -append 'root=/dev/vda2 noresume'   -device virtio-blk-pci,drive=hd   -device virtio-net-pci,netdev=mynet -netdev user,id=mynet,hostfwd=tcp::2222-:22 -device virtio-rng-pci   -no-reboot -nographic
  
-  * The hostfwd is necessary to be able to access this computer from your host computer. You can do this with:+ 
 +  * Username: root, password: raspberry 
 +  * The network interface included in the "virt" virtual machine has a different name than the one from the real raspberrypi. This new interfaces must be configure first: 
 + 
 +  nano /etc/network/interfaces.d/enp0s2 
 + 
 +  * Inside of this file put the following content: 
 + 
 +<code> 
 +auto enp0s2 
 + 
 +# TODO: switch back to iptables-persistent once it re-enters testing 
 +iface enp0s2 inet dhcp 
 + pre-up iptables-restore < /etc/iptables/rules.v4 
 + pre-up ip6tables-restore < /etc/iptables/rules.v6 
 +</code> 
 + 
 +  * Poweroff the VM: 
 + 
 +  poweroff 
 + 
 +  * Restart the VM 
 + 
 +  * The hostfwd in the qemu command was necessary to be able to access this computer from your host computer. You can do this with:
  
   ssh root@localhost -p 2222   ssh root@localhost -p 2222
Line 75: Line 98:
  
 https://people.debian.org/~gwolf/raspberrypi/ https://people.debian.org/~gwolf/raspberrypi/
 +
 +https://translatedcode.wordpress.com/2017/07/24/installing-debian-on-qemus-64-bit-arm-virt-board/
 +
 +https://translatedcode.wordpress.com/2018/04/25/debian-on-qemus-raspberry-pi-3-model/
 +
 +https://wiki.debian.org/RaspberryPi
 +
 +https://wiki.debian.org/RaspberryPi3
 +
 +https://salsa.debian.org/raspi-team/image-specs
 +
 +https://wiki.debian.org/RaspberryPi/qemu-user-static
 +
 +https://people.debian.org/~stapelberg/raspberrypi3/2018-01-08/
 +
 +https://github.com/wimvanderbauwhede/limited-systems/wiki/Debian-%22buster%22-for-Raspberry-Pi-3-on-QEMU
 +
 +https://wiki.debian.org/QemuUserEmulation
  
tutorials/debian_buster_for_rpi3_with_qemu.1572914213.txt.gz · Last modified: 2022/09/20 00:08 (external edit)