Closed parth-27 closed 3 years ago
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 https://github.com/MQuy/mos/commit/1ea2517e30fa7755df3a106f53167e6af81b221b#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 reused
hdd.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
Hi, we tried to run ./build.sh qemu iso and we got this error, can you please tell us what's wrong?
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, I have tried to install mos in ubuntu-20..04, but i am getting error like this.
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
We have followed all the steps for installation and we are trying to boot iso file in qemu but We are getting an error.
@manasvi89 did you checkout ubuntu branch and run ./build qemu iso
?
Yes I did that and now I am getting an error about missing mos.bin file.
can you screenshot this cd src/kernel && make clean && make
?
Yes.Here, It is
you shouldn't use brew in linux, follow the guide here from The build
https://wiki.osdev.org/GCC_Cross-Compiler
Ok Thank You
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