LinuxQuestions.org
Register a domain and help support LQ
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 06-21-2013, 02:08 PM   #1
vignesh_murali2003
LQ Newbie
 
Registered: Jun 2013
Posts: 24

Rep: Reputation: Disabled
boot linux kernel without boot loader


I have a single board computer. I would like to boot directly into the kernel without boot loader. Is it possible. If so can you share it how to do it. Thanks
 
Old 06-21-2013, 03:00 PM   #2
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,102

Rep: Reputation: 1515Reputation: 1515Reputation: 1515Reputation: 1515Reputation: 1515Reputation: 1515Reputation: 1515Reputation: 1515Reputation: 1515Reputation: 1515Reputation: 1515
AFIK there is no way to boot directly to the kernel using standard means, unless you have a UEFI capable computer(kernel 3.3+ only). You can google for instructions on how to do that.

I have a few devices with imbedded systems, and they all use a bootloader to load their boot images. If i remember correctly, they are using Lilo.

Any particular reason for wanting to boot directly into the kernel? You can always install a boot loader with a timeout of 0 so it looks like its booting directly.
 
Old 06-21-2013, 03:54 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,665

Rep: Reputation: 2258Reputation: 2258Reputation: 2258Reputation: 2258Reputation: 2258Reputation: 2258Reputation: 2258Reputation: 2258Reputation: 2258Reputation: 2258Reputation: 2258
I guess it would depend on the board design. Some systems like DEC had a way to have the boot loader on a pc board. Other mini and mainframe had other ways to boot the OS.

http://www.ibm.com/developerworks/library/l-linuxboot/
 
Old 06-21-2013, 04:11 PM   #4
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,201

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
Quote:
Originally Posted by szboardstretcher View Post
AFIK there is no way to boot directly to the kernel using standard means, unless you have a UEFI capable computer(kernel 3.3+ only). You can google for instructions on how to do that.

I have a few devices with imbedded systems, and they all use a bootloader to load their boot images. If i remember correctly, they are using Lilo.

Any particular reason for wanting to boot directly into the kernel? You can always install a boot loader with a timeout of 0 so it looks like its booting directly.
i agree with szboardstretcher, unless there is a specific reason to do so, I wouldn't waste my effort, removing the boot loader makes installing updated kernels difficult at best, although you could look into coreboot
http://www.coreboot.org/Welcome_to_coreboot
which would replace your board's firmware with an open source firmware implementation, though it would be more like putting the boot-loader into firmware rather than replacing the boot-loader, but depending on whether or not your board is supprted such might be a viable option.
 
  


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
Linux boot loader entry in Windows boot loader abhikohokade Linux - Newbie 6 02-22-2013 07:12 AM
no /boot/loader and no /boot/kernel/kernel error message on a free bsd install chownuseradd Linux - Newbie 1 02-09-2008 09:05 PM
Can't boot to another Linux kernel from boot loader Okie2003 Linux - General 6 02-01-2005 09:21 AM
Kernel Compile Boot Loader? boot disk? SPMcRuube Linux - Newbie 3 12-03-2002 08:02 PM


All times are GMT -5. The time now is 07:36 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