{"id":400218,"date":"2024-06-29T15:07:55","date_gmt":"2024-06-29T15:07:55","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=400218"},"modified":"-0001-11-30T00:00:00","modified_gmt":"2024-06-29T15:07:55","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=400218","title":{"rendered":"<span>\u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0439 raspberry pi \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e QEMU. \u0427\u0430\u0441\u0442\u044c 2<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0412 <a href=\"https:\/\/habr.com\/ru\/articles\/735408\/\" rel=\"noopener noreferrer nofollow\">\u043f\u0440\u043e\u0448\u043b\u043e\u0439<\/a> \u0447\u0430\u0441\u0442\u0438 \u0431\u044b\u043b \u0437\u0430\u043f\u0443\u0449\u0435\u043d \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440 \u0441 \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u044b\u043c \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u043e\u043c. \u0412 \u044d\u0442\u043e\u0439 \u0447\u0430\u0441\u0442\u0438 \u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443, \u043a\u0430\u043a \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u043b \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440 \u0441 \u0440\u0430\u0431\u043e\u0447\u0438\u043c \u0441\u0442\u043e\u043b\u043e\u043c.<\/p>\n<p>\u041c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u0430 \u043d\u0430\u043a\u043e\u043f\u0438\u043b\u043e\u0441\u044c \u043d\u0430 \u0446\u0435\u043b\u044b\u0439 \u0442\u0443\u0442\u043e\u0440\u0438\u0430\u043b, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e QEMU \u0432\u0435\u0440\u0441\u0438\u0438 6.2 \u043e\u0442\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c. \u0418\u0437\u0443\u0447\u0438\u0432 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b &#171;<a href=\"https:\/\/habr.com\/ru\/articles\/593495\/\" rel=\"noopener noreferrer nofollow\">\u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043c\u0430\u0448\u0438\u043d\u044b \u0432 QEMU<\/a>&#187; \u044f \u043f\u0440\u0438\u043d\u044f\u043b\u0441\u044f \u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044e\u044e \u0432\u0435\u0440\u0441\u0438\u044e \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u0430 \u0438\u0437 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0445 \u043a\u043e\u0434\u043e\u0432. \u042d\u0442\u043e \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u043d\u0430 \u0443\u0434\u0438\u0432\u043b\u0435\u043d\u0438\u0435 \u043b\u0435\u0433\u043a\u043e \u0438 \u0431\u044b\u0441\u0442\u0440\u043e. \u0412\u0441\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u044f \u043f\u0440\u043e\u0432\u043e\u0436\u0443 \u043d\u0430 Ubuntu 22.<\/p>\n<p>\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0431\u0443\u0434\u0443\u0442 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u0432 \u0434\u0432\u0443\u0445 \u043a\u043e\u043d\u0441\u043e\u043b\u044f\u0445, \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 Ubuntu \u0438 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b. \u0415\u0441\u043b\u0438 \u043d\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u043e \u0438\u043d\u043e\u0435, \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 Ubuntu.<\/p>\n<p>\u0420\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0431\u0443\u0434\u0435\u043c \u0432 \u043f\u0430\u043f\u043a\u0435 myQEMU. \u041e\u0431\u043e\u0437\u043d\u0430\u0447\u0438\u043c \u043f\u043e\u043b\u043d\u044b\u0439 \u043f\u0443\u0442\u044c \u043a \u043d\u0435\u0439 \u0447\u0435\u0440\u0435\u0437 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e MyBaseDir<\/p>\n<pre><code class=\"bash\">mkdir myQEMU MyBaseDir=\"$PWD\/$_\" cd \"$MyBaseDir\"<\/code><\/pre>\n<h2>\u0421\u0431\u043e\u0440\u043a\u0430 QEMU \u0438\u0437 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0445 \u043a\u043e\u0434\u043e\u0432<\/h2>\n<p>\u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c <a href=\"https:\/\/wiki.qemu.org\/Hosts\/Linux\" rel=\"noopener noreferrer nofollow\">\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438<\/a>. \u0417\u0430\u0442\u0435\u043c \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434, \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u0443\u0435\u043c, \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u043c <\/p>\n<pre><code class=\"bash\">git clone https:\/\/github.com\/qemu\/qemu.git mkdir build_QEMU &amp;&amp; cd $_ ..\/qemu\/configure --target-list=aarch64-softmmu make -j16 cd \"$MyBaseDir\"<\/code><\/pre>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u043c \u043a\u0430\u043a \u0441\u043e\u0431\u0440\u0430\u043b\u043e\u0441\u044c.<br \/><code>\"$MyBaseDir\"\/build_QEMU\/qemu-system-aarch64 -M ?<\/code><\/p>\n<p>\u0412\u0438\u0434\u0438\u043c \u0432 \u0434\u043b\u0438\u043d\u043d\u043e\u043c \u0441\u043f\u0438\u0441\u043a\u0435 \u0437\u0430\u0432\u0435\u0442\u043d\u0443\u044e \u0441\u0442\u0440\u043e\u0447\u043a\u0443, \u0440\u0430\u0434\u0443\u0435\u043c\u0441\u044f<\/p>\n<p><code>raspi3b              Raspberry Pi 3B (revision 1.2)<\/code><\/p>\n<p>\u0412 \u043c\u043e\u0451\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0441\u043e\u0431\u0440\u0430\u043b\u0430\u0441\u044c \u0432\u0435\u0440\u0441\u0438\u044f \u0441 \u0442\u0430\u043a\u0438\u043c \u043d\u043e\u043c\u0435\u0440\u043e\u043c<\/p>\n<p><code>\"$MyBaseDir\"\/build_QEMU\/qemu-system-aarch64 --version<\/code><\/p>\n<p>QEMU emulator version 8.0.50 (v8.0.0-918-g6972ef1440)<br \/>Copyright (c) 2003-2022 Fabrice Bellard and the QEMU Project developers<\/p>\n<h2>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 QEMU<\/h2>\n<p>\u0421\u043a\u0430\u0447\u0430\u0435\u043c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044e\u044e \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0443\u044e \u043d\u0430 \u0442\u0435\u043a\u0443\u0449\u0438\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u0435\u0440\u0441\u0438\u044e <a href=\"https:\/\/www.raspberrypi.com\/software\/operating-systems\/\" rel=\"noopener noreferrer nofollow\">Raspberry Pi OS<\/a>. \u0421\u043a\u0430\u0447\u0438\u0432\u0430\u0442\u044c \u0431\u0443\u0434\u0435\u043c \u0447\u0435\u0440\u0435\u0437 \u0442\u043e\u0440\u0440\u0435\u043d\u0442, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0433\u0440\u0443\u0437\u0438\u0442\u044c \u043b\u0438\u0448\u043d\u0438\u0439 \u0440\u0430\u0437 \u0441\u0435\u0442\u044c \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044f. \u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0434\u043b\u044f \u044d\u0442\u0438\u0445 \u0446\u0435\u043b\u0435\u0439 \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e \u0443\u0442\u0438\u043b\u0438\u0442\u0443 <a href=\"https:\/\/lindevs.com\/install-aria2-on-ubuntu\" rel=\"noopener noreferrer nofollow\">aria2<\/a>.<\/p>\n<pre><code class=\"bash\">export IMAGE_FILE=\"2023-05-03-raspios-bullseye-arm64.img\" aria2c --seed-time=0 \"https:\/\/downloads.raspberrypi.org\/raspios_arm64\/images\/raspios_arm64-2023-05-03\/$IMAGE_FILE.xz.torrent\"<\/code><\/pre>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e \u043a\u0430\u043a \u0441\u043a\u0430\u0447\u0430\u043b\u0438 \u0441\u0436\u0430\u0442\u044b\u0439 \u043e\u0431\u0440\u0430\u0437, \u0440\u0430\u0441\u043f\u0430\u043a\u0443\u0435\u043c \u0435\u0433\u043e \u0438 \u0443\u0434\u0430\u043b\u0438\u043c \u0441\u0436\u0430\u0442\u044b\u0439 (\u0447\u0442\u043e\u0431\u044b \u043c\u0435\u0441\u0442\u0430 \u043d\u0435 \u0437\u0430\u043d\u0438\u043c\u0430\u043b).<\/p>\n<p><code>unxz \"$IMAGE_FILE.xz\"<\/code><\/p>\n<p>\u0422\u0430\u043a \u043a\u0430\u043a \u043d\u0430\u043c \u043d\u0430\u0434\u043e \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u043e\u043f\u0446\u0438\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u044f\u0434\u0440\u0430, \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u0442\u0430\u0449\u0438\u0442\u044c \u0435\u0433\u043e \u0438\u0437 \u043e\u0431\u0440\u0430\u0437\u0430 \u0434\u0435\u0431\u0438\u0430\u043d\u0430. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u0438\u043c\u043e\u043d\u0442\u0438\u0440\u0443\u0435\u043c \u0432 \u043d\u0430\u0448\u0443 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u043e\u0431\u0440\u0430\u0437 \u0434\u0435\u0431\u0438\u0430\u043d\u0430<\/p>\n<pre><code class=\"bash\">TMP=$(mktemp -d) LOOP=$(sudo losetup --show -fP \"${IMAGE_FILE}\") echo \"Script use folder \"$TMP sudo mount ${LOOP}p2 $TMP sudo mount ${LOOP}p1 $TMP\/boot\/<\/code><\/pre>\n<p>\u0414\u0430\u043b\u0435\u0435 \u043d\u0430\u0437\u043d\u0430\u0447\u0438\u043c \u043b\u043e\u0433\u0438\u043d pi \u0438 \u043f\u0430\u0440\u043e\u043b\u044c password<\/p>\n<pre><code class=\"bash\">sudo bash -c \"cat &lt;&lt;EOF > $TMP\/boot\/userconf pi:\\\\\\$6\\\\\\$jc2UtTCtwjTQ1Ytt\\\\\\$W62IeROzUmoYrBRDD5uhHCRj\/LQKA9YDoX1qEJAmT7A9c.\/micgLlexIaIRRgIZR32krnv1wYbbW046lYwgpO0 EOF\"<\/code><\/pre>\n<p>\u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0441\u0442\u0430\u0440\u043e\u0436\u0438\u043b\u044b \u043f\u043e\u043c\u043d\u044f\u0442, \u0447\u0442\u043e \u0443 \u0440\u0430\u0441\u0431\u0438\u0430\u043d\u0430 \u0431\u044b\u043b \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u044b\u0439 \u043b\u043e\u0433\u0438\u043d-\u043f\u0430\u0440\u043e\u043b\u044c. \u0422\u0430\u043a \u0432\u043e\u0442, \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 \u0432\u0435\u0440\u0441\u0438\u0438 11, \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u043e\u0433\u043e \u043d\u0435\u0442. <a href=\"https:\/\/stackoverflow.com\/questions\/71820854\/raspberry-pi-os-bullseye-64bit-ssh-password-not-raspberry-anymore\/72362734#72362734\" rel=\"noopener noreferrer nofollow\">\u0421\u043e\u0432\u0441\u0435\u043c \u043d\u0435\u0442<\/a>.<\/p>\n<p>\u0414\u0430\u043b\u0435\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0440\u0430\u0437\u043c\u0435\u0440 \u043d\u0430\u0448\u0435\u0433\u043e \u043e\u0431\u0440\u0430\u0437\u0430 \u043a\u0440\u0430\u0442\u043d\u044b\u043c \u0441\u0442\u0435\u043f\u0435\u043d\u0438 \u0434\u0432\u043e\u0439\u043a\u0438. \u0422\u0443\u0442 \u043d\u0430 \u0432\u0430\u0448\u0435 \u0443\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u0438\u0435, \u043c\u043d\u0435 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e 8 GiB. \u0412 \u043f\u0440\u0438\u0442\u044b\u043a \u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0435 \u0441\u0442\u043e\u0438\u0442, \u0430 \u0442\u043e \u043d\u0435 \u0441\u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c \u0438 \u0442\u0430\u043a \u0434\u0430\u043b\u0435\u0435&#8230;<\/p>\n<pre><code class=\"bash\">\"$MyBaseDir\"\/build_QEMU\/qemu-img resize -f raw \"$IMAGE_FILE\" 8G<\/code><\/pre>\n<p>\u0414\u0430\u043b\u0435\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043c \u0437\u0430\u043f\u0443\u0441\u043a \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u0430 QEMU.<\/p>\n<pre><code class=\"bash\">\"$MyBaseDir\"\/build_QEMU\/qemu-system-aarch64 \\ -m 1024 \\ -M raspi3b \\ -kernel $TMP\/boot\/kernel8.img \\ -dtb \"$TMP\/boot\/bcm2710-rpi-3-b-plus.dtb\" \\ -drive file=\"$IMAGE_FILE\",if=sd,format=raw \\ -append \"console=ttyAMA0 root=\/dev\/mmcblk0p2 rw rootwait rootfstype=ext4\" \\ -device usb-net,netdev=net0 \\ -netdev user,id=net0,hostfwd=tcp::5555-:22 \\ -device usb-mouse -device usb-tablet -device usb-kbd<\/code><\/pre>\n<p>\u041e\u043f\u0446\u0438\u0438 <code>-device usb-mouse<\/code> \u0438 <code>-device usb-kbd<\/code> \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0442 \u0437\u0430 \u043f\u0440\u043e\u0431\u0440\u043e\u0441 \u043c\u044b\u0448\u043a\u0438 \u0438 \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044b \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e. \u041f\u043e \u043f\u043e\u0432\u043e\u0434\u0443 \u043c\u044b\u0448\u043a\u0438. \u0411\u0435\u0437 \u0432\u0430\u0436\u043d\u043e\u0439 \u043e\u043f\u0446\u0438\u0438 <code>-device usb-tablet<\/code> \u0443 \u043c\u0435\u043d\u044f \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0430 \u043f\u0440\u0430\u0432\u0430\u044f \u043a\u043d\u043e\u043f\u043a\u0430 \u043c\u044b\u0448\u0438, \u043d\u043e \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d\u0438\u0435 \u043a\u0443\u0440\u0441\u043e\u0440\u0430 \u043f\u043e \u0440\u0430\u0431\u043e\u0447\u0435\u043c\u0443 \u0441\u0442\u043e\u043b\u0443.<\/p>\n<p>\u041a\u0441\u0442\u0430\u0442\u0438 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 QEMU \u0434\u043b\u044f \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432 <a href=\"https:\/\/github.com\/buildroot\/buildroot\/tree\/master\/board\/qemu\" rel=\"noopener noreferrer nofollow\">buildroot\/board\/qemu\/<\/a> \u0432 \u0444\u0430\u0439\u043b\u0430\u0445 readme.txt \u0438\u043b\u0438 \u0432 \u043f\u0438\u0442\u043e\u043d\u043e\u0432\u0441\u043a\u043e\u043c \u0441\u043a\u0440\u0438\u043f\u0442\u0435 runqemu \u043e\u0442 <a href=\"https:\/\/docs.yoctoproject.org\/dev-manual\/qemu.html#qemu-command-line-syntax\" rel=\"noopener noreferrer nofollow\">Yocto<\/a>  (<a href=\"https:\/\/github.com\/yoctoproject\/poky\/blob\/master\/meta\/conf\/machine\/qemux86.conf\" rel=\"noopener noreferrer nofollow\">\u043f\u0440\u0438\u043c\u0435\u0440<\/a>).<\/p>\n<p>\u041a\u043e\u043d\u0441\u043e\u043b\u044c \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0437\u0434\u0435\u0441\u044c (serial0). \u0414\u0430\u043b\u0435\u0435 \u0431\u0443\u0434\u0435\u043c \u0432\u0432\u043e\u0434\u0438\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0432 \u043d\u0435\u0451.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/0b1\/90e\/924\/0b190e9248d3fab1068ca5c65a1011b8.png\" width=\"794\" height=\"435\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/0b1\/90e\/924\/0b190e9248d3fab1068ca5c65a1011b8.png\"\/><\/figure>\n<p>\u0412\u043a\u043b\u044e\u0447\u0438\u043c ssh. \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u043e\u0431\u0440\u0430\u0449\u0430\u0442\u044c\u0441\u044f \u043a \u043d\u0430\u0448\u0435\u0439 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435 \u043f\u043e ssh.<br \/><code>sudo systemctl start ssh<\/code><\/p>\n<details class=\"spoiler\">\n<summary>\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c ssh \u043c\u043e\u0436\u043d\u043e \u0438 \u0442\u0430\u043a<\/summary>\n<div class=\"spoiler__content\">\n<p><code>sudo raspi-config nonint do_ssh 1<\/code><\/p>\n<p>\u0410 \u0435\u0441\u043b\u0438 \u043d\u0430 \u043a\u043e\u043d\u0446\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c 0 &#8212; \u0442\u043e \u044d\u0442\u043e stop.<\/p>\n<\/div>\n<\/details>\n<p>\u0414\u0430\u043b\u0435\u0435  \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e resize2fs \u0437\u0430\u0439\u043c\u0451\u043c \u0432\u0441\u0451 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0435 \u043c\u0435\u0441\u0442\u043e \u0434\u0438\u0441\u043a\u0430 (\u0432 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 8 GiB), \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u0441\u044f \u0432\u0441\u0435\u043c \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u043c \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u043c \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u043c  Raspberry Pi OS \u043f\u043e \u0438\u043c\u0435\u043d\u0438 raspi-config. \u0427\u0442\u043e\u0431\u044b \u043d\u0435 \u043a\u043e\u043f\u0430\u0442\u044c\u0441\u044f \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u0432 \u043c\u0435\u043d\u044e,  \u0432\u043e\u0442 \u0442\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0437\u0432\u0430\u0442\u044c \u044d\u0442\u043e\u0442 \u0441\u043a\u0440\u0438\u043f\u0442 \u0432 \u043d\u0435\u0438\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u043e\u043c \u0432\u0438\u0434\u0435<\/p>\n<p><code>sudo raspi-config nonint do_expand_rootfs<\/code><\/p>\n<p>\u0420\u0430\u0431\u043e\u0442\u0430 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b \u0437\u0430\u043a\u043e\u043d\u0447\u0435\u043d\u0430. \u0412 \u0440\u0430\u043c\u043a\u0430\u0445 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438 \u043a \u044d\u0442\u043e\u0439 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u043e\u0431\u0440\u0430\u0449\u0430\u0442\u044c\u0441\u044f \u0431\u043e\u043b\u0435\u0435 \u043d\u0435 \u0431\u0443\u0434\u0435\u043c. \u0421\u0435\u0439\u0447\u0430\u0441 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u0435\u0440\u043d\u0443\u0442\u044c\u0441\u044f \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u044c Ubuntu \u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u0432 \u043d\u0435\u0439.<\/p>\n<p>\u041f\u0435\u0440\u0435\u0439\u0434\u0451\u043c \u0432 \u043d\u0430\u0448\u0443 \u0440\u0430\u0431\u043e\u0447\u0443\u044e \u043f\u0430\u043f\u043a\u0443.<\/p>\n<p><code>cd \"$MyBaseDir\"<\/code><\/p>\n<p>\u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u043c \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044e \u043f\u043e \u043a\u043b\u044e\u0447\u0443 \u043a \u043d\u0430\u0448\u0435\u0439 \u043c\u0430\u0448\u0438\u043d\u0435, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0432\u0445\u043e\u0434\u0438\u0442\u044c \u043f\u043e \u043b\u043e\u0433\u0438\u043d-\u043f\u0430\u0440\u043e\u043b\u044c \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437. \u041a\u043b\u044e\u0447\u0438 (\u0437\u0430\u043a\u0440\u044b\u0442\u044b\u0439 \u0438 \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0439) \u0431\u0443\u0434\u0435\u043c \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0432 \u0441\u0432\u043e\u0435\u0439 \u043f\u0430\u043f\u043a\u0435<\/p>\n<pre><code class=\"bash\">mkdir ssh_key<\/code><\/pre>\n<p>\u0413\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f ssh key<br \/>(\u0415\u0441\u043b\u0438 \u043a\u043b\u044e\u0447 \u0443\u0436\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043f\u043e \u0434\u0430\u043d\u043d\u043e\u043c\u0443 \u043f\u0443\u0442\u0438, \u044d\u0442\u043e\u0442 \u043a\u043e\u0434 \u0435\u0433\u043e \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0438\u0448\u0435\u0442)<\/p>\n<pre><code class=\"bash\">ssh-keygen -f ssh_key\/my_ssh_key -N \"\" -C myKeyForQEMU &lt;&lt;&lt; $'\\ny' >\/dev\/null 2>&amp;1<\/code><\/pre>\n<p>\u041f\u043e\u043c\u0435\u0441\u0442\u0438\u043c \u043a\u043b\u044e\u0447 \u043d\u0430 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u0443\u044e \u043c\u0430\u0448\u0438\u043d\u0443 (\u0442\u0443\u0442 \u0435\u0434\u0438\u043d\u043e\u0436\u0434\u044b \u043f\u0440\u0438\u0434\u0451\u0442\u0441\u044f \u0432\u0432\u0435\u0441\u0442\u0438 \u043f\u0430\u0440\u043e\u043b\u044c)<\/p>\n<p><code>ssh-copy-id -p 5555 -i ssh_key\/my_ssh_key.pub pi@127.0.0.1<\/code> <\/p>\n<p>\u041a\u0441\u0442\u0430\u0442\u0438, \u0432\u043c\u0435\u0441\u0442\u043e \u044f\u0432\u043d\u043e\u0433\u043e \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u044f IP \u0430\u0434\u0440\u0435\u0441\u0430<code>127.0.0.1<\/code>\u0432\u043e \u0432\u0441\u0435\u0445 \u043c\u0435\u0441\u0442\u0430\u0445 \u043c\u043e\u0436\u043d\u043e \u043f\u0438\u0441\u0430\u0442\u044c \u0441\u043b\u043e\u0432\u043e localhost.<\/p>\n<p>\u0417\u0430\u0434\u0430\u0434\u0438\u043c \u043f\u0440\u0430\u0432\u0430 \u043d\u0430 \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0439 \u043a\u043b\u044e\u0447 (\u0438\u043d\u0430\u0447\u0435 Ubuntu \u043d\u0435 \u0434\u0430\u0441\u0442 \u0438\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f)<\/p>\n<p><code>chmod 600 ssh_key\/my_ssh_key.pub<\/code><\/p>\n<p>\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u043c\u0441\u044f \u043a \u043d\u0430\u0448\u0435\u0439 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435. <\/p>\n<p><code>ssh pi@127.0.0.1 -p 5555 -i ssh_key\/my_ssh_key<\/code><\/p>\n<p>\u041a\u043e\u0433\u0434\u0430 \u0432\u044b \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u0442\u0435 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c \u0441\u0438\u0441\u0442\u0435\u043c\u044b, \u0432\u044b\u043a\u043b\u044e\u0447\u0438\u0442\u0435 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u0443\u044e \u043c\u0430\u0448\u0438\u043d\u0443 <\/p>\n<p><code>sudo poweroff<\/code><\/p>\n<p>\u041e\u0442\u043c\u043e\u043d\u0442\u0438\u0440\u0443\u0439\u0442\u0435 \u043e\u0431\u0440\u0430\u0437 \u043e\u0442 \u0432\u0430\u0448\u0435\u0439 \u0445\u043e\u0441\u0442-\u043c\u0430\u0448\u0438\u043d\u044b<\/p>\n<pre><code class=\"bash\">sudo umount -f $TMP\/boot\/ sudo umount -f $TMP<\/code><\/pre>\n<p>\u0438 <a href=\"https:\/\/gist.github.com\/AndreiCherniaev\/12e360601b1bfe15cdb1e79ce3a8e31e\" rel=\"noopener noreferrer nofollow\">\u043f\u0435\u0440\u0435\u043d\u0435\u0441\u0438\u0442\u0435<\/a> \u0444\u0430\u0439\u043b IMAGE_FILE \u043d\u0430 \u043a\u0430\u0440\u0442\u0443 \u043f\u0430\u043c\u044f\u0442\u0438 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043e\u0434\u043d\u043e\u043f\u043b\u0430\u0442\u043d\u0438\u043a\u0430. \u0418 \u0432\u0441\u0435 \u0432\u0430\u0448\u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u043e\u043a\u0430\u0436\u0443\u0442\u0441\u044f \u0442\u0430\u043c \u0443\u0436\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u043d\u044b\u043c\u0438.<\/p>\n<p>\u041a\u0441\u0442\u0430\u0442\u0438, \u0435\u0441\u043b\u0438 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u0432\u0435\u0441\u044c \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0434\u0435\u0431\u0438\u0430\u043d\u0430 \u0432 \u043e\u0434\u0438\u043d \u043c\u0435\u0433\u0430-\u0441\u043a\u0440\u0438\u043f\u0442, \u0442\u043e \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0443 \u043e\u0442\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043b\u0443\u0447\u0448\u0435 \u0441\u0434\u0435\u043b\u0430\u0442\u044c <a href=\"https:\/\/raspberrypi.stackexchange.com\/a\/99531\/154463\" rel=\"noopener noreferrer nofollow\">\u0442\u0430\u043a<\/a>.<\/p>\n<p>\u0417\u0430\u043c\u0435\u0442\u043a\u0430 &#171;\u041d\u0430\u0442\u0438\u0432\u043d\u0430\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f \u0432\u043d\u0443\u0442\u0440\u0438 \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u0430&#187; <a href=\"https:\/\/habr.com\/ru\/articles\/319736\/\" rel=\"noopener noreferrer nofollow\">\u0442\u0443\u0442<\/a> \u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/514008\/\" rel=\"noopener noreferrer nofollow\">\u0442\u0430\u043c<\/a>.<\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/735754\/\"> https:\/\/habr.com\/ru\/articles\/735754\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0412 <a href=\"https:\/\/habr.com\/ru\/articles\/735408\/\" rel=\"noopener noreferrer nofollow\">\u043f\u0440\u043e\u0448\u043b\u043e\u0439<\/a> \u0447\u0430\u0441\u0442\u0438 \u0431\u044b\u043b \u0437\u0430\u043f\u0443\u0449\u0435\u043d \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440 \u0441 \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u044b\u043c \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u043e\u043c. \u0412 \u044d\u0442\u043e\u0439 \u0447\u0430\u0441\u0442\u0438 \u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443, \u043a\u0430\u043a \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u043b \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440 \u0441 \u0440\u0430\u0431\u043e\u0447\u0438\u043c \u0441\u0442\u043e\u043b\u043e\u043c.<\/p>\n<p>\u041c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u0430 \u043d\u0430\u043a\u043e\u043f\u0438\u043b\u043e\u0441\u044c \u043d\u0430 \u0446\u0435\u043b\u044b\u0439 \u0442\u0443\u0442\u043e\u0440\u0438\u0430\u043b, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e QEMU \u0432\u0435\u0440\u0441\u0438\u0438 6.2 \u043e\u0442\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c. \u0418\u0437\u0443\u0447\u0438\u0432 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b &#171;<a href=\"https:\/\/habr.com\/ru\/articles\/593495\/\" rel=\"noopener noreferrer nofollow\">\u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043c\u0430\u0448\u0438\u043d\u044b \u0432 QEMU<\/a>&#187; \u044f \u043f\u0440\u0438\u043d\u044f\u043b\u0441\u044f \u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044e\u044e \u0432\u0435\u0440\u0441\u0438\u044e \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u0430 \u0438\u0437 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0445 \u043a\u043e\u0434\u043e\u0432. \u042d\u0442\u043e \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u043d\u0430 \u0443\u0434\u0438\u0432\u043b\u0435\u043d\u0438\u0435 \u043b\u0435\u0433\u043a\u043e \u0438 \u0431\u044b\u0441\u0442\u0440\u043e. \u0412\u0441\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u044f \u043f\u0440\u043e\u0432\u043e\u0436\u0443 \u043d\u0430 Ubuntu 22.<\/p>\n<p>\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0431\u0443\u0434\u0443\u0442 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u0432 \u0434\u0432\u0443\u0445 \u043a\u043e\u043d\u0441\u043e\u043b\u044f\u0445, \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 Ubuntu \u0438 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b. \u0415\u0441\u043b\u0438 \u043d\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u043e \u0438\u043d\u043e\u0435, \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 Ubuntu.<\/p>\n<p>\u0420\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0431\u0443\u0434\u0435\u043c \u0432 \u043f\u0430\u043f\u043a\u0435 myQEMU. \u041e\u0431\u043e\u0437\u043d\u0430\u0447\u0438\u043c \u043f\u043e\u043b\u043d\u044b\u0439 \u043f\u0443\u0442\u044c \u043a \u043d\u0435\u0439 \u0447\u0435\u0440\u0435\u0437 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e MyBaseDir<\/p>\n<pre><code class=\"bash\">mkdir myQEMU MyBaseDir=\"$PWD\/$_\" cd \"$MyBaseDir\"<\/code><\/pre>\n<h2>\u0421\u0431\u043e\u0440\u043a\u0430 QEMU \u0438\u0437 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0445 \u043a\u043e\u0434\u043e\u0432<\/h2>\n<p>\u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c <a href=\"https:\/\/wiki.qemu.org\/Hosts\/Linux\" rel=\"noopener noreferrer nofollow\">\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438<\/a>. \u0417\u0430\u0442\u0435\u043c \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434, \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u0443\u0435\u043c, \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u043c <\/p>\n<pre><code class=\"bash\">git clone https:\/\/github.com\/qemu\/qemu.git mkdir build_QEMU &amp;&amp; cd $_ ..\/qemu\/configure --target-list=aarch64-softmmu make -j16 cd \"$MyBaseDir\"<\/code><\/pre>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u043c \u043a\u0430\u043a \u0441\u043e\u0431\u0440\u0430\u043b\u043e\u0441\u044c.<br \/><code>\"$MyBaseDir\"\/build_QEMU\/qemu-system-aarch64 -M ?<\/code><\/p>\n<p>\u0412\u0438\u0434\u0438\u043c \u0432 \u0434\u043b\u0438\u043d\u043d\u043e\u043c \u0441\u043f\u0438\u0441\u043a\u0435 \u0437\u0430\u0432\u0435\u0442\u043d\u0443\u044e \u0441\u0442\u0440\u043e\u0447\u043a\u0443, \u0440\u0430\u0434\u0443\u0435\u043c\u0441\u044f<\/p>\n<p><code>raspi3b              Raspberry Pi 3B (revision 1.2)<\/code><\/p>\n<p>\u0412 \u043c\u043e\u0451\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0441\u043e\u0431\u0440\u0430\u043b\u0430\u0441\u044c \u0432\u0435\u0440\u0441\u0438\u044f \u0441 \u0442\u0430\u043a\u0438\u043c \u043d\u043e\u043c\u0435\u0440\u043e\u043c<\/p>\n<p><code>\"$MyBaseDir\"\/build_QEMU\/qemu-system-aarch64 --version<\/code><\/p>\n<p>QEMU emulator version 8.0.50 (v8.0.0-918-g6972ef1440)<br \/>Copyright (c) 2003-2022 Fabrice Bellard and the QEMU Project developers<\/p>\n<h2>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 QEMU<\/h2>\n<p>\u0421\u043a\u0430\u0447\u0430\u0435\u043c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044e\u044e \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0443\u044e \u043d\u0430 \u0442\u0435\u043a\u0443\u0449\u0438\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u0435\u0440\u0441\u0438\u044e <a href=\"https:\/\/www.raspberrypi.com\/software\/operating-systems\/\" rel=\"noopener noreferrer nofollow\">Raspberry Pi OS<\/a>. \u0421\u043a\u0430\u0447\u0438\u0432\u0430\u0442\u044c \u0431\u0443\u0434\u0435\u043c \u0447\u0435\u0440\u0435\u0437 \u0442\u043e\u0440\u0440\u0435\u043d\u0442, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0433\u0440\u0443\u0437\u0438\u0442\u044c \u043b\u0438\u0448\u043d\u0438\u0439 \u0440\u0430\u0437 \u0441\u0435\u0442\u044c \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044f. \u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0434\u043b\u044f \u044d\u0442\u0438\u0445 \u0446\u0435\u043b\u0435\u0439 \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e \u0443\u0442\u0438\u043b\u0438\u0442\u0443 <a href=\"https:\/\/lindevs.com\/install-aria2-on-ubuntu\" rel=\"noopener noreferrer nofollow\">aria2<\/a>.<\/p>\n<pre><code class=\"bash\">export IMAGE_FILE=\"2023-05-03-raspios-bullseye-arm64.img\" aria2c --seed-time=0 \"https:\/\/downloads.raspberrypi.org\/raspios_arm64\/images\/raspios_arm64-2023-05-03\/$IMAGE_FILE.xz.torrent\"<\/code><\/pre>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e \u043a\u0430\u043a \u0441\u043a\u0430\u0447\u0430\u043b\u0438 \u0441\u0436\u0430\u0442\u044b\u0439 \u043e\u0431\u0440\u0430\u0437, \u0440\u0430\u0441\u043f\u0430\u043a\u0443\u0435\u043c \u0435\u0433\u043e \u0438 \u0443\u0434\u0430\u043b\u0438\u043c \u0441\u0436\u0430\u0442\u044b\u0439 (\u0447\u0442\u043e\u0431\u044b \u043c\u0435\u0441\u0442\u0430 \u043d\u0435 \u0437\u0430\u043d\u0438\u043c\u0430\u043b).<\/p>\n<p><code>unxz \"$IMAGE_FILE.xz\"<\/code><\/p>\n<p>\u0422\u0430\u043a \u043a\u0430\u043a \u043d\u0430\u043c \u043d\u0430\u0434\u043e \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u043e\u043f\u0446\u0438\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u044f\u0434\u0440\u0430, \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u0442\u0430\u0449\u0438\u0442\u044c \u0435\u0433\u043e \u0438\u0437 \u043e\u0431\u0440\u0430\u0437\u0430 \u0434\u0435\u0431\u0438\u0430\u043d\u0430. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u0438\u043c\u043e\u043d\u0442\u0438\u0440\u0443\u0435\u043c \u0432 \u043d\u0430\u0448\u0443 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u043e\u0431\u0440\u0430\u0437 \u0434\u0435\u0431\u0438\u0430\u043d\u0430<\/p>\n<pre><code class=\"bash\">TMP=$(mktemp -d) LOOP=$(sudo losetup --show -fP \"${IMAGE_FILE}\") echo \"Script use folder \"$TMP sudo mount ${LOOP}p2 $TMP sudo mount ${LOOP}p1 $TMP\/boot\/<\/code><\/pre>\n<p>\u0414\u0430\u043b\u0435\u0435 \u043d\u0430\u0437\u043d\u0430\u0447\u0438\u043c \u043b\u043e\u0433\u0438\u043d pi \u0438 \u043f\u0430\u0440\u043e\u043b\u044c password<\/p>\n<pre><code class=\"bash\">sudo bash -c \"cat &lt;&lt;EOF > $TMP\/boot\/userconf pi:\\\\\\$6\\\\\\$jc2UtTCtwjTQ1Ytt\\\\\\$W62IeROzUmoYrBRDD5uhHCRj\/LQKA9YDoX1qEJAmT7A9c.\/micgLlexIaIRRgIZR32krnv1wYbbW046lYwgpO0 EOF\"<\/code><\/pre>\n<p>\u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0441\u0442\u0430\u0440\u043e\u0436\u0438\u043b\u044b \u043f\u043e\u043c\u043d\u044f\u0442, \u0447\u0442\u043e \u0443 \u0440\u0430\u0441\u0431\u0438\u0430\u043d\u0430 \u0431\u044b\u043b \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u044b\u0439 \u043b\u043e\u0433\u0438\u043d-\u043f\u0430\u0440\u043e\u043b\u044c. \u0422\u0430\u043a \u0432\u043e\u0442, \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 \u0432\u0435\u0440\u0441\u0438\u0438 11, \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u043e\u0433\u043e \u043d\u0435\u0442. <a href=\"https:\/\/stackoverflow.com\/questions\/71820854\/raspberry-pi-os-bullseye-64bit-ssh-password-not-raspberry-anymore\/72362734#72362734\" rel=\"noopener noreferrer nofollow\">\u0421\u043e\u0432\u0441\u0435\u043c \u043d\u0435\u0442<\/a>.<\/p>\n<p>\u0414\u0430\u043b\u0435\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0440\u0430\u0437\u043c\u0435\u0440 \u043d\u0430\u0448\u0435\u0433\u043e \u043e\u0431\u0440\u0430\u0437\u0430 \u043a\u0440\u0430\u0442\u043d\u044b\u043c \u0441\u0442\u0435\u043f\u0435\u043d\u0438 \u0434\u0432\u043e\u0439\u043a\u0438. \u0422\u0443\u0442 \u043d\u0430 \u0432\u0430\u0448\u0435 \u0443\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u0438\u0435, \u043c\u043d\u0435 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e 8 GiB. \u0412 \u043f\u0440\u0438\u0442\u044b\u043a \u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0435 \u0441\u0442\u043e\u0438\u0442, \u0430 \u0442\u043e \u043d\u0435 \u0441\u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c \u0438 \u0442\u0430\u043a \u0434\u0430\u043b\u0435\u0435&#8230;<\/p>\n<pre><code class=\"bash\">\"$MyBaseDir\"\/build_QEMU\/qemu-img resize -f raw \"$IMAGE_FILE\" 8G<\/code><\/pre>\n<p>\u0414\u0430\u043b\u0435\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043c \u0437\u0430\u043f\u0443\u0441\u043a \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u0430 QEMU.<\/p>\n<pre><code class=\"bash\">\"$MyBaseDir\"\/build_QEMU\/qemu-system-aarch64 \\ -m 1024 \\ -M raspi3b \\ -kernel $TMP\/boot\/kernel8.img \\ -dtb \"$TMP\/boot\/bcm2710-rpi-3-b-plus.dtb\" \\ -drive file=\"$IMAGE_FILE\",if=sd,format=raw \\ -append \"console=ttyAMA0 root=\/dev\/mmcblk0p2 rw rootwait rootfstype=ext4\" \\ -device usb-net,netdev=net0 \\ -netdev user,id=net0,hostfwd=tcp::5555-:22 \\ -device usb-mouse -device usb-tablet -device usb-kbd<\/code><\/pre>\n<p>\u041e\u043f\u0446\u0438\u0438 <code>-device usb-mouse<\/code> \u0438 <code>-device usb-kbd<\/code> \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0442 \u0437\u0430 \u043f\u0440\u043e\u0431\u0440\u043e\u0441 \u043c\u044b\u0448\u043a\u0438 \u0438 \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044b \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e. \u041f\u043e \u043f\u043e\u0432\u043e\u0434\u0443 \u043c\u044b\u0448\u043a\u0438. \u0411\u0435\u0437 \u0432\u0430\u0436\u043d\u043e\u0439 \u043e\u043f\u0446\u0438\u0438 <code>-device usb-tablet<\/code> \u0443 \u043c\u0435\u043d\u044f \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0430 \u043f\u0440\u0430\u0432\u0430\u044f \u043a\u043d\u043e\u043f\u043a\u0430 \u043c\u044b\u0448\u0438, \u043d\u043e \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d\u0438\u0435 \u043a\u0443\u0440\u0441\u043e\u0440\u0430 \u043f\u043e \u0440\u0430\u0431\u043e\u0447\u0435\u043c\u0443 \u0441\u0442\u043e\u043b\u0443.<\/p>\n<p>\u041a\u0441\u0442\u0430\u0442\u0438 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 QEMU \u0434\u043b\u044f \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432 <a href=\"https:\/\/github.com\/buildroot\/buildroot\/tree\/master\/board\/qemu\" rel=\"noopener noreferrer nofollow\">buildroot\/board\/qemu\/<\/a> \u0432 \u0444\u0430\u0439\u043b\u0430\u0445 readme.txt \u0438\u043b\u0438 \u0432 \u043f\u0438\u0442\u043e\u043d\u043e\u0432\u0441\u043a\u043e\u043c \u0441\u043a\u0440\u0438\u043f\u0442\u0435 runqemu \u043e\u0442 <a href=\"https:\/\/docs.yoctoproject.org\/dev-manual\/qemu.html#qemu-command-line-syntax\" rel=\"noopener noreferrer nofollow\">Yocto<\/a>  (<a href=\"https:\/\/github.com\/yoctoproject\/poky\/blob\/master\/meta\/conf\/machine\/qemux86.conf\" rel=\"noopener noreferrer nofollow\">\u043f\u0440\u0438\u043c\u0435\u0440<\/a>).<\/p>\n<p>\u041a\u043e\u043d\u0441\u043e\u043b\u044c \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0437\u0434\u0435\u0441\u044c (serial0). \u0414\u0430\u043b\u0435\u0435 \u0431\u0443\u0434\u0435\u043c \u0432\u0432\u043e\u0434\u0438\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0432 \u043d\u0435\u0451.<\/p>\n<figure class=\"full-width\"><\/figure>\n<p>\u0412\u043a\u043b\u044e\u0447\u0438\u043c ssh. \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u043e\u0431\u0440\u0430\u0449\u0430\u0442\u044c\u0441\u044f \u043a \u043d\u0430\u0448\u0435\u0439 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435 \u043f\u043e ssh.<br \/><code>sudo systemctl start ssh<\/code><\/p>\n<details class=\"spoiler\">\n<summary>\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c ssh \u043c\u043e\u0436\u043d\u043e \u0438 \u0442\u0430\u043a<\/summary>\n<div class=\"spoiler__content\">\n<p><code>sudo raspi-config nonint do_ssh 1<\/code><\/p>\n<p>\u0410 \u0435\u0441\u043b\u0438 \u043d\u0430 \u043a\u043e\u043d\u0446\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c 0 &#8212; \u0442\u043e \u044d\u0442\u043e stop.<\/p>\n<\/div>\n<\/details>\n<p>\u0414\u0430\u043b\u0435\u0435  \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e resize2fs \u0437\u0430\u0439\u043c\u0451\u043c \u0432\u0441\u0451 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0435 \u043c\u0435\u0441\u0442\u043e \u0434\u0438\u0441\u043a\u0430 (\u0432 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 8 GiB), \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u0441\u044f \u0432\u0441\u0435\u043c \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u043c \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u043c \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u043c  Raspberry Pi OS \u043f\u043e \u0438\u043c\u0435\u043d\u0438 raspi-config. \u0427\u0442\u043e\u0431\u044b \u043d\u0435 \u043a\u043e\u043f\u0430\u0442\u044c\u0441\u044f \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u0432 \u043c\u0435\u043d\u044e,  \u0432\u043e\u0442 \u0442\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0437\u0432\u0430\u0442\u044c \u044d\u0442\u043e\u0442 \u0441\u043a\u0440\u0438\u043f\u0442 \u0432 \u043d\u0435\u0438\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u043e\u043c \u0432\u0438\u0434\u0435<\/p>\n<p><code>sudo raspi-config nonint do_expand_rootfs<\/code><\/p>\n<p>\u0420\u0430\u0431\u043e\u0442\u0430 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b \u0437\u0430\u043a\u043e\u043d\u0447\u0435\u043d\u0430. \u0412 \u0440\u0430\u043c\u043a\u0430\u0445 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438 \u043a \u044d\u0442\u043e\u0439 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u043e\u0431\u0440\u0430\u0449\u0430\u0442\u044c\u0441\u044f \u0431\u043e\u043b\u0435\u0435 \u043d\u0435 \u0431\u0443\u0434\u0435\u043c. \u0421\u0435\u0439\u0447\u0430\u0441 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u0435\u0440\u043d\u0443\u0442\u044c\u0441\u044f \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u044c Ubuntu \u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u0432 \u043d\u0435\u0439.<\/p>\n<p>\u041f\u0435\u0440\u0435\u0439\u0434\u0451\u043c \u0432 \u043d\u0430\u0448\u0443 \u0440\u0430\u0431\u043e\u0447\u0443\u044e \u043f\u0430\u043f\u043a\u0443.<\/p>\n<p><code>cd \"$MyBaseDir\"<\/code><\/p>\n<p>\u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u043c \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044e \u043f\u043e \u043a\u043b\u044e\u0447\u0443 \u043a \u043d\u0430\u0448\u0435\u0439 \u043c\u0430\u0448\u0438\u043d\u0435, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0432\u0445\u043e\u0434\u0438\u0442\u044c \u043f\u043e \u043b\u043e\u0433\u0438\u043d-\u043f\u0430\u0440\u043e\u043b\u044c \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437. \u041a\u043b\u044e\u0447\u0438 (\u0437\u0430\u043a\u0440\u044b\u0442\u044b\u0439 \u0438 \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0439) \u0431\u0443\u0434\u0435\u043c \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0432 \u0441\u0432\u043e\u0435\u0439 \u043f\u0430\u043f\u043a\u0435<\/p>\n<pre><code class=\"bash\">mkdir ssh_key<\/code><\/pre>\n<p>\u0413\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f ssh key<br \/>(\u0415\u0441\u043b\u0438 \u043a\u043b\u044e\u0447 \u0443\u0436\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043f\u043e \u0434\u0430\u043d\u043d\u043e\u043c\u0443 \u043f\u0443\u0442\u0438, \u044d\u0442\u043e\u0442 \u043a\u043e\u0434 \u0435\u0433\u043e \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0438\u0448\u0435\u0442)<\/p>\n<pre><code class=\"bash\">ssh-keygen -f ssh_key\/my_ssh_key -N \"\" -C myKeyForQEMU &lt;&lt;&lt; $'\\ny' >\/dev\/null 2>&amp;1<\/code><\/pre>\n<p>\u041f\u043e\u043c\u0435\u0441\u0442\u0438\u043c \u043a\u043b\u044e\u0447 \u043d\u0430 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u0443\u044e \u043c\u0430\u0448\u0438\u043d\u0443 (\u0442\u0443\u0442 \u0435\u0434\u0438\u043d\u043e\u0436\u0434\u044b \u043f\u0440\u0438\u0434\u0451\u0442\u0441\u044f \u0432\u0432\u0435\u0441\u0442\u0438 \u043f\u0430\u0440\u043e\u043b\u044c)<\/p>\n<p><code>ssh-copy-id -p 5555 -i ssh_key\/my_ssh_key.pub pi@127.0.0.1<\/code> <\/p>\n<p>\u041a\u0441\u0442\u0430\u0442\u0438, \u0432\u043c\u0435\u0441\u0442\u043e \u044f\u0432\u043d\u043e\u0433\u043e \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u044f IP \u0430\u0434\u0440\u0435\u0441\u0430<code>127.0.0.1<\/code>\u0432\u043e \u0432\u0441\u0435\u0445 \u043c\u0435\u0441\u0442\u0430\u0445 \u043c\u043e\u0436\u043d\u043e \u043f\u0438\u0441\u0430\u0442\u044c \u0441\u043b\u043e\u0432\u043e localhost.<\/p>\n<p>\u0417\u0430\u0434\u0430\u0434\u0438\u043c \u043f\u0440\u0430\u0432\u0430 \u043d\u0430 \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0439 \u043a\u043b\u044e\u0447 (\u0438\u043d\u0430\u0447\u0435 Ubuntu \u043d\u0435 \u0434\u0430\u0441\u0442 \u0438\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f)<\/p>\n<p><code>chmod 600 ssh_key\/my_ssh_key.pub<\/code><\/p>\n<p>\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u043c\u0441\u044f \u043a \u043d\u0430\u0448\u0435\u0439 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435. <\/p>\n<p><code>ssh pi@127.0.0.1 -p 5555 -i ssh_key\/my_ssh_key<\/code><\/p>\n<p>\u041a\u043e\u0433\u0434\u0430 \u0432\u044b \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u0442\u0435 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c \u0441\u0438\u0441\u0442\u0435\u043c\u044b, \u0432\u044b\u043a\u043b\u044e\u0447\u0438\u0442\u0435 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u0443\u044e \u043c\u0430\u0448\u0438\u043d\u0443 <\/p>\n<p><code>sudo poweroff<\/code><\/p>\n<p>\u041e\u0442\u043c\u043e\u043d\u0442\u0438\u0440\u0443\u0439\u0442\u0435 \u043e\u0431\u0440\u0430\u0437 \u043e\u0442 \u0432\u0430\u0448\u0435\u0439 \u0445\u043e\u0441\u0442-\u043c\u0430\u0448\u0438\u043d\u044b<\/p>\n<pre><code class=\"bash\">sudo umount -f $TMP\/boot\/ sudo umount -f $TMP<\/code><\/pre>\n<p>\u0438 <a href=\"https:\/\/gist.github.com\/AndreiCherniaev\/12e360601b1bfe15cdb1e79ce3a8e31e\" rel=\"noopener noreferrer nofollow\">\u043f\u0435\u0440\u0435\u043d\u0435\u0441\u0438\u0442\u0435<\/a> \u0444\u0430\u0439\u043b IMAGE_FILE \u043d\u0430 \u043a\u0430\u0440\u0442\u0443 \u043f\u0430\u043c\u044f\u0442\u0438 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043e\u0434\u043d\u043e\u043f\u043b\u0430\u0442\u043d\u0438\u043a\u0430. \u0418 \u0432\u0441\u0435 \u0432\u0430\u0448\u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u043e\u043a\u0430\u0436\u0443\u0442\u0441\u044f \u0442\u0430\u043c \u0443\u0436\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u043d\u044b\u043c\u0438.<\/p>\n<p>\u041a\u0441\u0442\u0430\u0442\u0438, \u0435\u0441\u043b\u0438 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u0432\u0435\u0441\u044c \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0434\u0435\u0431\u0438\u0430\u043d\u0430 \u0432 \u043e\u0434\u0438\u043d \u043c\u0435\u0433\u0430-\u0441\u043a\u0440\u0438\u043f\u0442, \u0442\u043e \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0443 \u043e\u0442\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043b\u0443\u0447\u0448\u0435 \u0441\u0434\u0435\u043b\u0430\u0442\u044c <a href=\"https:\/\/raspberrypi.stackexchange.com\/a\/99531\/154463\" rel=\"noopener noreferrer nofollow\">\u0442\u0430\u043a<\/a>.<\/p>\n<p>\u0417\u0430\u043c\u0435\u0442\u043a\u0430 &#171;\u041d\u0430\u0442\u0438\u0432\u043d\u0430\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f \u0432\u043d\u0443\u0442\u0440\u0438 \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u0430&#187; <a href=\"https:\/\/habr.com\/ru\/articles\/319736\/\" rel=\"noopener noreferrer nofollow\">\u0442\u0443\u0442<\/a> \u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/514008\/\" rel=\"noopener noreferrer nofollow\">\u0442\u0430\u043c<\/a>.<\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/735754\/\"> https:\/\/habr.com\/ru\/articles\/735754\/<\/a><br \/><\/br><\/br><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-400218","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/400218","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=400218"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/400218\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=400218"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=400218"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=400218"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}