LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-07-2010, 03:21 PM   #1
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Rep: Reputation: 32
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
 
Old 01-07-2010, 03:32 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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?
 
Old 01-07-2010, 05:10 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,832

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
A bootloader might come in handy too ...
smeezekitty has recently posted re his kernel.
 
Old 01-07-2010, 05:15 PM   #4
whizje
Member
 
Registered: Sep 2008
Location: The Netherlands
Distribution: Slackware64 current
Posts: 592

Rep: Reputation: 140Reputation: 140
Check linux from scratch.
 
Old 01-07-2010, 05:45 PM   #5
MrCode
Member
 
Registered: Aug 2009
Location: Oregon, USA
Distribution: Arch
Posts: 864
Blog Entries: 31

Rep: Reputation: 148Reputation: 148
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?
 
Old 01-07-2010, 05:53 PM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Quote:
Originally Posted by baronobeefdip View Post
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
 
Old 01-07-2010, 05:53 PM   #7
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
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.

Last edited by MTK358; 01-07-2010 at 05:55 PM.
 
Old 01-07-2010, 06:35 PM   #8
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by MTK358 View Post
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
 
Old 01-07-2010, 08:26 PM   #9
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
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.
 
Old 01-07-2010, 09:43 PM   #10
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
Gentoo, Slackware and LFS.
 
Old 01-07-2010, 11:39 PM   #11
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Quote:
Originally Posted by baronobeefdip View Post
thats what i want an os but with only a terminal and all of the commands that are involved in a linux os
Arch
 
Old 01-08-2010, 10:34 AM   #12
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Original Poster
Rep: Reputation: 32
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

Last edited by baronobeefdip; 01-08-2010 at 10:38 AM.
 
Old 01-08-2010, 11:21 AM   #13
eyemole80
Member
 
Registered: Jun 2004
Distribution: Fedora Core 1
Posts: 47
Blog Entries: 1

Rep: Reputation: 16
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/
 
Old 01-08-2010, 11:39 AM   #14
timluo
LQ Newbie
 
Registered: Nov 2009
Distribution: Debian GNU/Linux
Posts: 6

Rep: Reputation: 1
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
 
Old 01-08-2010, 11:45 AM   #15
MrCode
Member
 
Registered: Aug 2009
Location: Oregon, USA
Distribution: Arch
Posts: 864
Blog Entries: 31

Rep: Reputation: 148Reputation: 148
Quote:
Originally Posted by timluo View Post
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to install kernel-syms and kernel-source on fedora 6 aw_wolfe Linux - Newbie 5 03-24-2008 03:03 PM
Can't run kernel config after APT kernel install rollo Debian 9 04-12-2006 06:06 PM
Configure kernel source for standard debian kernel (module install) twinkers Debian 2 12-22-2005 12:19 PM
trying to find/install kernel-source or kernel-headers timsch75 Slackware 3 10-22-2005 10:17 AM
10.1 install kernel and kernel-source different - build fails Feebles Mandriva 2 06-10-2005 07:58 PM


All times are GMT -5. The time now is 08:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration