Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.


  Search this Thread
Old 09-14-2007, 04:52 PM   #1
LQ 5k Club
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,397
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Loading Linux without spinning media

What are the most common or easiest or conventional (or whatever) ways to load a Linux kernel and enough application code to do useful things at boot time? Load from flash or other non-volatile memory? Load from spinning media? Network bootloaders? Other?
I would like to run a small list of dedicated applications on either a conventional X86 desktop platform (headless) or a PC/104 system, and I want to avoid spinning media, to improve reliability (at least in theory). What are others doing in this regard?
What is necessary to prepare the object code for use in such a system? How does one install the code into flash, or whatever media? How does one store the object code on a boot host, if network booting is used?
What other things do I need to start thinking about?

--- rod.
Old 09-14-2007, 05:04 PM   #2
Registered: Apr 2004
Location: Warrington, Cheshire, UK
Distribution: Linux Mint 12 LXDE
Posts: 555

Rep: Reputation: 33
A good start would be to check out this site:
Old 09-14-2007, 05:05 PM   #3
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
Generally you would be talking about software installed to onboard flash, either Compact Flash through an IDE-adapter (in the case of using standard X86 hardware) or some onboard flash. You could use PXE, but that severely limits your flexibility and mobility, as you are then rather literally tethered to a master server of some type.

As for getting Linux ready for booting from flash/PXE/whatever, there is nothing you really need to do beyond slimming the installation down. By virtue of the way the Linux kernel works, there is no functional difference between installing it to a HDD or a Compact Flash card.

Though you will probably want to compress your filesystem, and run it from RAM, rather than running it directly from flash. This prevents excessive read/write from the media, and speeds things up considerably. It does mean you will need to have a decent amount of RAM in the device as well.

You might want to read something like this to get an idea of how you can get started with a simple installation.
Old 11-28-2007, 04:11 AM   #4
LQ Newbie
Registered: Nov 2007
Posts: 15

Rep: Reputation: 0
There is a U-boot bootloader presnet which is the customized boot loader for most of the embedded linux application it works fron flash memory try that


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
XP Media Center '05 not loading on GRUB on Advent XP2100+ Dual with ubuntu AndyTheSkanker Linux - Software 1 04-06-2007 06:30 PM
amarok stops working--- "Error Loading Media, There is no audio channel!" thewtex Linux - Desktop 7 01-28-2007 06:22 PM
A Media Management Sytem (Windows Media Centre) for linux? carl0ski Linux - Software 5 12-07-2005 07:52 PM
Something spinning my HD? tormented_one Slackware 5 02-09-2005 03:34 PM > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 01:10 AM.

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