LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 08-29-2011, 01:52 PM   #1
Tmaker
LQ Newbie
 
Registered: Aug 2011
Location: the Netherlands
Distribution: Debian, Ubuntu
Posts: 2

Rep: Reputation: Disabled
Howto boot linux from harddisk if that option is not presented by firmware?


My system is a settop-box with embedded Linux. It runs on a powerpc-cpu and has an IDE harddisk, upon which I have installed a Debian distribution. I can chroot to that environment, but now I want to boot it directly from the harddisk.

The firmware only offers the following boot options: from flash (which loads the embedded system), from network or from serial-port. Serial-port I use for the console.

Is there a way to load the Linux system directly or indirectly from the harddisk, e.g. by loading a software bootloader via the network-boot and tell this bootloader to load the system (kernel) from harddisk? (I know how to set-up a network boot).
Pls keep in mind that this runs on a powerpc-cpu!

Thanks in advance for your help!

Tmaker
 
Old 08-29-2011, 07:01 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
From network may be the most easy. Most systems can be set to offer some small OS or a good OS via pxe server. Many ways to do it also. Booting over http, ftp and things like iscsi and others can be used. Many of the bigger OS's have a boot floppy to then boot to some networked source. That floppy can usually be send over via pxe too.

Your problem is more the hardware and getting a distro to run on it. Embedded is usually some odd stuff.

Some of these embedded also may be running off a CF flashcard.
 
0 members found this post helpful.
Old 09-06-2011, 07:01 AM   #3
Tmaker
LQ Newbie
 
Registered: Aug 2011
Location: the Netherlands
Distribution: Debian, Ubuntu
Posts: 2

Original Poster
Rep: Reputation: Disabled
@Jefro: thanks for your effort but your reply did not solve my issue. My HW does not provide PXE support.
As I stated in my question, I want to load the kernel from harddisk and subsequently mount a harddisk partition as root.
For the time being I "solved" the issue by booting the kernel from flash and mount the harddisk partition via the kernel commandline.
Issue can be closed.

Tmaker
 
  


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
[help] How to boot 2 or more linux OS on one same harddisk with LVM? zerocoffee Linux - Newbie 13 06-12-2010 07:04 AM
Boot options whilst working with open firmware and Linux 1984dc Linux - General 3 05-05-2010 05:25 PM
LXer: A new Linux rootkit technique presented LXer Syndicated Linux News 0 04-17-2009 06:30 PM
How to turn off the fortune after boot (or at least change the files presented) darkstar01 Slackware 7 01-19-2009 04:50 AM
boot Linux after harddisk replacement thort Linux - Newbie 10 08-30-2005 09:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 09:59 PM.

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