LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-14-2011, 05:05 PM   #1
rainbow82
LQ Newbie
 
Registered: Jul 2011
Posts: 8

Rep: Reputation: Disabled
Help needed in building a minimal linux for a PC-104 board


Hi, I am new to this forum, so was not sure where to put this. I am trying to build a complete linux system for a PC-104 board powered with AMD Geode-LX800 processor (500 MHz). It has 256 MB of RAM, compact flash module and couple of peripheral connectors.

I am interested in building a minimal linux system with a TCP/IP capability. I tried kernel compilation, image building, root file system building and boot loader (Lilo and Syslinux) setup on the flash card, but failed to get the system boot. (don't know how to set up the .config file of boot loader)

How should I follow to get this kind of system working? (Is there a set procedure?)

Any help will be appreciated.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 07-14-2011, 07:34 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 16,680

Rep: Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455
Where did you get the tutorial or cookbook to do this?

A few ways to go.

One is to use a build book like linux from scratch. http://www.linuxfromscratch.org/

Another is to use a bit less of a tedious method and that is to use gentoo.
Another is to just take any small linux floppy based distro and either see what they put into it or simply copy it or install it to the flash. In a very real sense most linux distro's could be installed to the CF disk while it was in some fully working system.

The board may already support pxe so you could setup a pxe boot and then install. Same goes for gpxe/ipxe installs over ftp/http/iscsi and others even web pages.
 
2 members found this post helpful.
Old 07-14-2011, 08:47 PM   #3
rainbow82
LQ Newbie
 
Registered: Jul 2011
Posts: 8

Original Poster
Rep: Reputation: Disabled
Thanks for the link provided. Will try that.

I went through several tutorials--The Linux Installation HOWTO, Linux Partition mini-HOWTO, The Linux Bootdisk HOWTO etc.--that give a comprehensive information on this, though I could not get the system running.
 
Old 07-15-2011, 04:32 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 16,680

Rep: Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455
Do you need to built it from scratch or can you use some other pre-built system?
 
Old 07-15-2011, 05:11 PM   #5
rainbow82
LQ Newbie
 
Registered: Jul 2011
Posts: 8

Original Poster
Rep: Reputation: Disabled
'From scratch' is not a requirement. However, because I wanted a small footprint, I was trying to do it from scratch. Also, I tried Gentoo--booted without any problem and right now I am trying to install it.

The embedded system is supposed to provide a minimal execution environment, just enough to run a couple of 32 bit applications and communicate over TCP/IP. So, there is no need of development tools or any utilities that come with the Gentoo packages.

Anyway, thanks for the help.
 
Old 07-15-2011, 05:27 PM   #6
floppy_stuttgart
Member
 
Registered: Nov 2010
Location: Stuttgart, Germany
Distribution: Debian like
Posts: 781
Blog Entries: 2

Rep: Reputation: 75
hello,
personally, I made a CF (now at an IDE adapter) with different distros by
a) starting knoppix on a new laptop
b) installing knoppix to an USB (in fact, this CF on an USB adapter)
c) editing the syslinux.conf of this CF and adding menues for slitaz, puppylinux, TinyCoreLinux (which has to be installed by copying the main files)
I can now boot this CF with my PC via IDE adapter (or others via USB adapter)
Hopefully it helped.
 
Old 07-15-2011, 05:53 PM   #7
rainbow82
LQ Newbie
 
Registered: Jul 2011
Posts: 8

Original Poster
Rep: Reputation: Disabled
I tried a very similar procedure too, however did not work. Here is the link
http://home.comcast.net/~fbui/BootableFlash.html

I think I could not get the syslinux.cfg file edited correctly?
 
Old 07-15-2011, 06:50 PM   #8
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: Austin, TX
Distribution: Mint-17.3 with Cinnamon & KDE
Posts: 1,534
Blog Entries: 3

Rep: Reputation: 103Reputation: 103
I did this with Yddrasil in 1995.
Today, it would be a Gentoo approach.

Wish you luck. It will be fun work.
~~~ 0;-Dan
 
Old 07-16-2011, 04:09 AM   #9
floppy_stuttgart
Member
 
Registered: Nov 2010
Location: Stuttgart, Germany
Distribution: Debian like
Posts: 781
Blog Entries: 2

Rep: Reputation: 75
Quote:
Originally Posted by rainbow82 View Post
I tried a very similar procedure too, however did not work. Here is the link
http://home.comcast.net/~fbui/BootableFlash.html

I think I could not get the syslinux.cfg file edited correctly?
I had a short look.
The differences to me are:
- I used the knoppix (6.2! 6.4 was too slow) usb install menue (no manual install; it made a FAT32)
- TinyCoreLinux is running on my old Box, an older Slitaz-Version, PuppyLinux, not PartedMagic, not the new Slitaz. so, not all distros starts.
- the cf is a 8GB
When I have more time, I will go into more details and post my syslin˙x.cfg here.

Last edited by floppy_stuttgart; 07-16-2011 at 04:27 AM.
 
Old 07-19-2011, 04:10 PM   #10
floppy_stuttgart
Member
 
Registered: Nov 2010
Location: Stuttgart, Germany
Distribution: Debian like
Posts: 781
Blog Entries: 2

Rep: Reputation: 75
Quote:
Originally Posted by rainbow82 View Post
I tried a very similar procedure too, however did not work. Here is the link
http://home.comcast.net/~fbui/BootableFlash.html

I think I could not get the syslinux.cfg file edited correctly?
cfg? please have a look at the post dated Donnerstag, 26. Mai 2011, 23:23 here http://www.knoppixforum.de/knoppix-f...itern-wie.html
a cfg file is good there (not mine). you can extend it as you wish it.
my cf is a sandisk 30mb/s 8gb.
 
  


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
Making linux boot on a powerpc board. What is needed? dodo76 Linux - Embedded & Single-board computer 4 11-13-2010 05:53 AM
What distro should I choose for a minimal, then building up experience? woms14 Linux - Newbie 6 11-24-2008 02:46 PM
PC/104 ISA bridge VT82C686 - writing driver for self-made ISA board jpmzometa Linux - Hardware 11 08-06-2007 05:51 AM
building a fbsd60 server, starting from minimal Sharaz *BSD 3 04-13-2006 11:18 AM
Building a minimal OS to power hardware topcatzz Linux - General 4 09-06-2005 07:18 PM

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

All times are GMT -5. The time now is 02:07 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration