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.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tutorials:ros2_for_debian_buster_rpi3_with_qemu [2019/11/05 01:41] – admin | tutorials:ros2_for_debian_buster_rpi3_with_qemu [2022/09/20 00:08] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== ROS2 in Debian Buster for RaspberryPi 3 with Qemu in 64bits (aarch64) ====== | ====== ROS2 in Debian Buster for RaspberryPi 3 with Qemu in 64bits (aarch64) ====== | ||
- | * Login as root | + | ===== Increasing image size ===== |
+ | |||
+ | * Stop the qemu virtual machine | ||
+ | * Resize image file | ||
+ | |||
+ | qemu-img resize 20190628_raspberry-pi-3_buster_PREVIEW.img +11G | ||
+ | |||
+ | * Start the qemu virtual machine: | ||
+ | |||
+ | qemu-system-aarch64 -M virt -m 4096 -smp 4 -cpu cortex-a53 | ||
+ | |||
+ | * Resize the current second partition to use all the new free space: | ||
+ | |||
+ | cfdisk | ||
+ | |||
+ | * Use the resize option to extend the second partition | ||
+ | * Remember to write the changes | ||
+ | * Now extend the ext4 filesystem | ||
+ | |||
+ | resize2fs /dev/vda2 | ||
+ | |||
+ | ===== Starting ROS2 Installation ===== | ||
+ | |||
+ | * 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. | ||
+ | | ||
* Install system dependencies: | * Install system dependencies: | ||
Line 20: | Line 44: | ||
* After the upgrade, reboot the virtual machine and login as " | * After the upgrade, reboot the virtual machine and login as " | ||
+ | * Edit your " | ||
+ | |||
+ | export PATH=${HOME}/ | ||
+ | |||
* Follow ROS2 building instructions for Dashing: | * Follow ROS2 building instructions for Dashing: | ||
tutorials/ros2_for_debian_buster_rpi3_with_qemu.1572918111.txt.gz · Last modified: 2022/09/20 00:08 (external edit)