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.35k stars 3.42k forks source link

No code in vagrant directory in virtualbox #66

Closed SamTebbs33 closed 10 years ago

SamTebbs33 commented 10 years ago

I managed to get to the "cd /vagrant" step of chapter two but I run into the problem that there is no code there as the tutorial says there should be, therefore I can't run the make commands.

What could be the problem? When running all commands from the terminal, I am situated in the VagrantOS directory that I made on my hard drive. I am using Mac OS X 10.9.4 and am using the latest versions of virtual box and vagrant

jrocketfingers commented 10 years ago

Forgive me for making an assumption here, but I made the same foolish mistake. You're probably reading the book, without actually cloning the repo. I've taken out the src folder from the repo and put it into the vagrant folder (which is a folder shared with the guest, and should exist on your host OS) and that made it work. It contains a Makefile, which will in turn know what to do once you run make.

Take the src folder, put its contents into the vagrant folder, and run make while ssh'd into the guest, and you should be all set.

SamTebbs33 commented 10 years ago

Thanks! :)

jrocketfingers commented 10 years ago

Glad I could help :) You might consider closing the issue (if there's an option for that, it's been a while since I last filed an issue :p)