LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-03-2004, 09:15 AM   #1
tomank
Member
 
Registered: Apr 2004
Distribution: rh9
Posts: 50

Rep: Reputation: 15
Question linux on compact flash


i want a linux install on compact flash disks - i have enough to use up 1gb of space, using 4 disks and cf-ide adaptors. they will run of an itx mb, (shuttle type), and will be used to access two black and white camera's either through a framegrbber or even better (cheaper) using two firewire / usb2 webcams - it will run software called gandalf - which is 3d software - is this possible, and does anyone have any hints/tips/tricks for me?

My ideal solution would be 2 itx mbs, one running the cameras and one running the other stuff to map and move a robot, hence the reason for the itx mb's. Also i would like to have a semi realtime update broadcast using either wifi or bluetooth to a user laptop some distance away, with high level (go over there) commands sent to the robot.

Is this possible?
 
Old 04-26-2004, 04:53 AM   #2
Mogwa_
Member
 
Registered: Aug 2003
Distribution: Slackware, Evil Entity
Posts: 63

Rep: Reputation: 15
I have a Lex System running ipcop from a CF card. this is only a 64mb card but it does work fine.
 
Old 04-26-2004, 09:04 AM   #3
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
There is lots of info about booting linux from CF. I am not sure what you are going to do with 1Gb of flash memory. Keeping in mind that CF may only stand a few hundred thousand erase/write cycles you don't want to store any rapidly changing data there.

The normal thing is to use the CF read-only (or read-mainly), like a CDROM, and surely your o/s and apps will take up much less than that. For specific flash distros see e.g. Puppy linux

http://www.goosee.com/puppy/ (needs 52Mb)

(haven't used it myself) or the ultra-small SPB linux

http://www.8ung.at/spblinux/

which fits on an 8Mb card (with lots of room to spare).

Plenty of others I'm sure.
 
Old 04-26-2004, 03:08 PM   #4
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Yes, you can't mount a CF card as /. It will be toast in a month.

I created a distro to run from CF cards for my own personal use.

The way mine is setup is that the CF card holds my kernel and initrd image (plus the boot loader, which is SYSLINUX). SYSLINUX loads the kernel, then uncompresses the initrd image into a RAMDisk. In this case, the initrd image is the entire Linux system.

I use gzip compression on the initrd before I but it on the card, so I can reduce it to 1/3 it's original size.

All in all, the initrd image is just under 9 MB, and the kernel is around 1.3 MB (monolithic). When it is decompressed into the RAMDisk the system is 28 MB.

I run it on a 32 MB card, and as you can see I could triple the size of my system and still have room to spare, but it just so happens that I can get all the software I need from the 8 MB image.

Although some space on the CF card is taken up by a ext2 partition that I mount as /etc, so that changes to the system won't be lost after a reboot.

To get to the point, 1 GB of Flash is way more than you would ever require, and you can't just install a normal system on it.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Running linux off of CF (Compact Flash) Card?!?! lsakhvoruk Linux - Hardware 10 06-21-2009 08:30 PM
Linux on Compact Flash (CF-IDE) bwolak Linux - General 2 07-11-2005 06:08 AM
Linux on a Compact Flash ducksew Linux - General 7 11-23-2004 03:40 PM
linux doesn't read compact flash wazilian Linux - Hardware 0 10-22-2004 12:20 PM
Boot Linux from Compact Flash IDE ludwig Linux - Hardware 2 08-18-2003 01:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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