How-to-Make-a-Computer-Operating-System
How-to-Make-a-Computer-Operating-System copied to clipboard
how to setup my development environment? can you tell me in detail?
my operating system is Windows 7 ,and I have install vagrant and virtual box.but I don't know to execute this command
Getting started with vagrant on windows. http://www.seascapewebdesign.com/blog/part-1-getting-started-vagrant-windows-7-and-8
thank you very much! another question has raised. when reading this sentience below: "Once the lucid32 image is ready, we need to define our development environment using a Vagrantfile, create a file named Vagrantfile. This file defines what prerequisites our environment needs: nasm, make, build-essential, grub " which directory should the vagrantfile to be located?
It should be in the top level directory of your project, from where you intent to launch vagrant. i.e you should call the 'vagrant' command from the same directory as the Vagrant file.
if my project is located in E:\download\How-to-Make-a-Computer-Operating-System-master\src,then the vagrantfile should be in the root of src foler, right ?
Here: E:\download\How-to-Make-a-Computer-Operating-System-master\Vagrantfile
ok,very thank you !
when trying to build the systerm like what was said by the autor,
Well you need a Makefile to run make.
it's under the src
I hope it is not empty and has the instructions for make to build your code as described in the following makefile
https://github.com/SamyPesse/How-to-Make-a-Computer-Operating-System/blob/master/src/Makefile
Also you got to be in scr/ directory, so when you execute 'make' it is able to find the Makefile.
when using "ls" command,it show that:
ls: cannot open directory .: Operation not permitted
Try this :
sudo usermod -a -G sudo vagrant
You must logout and login again for this to take place.
Humm try this :
ok that means your user does not have root privileges, do this :
# sudo visudo
find a place in the file like this
# User privilege specification
vagrant ALL=(ALL:ALL) ALL
and update it to
# User privilege specification
vagrant ALL=(ALL:ALL) ALL
save by using Ctrl-X, Y
Also logout from vagrant and login again. See if it works.