How can I build this/how can I recrate this?
TechStudent10 opened this issue · comments
TechStudent10 commented
Similar to rdmsr/snek#2
TechStudent10 commented
Update: So I figured it out.
- You need Linux. There is no escaping Linux when creating OSes.
- You'll need Python 3.10. Here's a guide on how to upgrade: https://python.plainenglish.io/a-guide-to-upgrade-your-python-to-3-10-c0cb82ba662d
- You'll also need to install
qemu
. So run these two commands.
sudo apt install qemu
sudo apt install qemu-system-x86-64
- You'll need to do some refactoring.
- In
build.py
, wherever you are executing a Python file, changepython
topython3.10
. - Change line
os.system("./scripts/make_image.py")
toos.system("python3.10 ./scripts/make_image.py")
. - I am not sure about the rest. If you have problems, let me know here.
- In
- Run
python3.10 build.py
and you should have a.iso
file and QEMU should open. You then need to press enter on your keyboard for it to load.
llamaking136 commented
Yes, Linux is very good for developing operating systems. But, there are ways to counter only using Linux. brew
is a good package manager that does include qemu
and Python 3.10 for macOS. I'm not sure about Windows, but I'm definitely sure there's software for it.
TechStudent10 commented
On Windows I'm just using WSL with Ubuntu.
TechStudent10 commented
Closing in favor of rdmsr/snek#2