Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install a bare Linux kernel without any distribution to study it?

Tags:

linux-kernel

I want to study the kernel of Linux without any distribution.

I found the LoadLin boatloader of Ms-dos, but i think it works only in older version of windows (windows 95,98, ME).

So i need to install the kernel only in my PC if Possible.

How I can install it?

like image 281
Ahmed Djamel Avatar asked Mar 24 '14 13:03

Ahmed Djamel


People also ask

Can you install just the Linux kernel?

It is possible to install a Linux kernel without the usual user-space tools. This is commonly done in embedded systems such as routers.

Can we use Linux without distro?

Most Linux distros come with a desktop environment preinstalled by default. But is it possible to run Linux without a GUI at all? While modern Linux systems have attractive desktop interfaces, you may be wondering whether you can use Linux without them. The straightforward answer is "yes."


1 Answers

The kernel only is not that much useful to you; you'll probably need some shell and a working compiler if you want to test things first-hand, and these are not part of the kernel.

There's a distribution called Linux From Scratch which basically allows you to install the kernel and then whatever other stuff you want, literally from scratch (as in, by compiling stuff yourself and only adding what YOU want)

I am wondering though, what is it exactly you want to study and how does having a distribution affect your studying of the kernel? (Yes, some distributions ship custom kernels but the major features are almost always the same)

like image 72
Fingolfin Avatar answered Oct 11 '22 13:10

Fingolfin