LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   installing Linux kernel (https://www.linuxquestions.org/questions/linux-newbie-8/installing-linux-kernel-782913/)

dayana 01-18-2010 02:27 AM

installing Linux kernel
 
Hi

If I want to just install Linux kernel for educational objects on a fresh computer, should I first install one of Linux distribution and then update it's kernel or I can just install kernel itself?! :scratch:

Thanks for your attention!

smeezekitty 01-18-2010 02:29 AM

Quote:

Originally Posted by dayana (Post 3830554)
install one of Linux distribution and then update it's kernel or I can just install kernel itself?!

Installing the kernel itself would not be of much use as at most you would get a shell with no commands.

cola 01-18-2010 06:51 AM

Quote:

Originally Posted by dayana (Post 3830554)
Hi

If I want to just install Linux kernel for educational objects on a fresh computer, should I first install one of Linux distribution and then update it's kernel or I can just install kernel itself?! :scratch:

Thanks for your attention!

Installing only kernel will let you run linux commands only(coreutils).

What are you trying to do(educational objects) and which linux distribution you use?

Bratmon 01-18-2010 08:59 AM

Quote:

Originally Posted by smeezekitty (Post 3830555)
Installing the kernel itself would not be of much use as at most you would get a shell with no commands.

Not even that, it would die as soon as it tries to call init.

brianL 01-18-2010 09:02 AM

I should think you would need a shell and, at least, coreutils.

vksm 01-18-2010 09:24 AM

hi,

ya, first you install one of linux distribution. It has one regular kernal. we couldn't install kernal separately. if you need more than one kernal, you can install after installing linux OS.

gatinois 01-18-2010 04:54 PM

If you really want to install only the kernel and nothing else you could get a hold of tomsrtbt, http://www.toms.net/rb/, which is a small distribution which installs on a diskette. You could then copy its kernel to your hard disk with the dd command, see the man page. The kernel would have to be copied to the mbr which is the first sector on your disk. Like a previous post pointed out, the kernel first looks for a file called init. If this file is not found what you get is kernel panic, in other words it just hangs and does nothing. Google for 'rescue disk' for more information.


All times are GMT -5. The time now is 10:31 PM.