How to create a linux image file

155 views Asked by At

I want to do some kernel development, and have downloaded the latest version from kernel.org, done changes, and compiled it. So far everything went well. Now I want to run it in User-Mode-Linux, so I can test it.

I have found this site which provides a bunch of images, but non really worked. One was read-only, one was always printing error messages, another would hang on every 'halt' and some simply didn't work.

I have tried making my own image with dd if=/dev/zero of=img count=2M, but turns out that the empty image is not a good idea.

So my question, how can I create my own image and make it runnable?
Alternatively, where can I find an image that functions well?

0

There are 0 answers