SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2012-06-21 02:19:41

c3@53r
Member
Registered: 2011-12-29
Posts: 12

Nano Kernel on Crunch

I was wondering wether it was possible to install a Nano kernel on #!.  I tried Haiku Linux and know that it is loosely based on Linux but it is still blazing fast.  I tried to compile a minimal  monolithic kernel on Crunchbang before and succeeded to an extent, after twenty minutes or so the computer would reboot, but not on Mint, Ubuntu, or Arch.  At first I was going to do this and then post my results but first wanted to see if I should spend some time on it or not.

Thanks for the comments and Happy First Day of SUMMER big_smile

Last edited by c3@53r (2012-06-21 02:20:43)

Offline

Be excellent to each other!

#2 2012-06-21 05:10:17

Awebb
The Singularity
Registered: 2009-07-23
Posts: 2,812

Re: Nano Kernel on Crunch

There is no Haiku Linux. Haiku is a BeOS clone.

What exactly do you want to know? Stripping the kernel of things you don't need is like bread and butter in the life of a Linux user. So yes, don't be afraid!


I'm so meta, even this acronym

Offline

#3 2012-06-21 11:48:35

EndlessDissent
#! CrunchBanger
From: Near Chicago
Registered: 2011-05-14
Posts: 126
Website

Re: Nano Kernel on Crunch

I personally don't recommend trying to compile a micro-esque Linux kernel. Some drivers might need to be compiled as modules to work. For example, I compiled my wireless card's driver into the kernel (Realtek rtl8192se in case it matters) thinking it would be more efficient resource-wise. When I booted, my wifi didn't work at all. When I recompiled the kernel, leaving the driver as a module, the wireless worked fine. I'm assuming it's because the card depends on a firmware binary that loads the module. Since there was no module, the binary couldn't load whatever it needed.

Also, when I compiled EXT4 into the kernel, I got a message at bootup about the EXT4 module not being found. It didn't seem to make a difference. My EXT4 partitions worked fine, but I leave it as a module now just so I don't have to see the warning.

On the other hand, if you know every detail about your hardware and know that it doesn't require modules for some drivers, there is no reason for you not to build a micro-esque kernel. It could give you exactly the performance you're looking for.

Also, like Awebb said, Haiku is not Linux, not even loosely.

Last edited by EndlessDissent (2012-06-21 15:52:52)

Offline

#4 2012-06-21 15:02:16

c3@53r
Member
Registered: 2011-12-29
Posts: 12

Re: Nano Kernel on Crunch

So I could get the Haiku kernel config and replace that one for the current config file and everything would work flawlessly?

Offline

#5 2012-06-21 15:07:40

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 9,037

Re: Nano Kernel on Crunch

That's not the conclusion that follows from

EndlessDissent wrote:

Also, like Awebb said, Haiku is not Linux, not even loosely.

In fact, it sounds like the Haiku kernel would not work with Debian at all.  Completely different operating systems.


while ( ! ( succeed = try() ) );
We've earned a reputation as a nice, friendly community; please help us keep it that way.

Offline

#6 2012-06-21 15:15:32

c3@53r
Member
Registered: 2011-12-29
Posts: 12

Re: Nano Kernel on Crunch

This proves only one thing, that

A) Wikipedia lies about things

I'll tinker with stuff and see what happens then ^.^

Last edited by c3@53r (2012-06-21 15:51:41)

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo