{"id":706,"date":"2021-06-25T10:14:53","date_gmt":"2021-06-25T10:14:53","guid":{"rendered":"http:\/\/www.peakproductions.at\/sides\/peakproductions\/?p=706"},"modified":"2021-07-19T20:09:07","modified_gmt":"2021-07-19T20:09:07","slug":"raspberry-pi-os-als-virtuelle-maschine","status":"publish","type":"post","link":"https:\/\/www.peakproductions.at\/sides\/peakproductions\/index.php\/2021\/06\/25\/raspberry-pi-os-als-virtuelle-maschine\/","title":{"rendered":"Raspberry Pi OS als virtuelle Maschine"},"content":{"rendered":"\n<p>Jeder, der schon \u00f6fter ein Projekt mit Raspberry Pi realisiert hat, kennt das Problem. Man gibt sich viel M\u00fche, alles l\u00e4uft endlich und es fehlt nur noch der Feinschliff am Betriebssystem. Eine WLAN-Verbindung hier, ein eigener Boot-Screen da und pl\u00f6tzlich ist es passiert, der Raspberry bootet nicht mehr. Nat\u00fcrlich ist es immer sinnvoll ein Backup von der SD-Karte zu machen und dieses wieder einzuspielen, aber es gibt noch eine M\u00f6glichkeit, die, wenn einmal konfiguriert, viel schneller geht &#8211; eine virtuelle Maschine. Die Vorteile liegen auf der Hand. Mit einer virtuellen Maschine (VM) kann ganz einfach ein sogenannter snap shot gemacht werden, welcher den Zustand des gesamten Systems speichert. Kommt es jetzt zu einem Problem, kann mit einem Klick wieder zum Zustand des Snapshots zur\u00fcckgekehrt werden :-). <\/p>\n\n\n\n<p>Nat\u00fcrlich kann auch Hardware wie ein WLAN-Stick oder eine Webcam \u00fcber den Host (das ist der Computer der die Virtualisierungssoftware installiert hat) zur VM durchgeschliffen werden. F\u00fcr das Raspberry Pi OS sieht alles so aus, als ob die Hardware wirklich physisch verbunden w\u00e4re. <\/p>\n\n\n\n<p>Es ist \u00fcbrigens egal welche Virtualisierungssoftware verwendet wird, lediglich die Einstellungen haben andere Bezeichnungen.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Herunterladen der iso-Datei<\/h2>\n\n\n\n<p>F\u00fcr die VM verwende ich Raspberry Pi Desktop, welches im Kern das selbe Betriebsystem wie auf dem Raspberry Pi ist, nur f\u00fcr Intel-Prozessoren anstelle von ARM-Prozessoren.  Der Link zum Download ist <strong><span class=\"has-inline-color has-accent-color\"><a href=\"https:\/\/www.raspberrypi.org\/software\/raspberry-pi-desktop\/\" target=\"_blank\" rel=\"noreferrer noopener\">hier<\/a><\/span><\/strong>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Konfiguration der VM<\/h2>\n\n\n\n<p>An sich ist das Raspberry Pi OS nicht anspruchsvoll. Wichtig ist, dass beim anlegen der VM beachtet wird, das es sich um ein 32 Bit Betriebsystem handelt. F\u00fcr gute Performance sollten zumindest 2GB RAM Arbeitsspeicher ausgew\u00e4hlt werden. Alles weitere findet ihr im Video ;-).<\/p>\n\n\n\n<figure class=\"wp-block-video\"><video height=\"720\" style=\"aspect-ratio: 1280 \/ 720;\" width=\"1280\" controls src=\"http:\/\/www.peakproductions.at\/sides\/peakproductions\/wp-content\/uploads\/2021\/06\/Installation.mp4\"><\/video><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Feinschliff<\/h2>\n\n\n\n<p>Nach der Installation braucht das Betriebsystem noch die passenden Driver und Tools, diese werden normalerweise \u00fcber eine Gastsystem-Datei installiert. Da wir aber \u00fcber einen komfortablen Package-Manager verf\u00fcgen, k\u00f6nnen diese mit<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt-get install open-vm-tools-desktop<\/code><\/pre>\n\n\n\n<p> komfortabel installiert werden ;-).<\/p>\n\n\n\n<figure class=\"wp-block-video\"><video height=\"720\" style=\"aspect-ratio: 1280 \/ 720;\" width=\"1280\" controls src=\"http:\/\/www.peakproductions.at\/sides\/peakproductions\/wp-content\/uploads\/2021\/06\/Feinschliff.mp4\"><\/video><\/figure>\n\n\n\n<p><strong><a href=\"http:\/\/www.peakproductions.at\/sides\/peakproductions\/index.php\/2021\/07\/19\/dateien-zwischen-virtuellen-maschinen-mit-netzlaufwerken-austauschen\/\" data-type=\"post\" data-id=\"735\"><span class=\"has-inline-color has-accent-color\">Zum n\u00e4chsten Beitrag &#8211; Dateien zwischen virtuellen Maschinen mit Netzlaufwerken austauschen<\/span><\/a><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Jeder, der schon \u00f6fter ein Projekt mit Raspberry Pi realisiert hat, kennt das Problem. Man gibt sich viel M\u00fche, alles l\u00e4uft endlich und es fehlt nur noch der Feinschliff am Betriebssystem. Eine WLAN-Verbindung hier, ein eigener Boot-Screen da und pl\u00f6tzlich ist es passiert, der Raspberry bootet nicht mehr. Nat\u00fcrlich ist es immer sinnvoll ein Backup &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.peakproductions.at\/sides\/peakproductions\/index.php\/2021\/06\/25\/raspberry-pi-os-als-virtuelle-maschine\/\" class=\"more-link\"><span class=\"screen-reader-text\">\u201eRaspberry Pi OS als virtuelle Maschine\u201c<\/span> weiterlesen<\/a><\/p>\n","protected":false},"author":1,"featured_media":711,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15,5],"tags":[],"class_list":["post-706","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux-tipps-und-tricks","category-raspberry-pi"],"_links":{"self":[{"href":"https:\/\/www.peakproductions.at\/sides\/peakproductions\/index.php\/wp-json\/wp\/v2\/posts\/706","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.peakproductions.at\/sides\/peakproductions\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.peakproductions.at\/sides\/peakproductions\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.peakproductions.at\/sides\/peakproductions\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.peakproductions.at\/sides\/peakproductions\/index.php\/wp-json\/wp\/v2\/comments?post=706"}],"version-history":[{"count":8,"href":"https:\/\/www.peakproductions.at\/sides\/peakproductions\/index.php\/wp-json\/wp\/v2\/posts\/706\/revisions"}],"predecessor-version":[{"id":739,"href":"https:\/\/www.peakproductions.at\/sides\/peakproductions\/index.php\/wp-json\/wp\/v2\/posts\/706\/revisions\/739"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.peakproductions.at\/sides\/peakproductions\/index.php\/wp-json\/wp\/v2\/media\/711"}],"wp:attachment":[{"href":"https:\/\/www.peakproductions.at\/sides\/peakproductions\/index.php\/wp-json\/wp\/v2\/media?parent=706"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.peakproductions.at\/sides\/peakproductions\/index.php\/wp-json\/wp\/v2\/categories?post=706"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.peakproductions.at\/sides\/peakproductions\/index.php\/wp-json\/wp\/v2\/tags?post=706"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}