Code Monkey home page Code Monkey logo

rpi-qemu-vm-scripts's Introduction

Hi! ๐Ÿ‘‹

My name is Itai Nelken and I'm a Linux and open source enthusiast and programmer.
I like to program low level stuff, the lower the better. My favorite programming language is C.

  • ๐Ÿ”ญ Iโ€™m currently working on itai-lang, a programming language I designed.
  • ๐ŸŒฑ Iโ€™m currently learning compiler design.
  • ๐Ÿ’ฌ Ask me about anything Linux, open source, and programming related (especially C).
  • ๐Ÿ“ซ How to reach me: Open a new issue or discussion in this repository.
Secret terminal

How I learnt to code (sort of)

installing skills = weeks of reading and trying stuff
$ ./Itai --skill=python --load-brain
loading brain...
turning it on...
brain: attempting to load Python skills...
brain: FATAL ERROR: Python skills are missing! can't run brain with Python skill!
$ ./Itai --skill=C --load-brain
loading brain...
turning it on...
brain: attempting to load c skills...
brain: FATAL ERROR: C skills are incomplete and corrupted! stop copying and start learning Itai!!
$ ./Itai --skill=bash --load-brain
loading brain...
turning it on...
brain: attempting to load bash skills... WARNING: brain might malfunction becasue of mediocre bash skills!
SUCCESS! - brain partialy on
$ ./Itai --load-brain
loading brain...
turning it on...
brain: no coding skills selected!
SUCCESS! - brain on but doesn't have skills!
$ ./Itai install --skills bash
searching for skill 'bash'...
found skill 'bash'...
installing skill 'bash'...
0%[###############################]100%
SUCCESS! - installed skill bash!
$./Itai --skill=bash --load brain
loading brain...
turning it on...
brain: attempting to load Bash skills...
SUCCESS! - your bash scripts are getting better every day!
$ ./Itai install --skills python
searching for skill 'python'...
ERROR: skill 'python' not found, trying again...
WARNING: skill 'python' in repository 'Itai' isn't complete!
installing skill 'python'...
0%[###############################]100%
SUCCESS! - installed skill python!
$ ./Itai --skill=python --load-brain
loading brain...
turning it on...
brain: attempting to load Python skills...
brain: FATAL ERROR: python skills are incomplete and corrupted! stop copying and start learning Itai!!
$./Itai install --skills c
searching for skill 'c'...
installing skill 'c'...
0%[###############################]100%
SUCCESS! - installed skill c!
$ ./Itai --skill=c --load-brain
loading brain...
turning it on...
brain: attempting to load C skills...
SUCCESS! - you are getting better at C every day (you even understood pointers!)!
$ ./Itai install --skills go
searching for skill 'go'...
installing skill 'go'...
0%[###############################]100%
SUCCESS! - installed skill 'go'!
$ ./Itai --skill=go --load-brain
loading brain...
turning it on...
brain: attempting to load Go skills...
SUCCESS! - you are getting better at Go every day!
$ ./Itai install --skills rust
searching for skill 'rust'...
installing skill 'rust'...
0%[###############################]100%
SUCCESS! - installed skill 'rust'!
$ ./Itai --skill=rust --load-brain
loading brain...
turning it on...
brain: attempting to load Rust skills...
SUCCESS! - you are getting better at Rust every day!
$

Github user stats:
Itai's github stats Top Langs

rpi-qemu-vm-scripts's People

Contributors

itai-nelken avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

aarizyt

rpi-qemu-vm-scripts's Issues

Have you had any luck with x86 linux VM's?

Hey, I was wondering if you had experimented with any Linux x86 qemu VM's on RPi4 while you were making your Win98 and MacOS VM's. I've been trying to make an x86 Linux VM but can't seem to get one running and was wondering if you might have any insight.

Long story about my attempts:
I followed this guide on getting qemu VM's with KVM working on Pi4, but can only get an aarch64 VM working. x86 doesn't seem to work.

Any x86 or x86-64 VM's (including Debian iso's and Alpine Linux iso's) give me errors when booting that look like this:
image

I've tried qemu-system ("qemu") v5.2 packages by updating my Pi4 apt repos to include newer sid/testing packages:

# Add testing repo to sources list. This way we can download a newer qemu packages (I found I could get newer qemu-user-static packages this way for some previous experiments w/ those)
echo -E "deb http://http.us.debian.org/debian/ testing non-free contrib main" | sudo tee -a /etc/apt/sources.list.d/raspi.list >/dev/null
wget -O - https://ftp-master.debian.org/keys/archive-key-10.asc | sudo apt-key add - # "Active Signing Key" found here https://ftp-master.debian.org/keys.html
sudo apt-get update
# It would now be a really good idea to remove the testing repo from your sources list!

sudo apt install qemu qemu-user qemu-user-static

(although soon after that I accidentally borked by pi by updating my entire system with testing packages)
I'm going to try newly build qemu-system packages soon from your deb and report back. (after I uh re-flash my pi lol)

Here's my Alpine Linux aarch64 qemu VM image (which was installed from their "virtual" iso): download link You might have to enable KVM on the Pi4 to use this image? (according to the first couple steps of that guide).

# DISABLE THE TESTING APT REPO IF YOU ENABLED IT!
sudo apt update && sudo apt full-upgrade -y
uname -r # should say "#.#.##-v7l+"
echo "arm_64bit=1" | sudo tee -a /boot/config.txt
sudo reboot
uname -r # should say "#.#.##-v8+" for 64bit kernel
sudo apt install virt-manager libvirt0 qemu-system
sudo usermod -aG libvirt-qemu $(whoami)
sudo reboot
sudo virsh net-start default
sudo virsh net-autostart default

Change VM resolution

The VMs are locked at a square resolution, is there a way to change them to 720p or 1080p so it fills up the whole screen?

Add Windows 10 ARM64 support

I found a tutorial on how to emulate Windows 10 ARM64 on Raspberry Pi (Windows 11 is also supported). It is implemented through QEMU and KVM. Although it runs slowly, most functions works well (except GPU).

Tutorials and resources provided by the author (all in Chinese):
Baidu Tieba: https://tieba.baidu.com/p/6681221786
Video tutorial: https://www.bilibili.com/video/BV1ZC4y1H7G3
Resource file (including detailed text tutorial): https://pan.baidu.com/s/1trVMhu7gscAKtEl28JNn4g Extraction code: yf5i

For easy downloading, I uploaded the files in Baidu Netdisk to OneDrive.
https://fc.iamsjy.com/OneDrive/Raspberry%20Pi/Windows-10-ARM64-KVM/

Windows 10 ARM64 images can be downloaded from UUP Dump.

More space on Windows 98 VM.

Hi, I love your work with your script but when I installed games it said that I ran out of space. Can you resize the image so it can be 8 gb (or less)?
Or can you show me how can I put more space in the virtual hard drive.
Thanks!

An easier way to run Windows 95 and Mac OS 8 on Raspberry Pi

https://github.com/felixrieseberg/windows95
https://github.com/felixrieseberg/macintosh.js
Thanks to @felixrieseberg for packaging Windows 95 and Mac OS 8 into applications that support all platforms. Now we can run them through the deb packages.
Both packages are already included in the raspbian-addons repository. They can be installed via sudo apt install windows95 and sudo apt install macintosh.js.
I have tried them on my Raspberry Pi and I feel the experience is wonderful.๐Ÿคฃ

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.