Comments (4)
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.
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.
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.
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)
- Migrate Travis CI workflow to GitHub workflow HOT 1
- Implement Xorg with FLWM onto MLL HOT 3
- Missing CRC32 at the rootfs compression HOT 3
- Missing gpg and or at least sha256 hash check against MtM attacks HOT 2
- Grouping of the log output / missing logs HOT 1
- Fails to build on Ubuntu 20.04.2 LTS HOT 3
- [Package Request] jwm HOT 1
- pulling in bundles from web...live HOT 2
- Your linker does not support HOT 1
- yo HOT 1
- Update v86 HOT 2
- How to get 32-bit version? HOT 2
- Build, Compile errors and package download file was missing... HOT 2
- can't build the iso. HOT 1
- Files not available
- make[2]: *** [scripts/Makefile.build:357: arch/x86/entry/thunk_64.o] Error 1 HOT 2
- How to add minimal GUI HOT 1
- Dead links in README.md
- Possible issues with connecting tty / ttyS0, qemu, virtual console
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minimal.