Hi Alain/All,

How are you doing?


On 23 November 2015 at 12:43, Alain Mouette <ala...@pobox.com> wrote:
> That may sound nice, but it misses something that I consider essencial:
> It has to carry all hardware drivers so that it can work on any machine ...
> Does anyone know how to do that?

Actually, it depends on how you do configure the kernel building :)

So, when building the (Linux) kernel
you have some options like:
"*" => for absolutely required features, this means your kernel well
have this feature "embedded" on it
"M" => for "module" features, so, setting to "M" will allow you to
"modprobe" any driver you need as long as you set it as "M"

And in this case, not on ubuntu, but any other distro, they simply
build the kernel with tons of drivers as 'module'

Also, when you download ubuntu kernels, you also download it's "kconfig"
So, you already have all ubuntu kernel configuration available to
build your own kernel
The link is http://kernel.ubuntu.com/~kernel-ppa/mainline/

For example, mainline ubuntu kernel 4.3:
http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.3-wily/

And inside this link you will find the patch with all 'kconfig' that you need...
http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.3-wily/0003-configs-based-on-Ubuntu-4.3.0-0.6.patch

> And there is another point that is important for me: I intend to use
> FreeDOS along with other Linux things. This is easy with Ubuntu, but not
> with Buildroot.

Well, you can still use it :)

many softwares to handle the network stack can be built on buildroot
without requiring further work
it it as simple as mark "*" on those softwares on buildroot
'menuconfig' and then traditional 'make' :)

And for any software that you may want to add you can do that too
if you're lazy and don't want to get along with uclibc, you can
recompile your software 'statically'
(using standard gnu libc and all other libs you may need, that way you
don't depend on uclibc)

I never had any issue with builroot/uclibc in years
a long time ago i used this to build a thin-client like solution and
it worked like a charm

> A better alternative would be to start with a minimal version od Ubuntu
> and stripp some things off.

For this, maybe you could use the 'uck - ubuntu customization kit'
Last version is from  2013 but with a few changes you can easily
remaster ubuntu in a few minutes...


Kind Regards,

Geraldo Netto
Sapere Aude => Non dvcor, dvco
http://exdev.sf.net/

> On 23-11-2015 11:55, Geraldo Netto wrote:
>> Hi All,
>>
>> Well, Maybe we could use buildroot [1] to create such minimalist distro
>> Buildroot is very flexible and allows to embed X
>> Last time i played with it, i was able to create a distro in ~14MB
>> (squashfs) with python and X
>> I know that squashfs is not feasible for older machines, but we can
>> tune the compression on buildroot :)
>> The only thing is to add dosemu on it which is not difficult,
>> but i would suggest to compile dosemu 'statically' and then copy the 
>> binaries...
>>
>>
>> [1] http://buildroot.uclibc.org/
>>
>>
>> Kind Regards,
>>
>> Geraldo Netto
>> Sapere Aude => Non dvcor, dvco
>> http://exdev.sf.net/
>>
>> Em 20/11/2015 17:52, "Jim Hall" <jh...@freedos.org> escreveu:
>>> On Fri, Nov 20, 2015 at 1:10 PM, Georg Potthast
>>> <mail...@georgpotthast.de> wrote:
>>>> Hi,
>>>>
>>>> I made a very small Linux distro called Nanolinux which is only 14 MB in
>>>> size:
>>>> https://sourceforge.net/projects/nanolinux/
>>>>
>>>> I could add Virtualbox to that and then you would get a bootable ISO with
>>>> about 50 to 70 MB in size that would run your DosemuLimpo
>>>>
>>>> (Although I did not manage to download that with the Firefox browser,
>>>> it does not recognize "ova" as a file extension. Maybe you put it into
>>>> a ZIP archive)
>>>>
>>>> Wonder if anybody would be interested to use this solution.
>>>>
>>> I, for one, would be very interested to see a text-mode "small" Linux
>>> that boots up an instance of DOSEMU instead of login on the first
>>> available virtual terminal. (I'd put a regular Linux login on the
>>> second VT.)
>>>
>>> This would provide an interesting "sandbox" to run Linux on new
>>> hardware. It would remove issues with hardware compatibility on newer
>>> systems.
>>>
>>> I don't know how small such a thing would be, but since it doesn't
>>> require a GUI (Nanolinux uses FLTK instead of X) and "only" needs to
>>> support DOSEMU, I imagine it would be quite small, probably smaller
>>> than the 14MB for your Nanolinux.
>>>
>>>
>>> jh

------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to