Giter Site home page Giter Site logo

Comments (4)

ivandavidov avatar ivandavidov commented on June 8, 2024 1

Successful building of an entire operating system entirely from scratch depends very much on your local setup. I have provided detailed instructions in the main readme file in this repo what the setup is. I recommend that you start with Minimal Linux Script, analyze everything that happens there, and then continue with MLL.

One common cause for the No working init found error message is not enough RAM. You can increase the RAM for the VM and check again. Another approach is to run the build scripts one by one, and cartefully analyze the result for any errors. In the end the root cause of the issue is always something in the local setup of the host OS machine. Unfortunately, I can't debug this for you, since this is your machine, and you are responsible for the local setup. The scripts are proven to work perfectly fine, assuming all host OS build dependencies are met.

Please, add a message here when you figure this out! Good luck!

from minimal.

kincsescsaba avatar kincsescsaba commented on June 8, 2024

Meanwhile, I added further tests, and what I see is that it runs binaries compiled from C, I even tested shebang expansion. The latter passed the /init filename as an argument, so I assume that works fine.
Is it possible that busybox is broken, and there is no error message about that?

from minimal.

kincsescsaba avatar kincsescsaba commented on June 8, 2024

I still do not understand what went wrong, but I solved the issue by changing the host OS. It would be nice to have a relatively lightweight build environment, that's why I initially tried with Docker-Alpine. My only idea to know more about the reason for the error is to compare logs with a diff tool.

Also, I tried to boot the iso at my cloud provider but /init hanged with no messages, I'm about to check if this is a cloud provider issue or something is wrong with iso. It shouldn't be, as it works with qemu.

Do you have any ideas on what I should look for in the logs that could cause similar errors?

UPDATE:
Dockerized build was fixed, all errors were due to the reason that make does not throw an error when required software is missing for the build. After I found all, it worked in qemu.
Now I'll need to fix the cloud provider issue.

from minimal.

kincsescsaba avatar kincsescsaba commented on June 8, 2024

I closed this as the main issue is solved and was there because of dependencies make needed. I'll put the other issue in another ticker.

from minimal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.