User Tools

Site Tools


Writing /var/lib/dokuwiki/data/meta/tutorials/ros2_for_debian_buster_rpi3_with_qemu.meta failed
tutorials:ros2_for_debian_buster_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:ros2_for_debian_buster_rpi3_with_qemu [2019/11/05 04:35] – [Starting ROS2 Installation] admintutorials:ros2_for_debian_buster_rpi3_with_qemu [2022/09/20 00:08] (current) – external edit 127.0.0.1
Line 6: Line 6:
   * Resize image file   * Resize image file
  
-  qemu-img resize 20190628_raspberry-pi-3_buster_PREVIEW.img +2G+  qemu-img resize 20190628_raspberry-pi-3_buster_PREVIEW.img +11G
  
   * Start the qemu virtual machine:   * Start the qemu virtual machine:
  
-  qemu-system-aarch64 -M virt -m 1024 -smp 4 -cpu cortex-a53   -kernel boot_debian_raspberrypi/vmlinuz-4.19.0-5-arm64   -initrd boot_debian_raspberrypi/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 4096 -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
  
   * Resize the current second partition to use all the new free space:   * Resize the current second partition to use all the new free space:
  
-  sudo cfdisk+  cfdisk
  
   * Use the resize option to extend the second partition   * Use the resize option to extend the second partition
 +  * Remember to write the changes
   * Now extend the ext4 filesystem   * Now extend the ext4 filesystem
  
-  sudo resize2ext /dev/vda2+  resize2fs /dev/vda2
  
 ===== Starting ROS2 Installation ===== ===== Starting ROS2 Installation =====
  
-  * All these instructions are for running inside of Qemu virtual machine+  * All these instructions are for running inside of Qemu virtual machine. If using 4 cores (smp 4) use at least 2048MB or RAM. If using 8 cores, use at least 4096MB of RAM. 
   * Login as root in the qemu virtual machine   * Login as root in the qemu virtual machine
   * Install system dependencies:   * Install system dependencies:
tutorials/ros2_for_debian_buster_rpi3_with_qemu.1572928528.txt.gz · Last modified: 2022/09/20 00:08 (external edit)