LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how do i install the kernel and nothing else (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-install-the-kernel-and-nothing-else-780619/)

baronobeefdip 01-07-2010 02:21 PM

how do i install the kernel and nothing else
 
lets say that i have a machine with nothing on it and i want to install just the linux kernel and no other part (just the command text interface) where do i download this

Tinkster 01-07-2010 02:32 PM

That isn't going to fly ... "the command text interface" is going to
require at least libc on top of the kernel. What's your objective anyway?

syg00 01-07-2010 04:10 PM

A bootloader might come in handy too ...
smeezekitty has recently posted re his kernel.

whizje 01-07-2010 04:15 PM

Check linux from scratch.

MrCode 01-07-2010 04:45 PM

Quote:

Originally Posted by baronobeefdip
(just the command text interface)

The "command text interface" (typically bash) is separate from the kernel...you probably won't get much use out of just the raw kernel, as you won't be able to tell it to do anything without a CLI. :)

If you're looking for a minimal Linux distribution, then check out things like Slackware (allows you to choose exactly what software packages are installed/not installed) or LFS as mentioned above (build/configure everything yourself, including the kernel). What exactly do you need this minimal system for?

pixellany 01-07-2010 04:53 PM

Quote:

Originally Posted by baronobeefdip (Post 3817908)
lets say that i have a machine with nothing on it and i want to install just the linux kernel and no other part (just the command text interface) where do i download this

You can get the kernel with any Linux distro. Or you can take any distro and just delete everything except the kernel, bootloader, and bootloader config files.

As implied by previous replies, all will be well for a few milliseconds--until the kernel tries to call "init".

Code:

while true; do echo "Why do you want to do this?"; done

MTK358 01-07-2010 04:53 PM

Just the kernel itself is not a functional OS. You need at least basic commands/programs, and a shell (provided by GNU) to have a command-line working environment.

baronobeefdip 01-07-2010 05:35 PM

Quote:

Originally Posted by MTK358 (Post 3818116)
Just the kernel itself is not a functional OS. You need at least basic commands/programs, and a shell (provided by GNU) to have a command-line working environment.

thats what i want an os but with only a terminal and all of the commands that are involved in a linux os

im hacking my psp to run linux so we can use aircrack it doesn't require a gui everything is done in the terminal

MTK358 01-07-2010 07:26 PM

Just take a distro and omit the installation of X Window System, Desktop Environments, Window Managers, GUI Apps, etc.

I don't know if most distros can do that but I was able to install Debian without the GUI once.

konsolebox 01-07-2010 08:43 PM

Gentoo, Slackware and LFS.

pixellany 01-07-2010 10:39 PM

Quote:

Originally Posted by baronobeefdip (Post 3818166)
thats what i want an os but with only a terminal and all of the commands that are involved in a linux os

Arch

baronobeefdip 01-08-2010 09:34 AM

heres an idea what if i can download Unix then install it to my psp (don't know how but i'm sure the guys at pspmod.com can explain) then download the Linux kernel and install it to the Unix os i have install

would you recommend freeBSD Unix or just plain Unix (i would like just plain Unix but is FreeBSD Unix the same)

here is an interesting link
http://www.tech-faq.com/download-unix.shtml

eyemole80 01-08-2010 10:21 AM

This is to deal with Embedded linux. Check for RTlinux or uClinux or other embedded system linux links. like
http://www.linuxfordevices.com/c/a/N...d-to-Sony-PSP/

timluo 01-08-2010 10:39 AM

embedded linux is one of the best choices for your purpose. be sure about what kind of CPU architecture you are using though.

cheers
tim

MrCode 01-08-2010 10:45 AM

Quote:

Originally Posted by timluo (Post 3819003)
embedded linux is one of the best choices for your purpose. be sure about what kind of CPU architecture you are using though.

From Wikipedia: CPU: MIPS R4000-based; clocked from 1 to 333 MHz


All times are GMT -5. The time now is 12:02 AM.