LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 02: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, 02:32 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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, 04:10 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,125

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

Rep: Reputation: 141Reputation: 141
Check linux from scratch.
 
Old 01-07-2010, 04: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, 04:53 PM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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, 04:53 PM   #7
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
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 04:55 PM.
 
Old 01-07-2010, 05: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, 07:26 PM   #9
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
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, 08: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, 10:39 PM   #11
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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, 09: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 09:38 AM.
 
Old 01-08-2010, 10: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, 10: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, 10: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



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 02:03 PM
Can't run kernel config after APT kernel install rollo Debian 9 04-12-2006 05:06 PM
Configure kernel source for standard debian kernel (module install) twinkers Debian 2 12-22-2005 11:19 AM
trying to find/install kernel-source or kernel-headers timsch75 Slackware 3 10-22-2005 09:17 AM
10.1 install kernel and kernel-source different - build fails Feebles Mandriva 2 06-10-2005 06:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:59 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
Open Source Consulting | Domain Registration