Installing MOS in linux 20.04 Focal Fossa
parth-27 opened this issue · 16 comments
I am facing issues during Installation of MOS in Ubuntu 20.04 due to some different commands of shell script in Mac and Linux in creater_image.sh and build.sh
We are unable to make ISO file.
So can you please provide alternative linux commands for building ISO file
hi @parth-27, mOS is developed in macOS so unfortunately, script is made for macOS.
I tested in linux few months ago, I reused hdd.iso
(which was generated from create_image.sh
in my macOS) and modified build,sh
and kernel/Makefile
like this commit 1ea2517#diff-56e96dd96a04965bc16ae7b79379ff8e
I think the fast way is I can upload hdd.iso
so you can reuse it, and modify other build scripts like above?
hi @parth-27, mOS is developed in macOS so unfortunately, script is made for macOS.
I tested in linux few months ago, I reusedhdd.iso
(which was generated fromcreate_image.sh
in my macOS) and modifiedbuild,sh
andkernel/Makefile
like this commit 1ea2517#diff-56e96dd96a04965bc16ae7b79379ff8e
I think the fast way is I can uploadhdd.iso
so you can reuse it, and modify other build scripts like above?
Yess, can you please upload it, it would be very helpful.
I created new branch ubuntu
, already tested in my ubuntu 20. Let me know if everything is not working ./build qemu iso
the error said that i686-elf-gcc
is not found, could you try to install it?
Yes, i installed i686-elf-gcc and tried running the OS
did you run make install
when installing i686-elf-gcc
, can you check your PATH to make sure it contains folder which contains i686-elf-gcc
hi @Mithilesh1609, I don't think you can run brew in ubuntu, I will improve the README for ubuntu setup. In the mean time, I think https://wiki.osdev.org/GCC_Cross-Compiler could help
@manasvi89 did you checkout ubuntu branch and run ./build qemu iso
?
can you screenshot this cd src/kernel && make clean && make
?
you shouldn't use brew in linux, follow the guide here from The build
https://wiki.osdev.org/GCC_Cross-Compiler
Ok Thank You