SamyPesse / How-to-Make-a-Computer-Operating-System

How to Make a Computer Operating System in C++
https://samypesse.gitbook.io/how-to-create-an-operating-system
Apache License 2.0
21.46k stars 3.43k forks source link

Running devOS without VM #3

Closed akkartik closed 10 years ago

akkartik commented 10 years ago

It works fine without Vagrant, except for this one error:

grub> setup (hda0)
Error 17: Cannot mount selected partition
AaronO commented 10 years ago

@akkartik I rewrote/fixed the build script for devos when we published it a few months back. DevOS should be buildable using any standard linux distribution (ubuntu, debian, ...). But DevOS uses grub whereas modern versions of ubuntu use grub2.

That's why I setup vagrant to use ubuntu 10.04 which uses grub itself. I wanted to avoid possible conflicts with the user system's grub installation, and thus I think it's better to use a VM just to be on the safe side.

The Vagrantfile also provisions the VM with all the needed tools to build it, and of course it's cross platform osx/linux/windows.

So while it's possible, I don't think it's the best idea.

akkartik commented 10 years ago

:+1: