LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 04-01-2004, 06:15 PM   #1
wini_g
Member
 
Registered: Jun 2003
Distribution: SuSE 11.0
Posts: 171

Rep: Reputation: 30
Unhappy RAM based system instead of disk based system ?


A simple hardware-software question ....

with the price of RAM not being not 2 xpensive .... why arent there any systems (2 my knowledge) where the complete OS is copied from a cheap ,slow hard-disk into a few GB's of cheap but many times faster RAM ... with a not mega fast processor .... that would be the same as tmpfs or boot disks where its all in RAM ....
That would I guess result in a system where a very fast processor & disk aren't necessary 4 a fast system ... the most expensive thing (although still quite xpensive at the moment) would be the RAM ....?
Or did I overlook the ovoius problem... ?


Da Wini G.
 
Old 04-01-2004, 06:24 PM   #2
vi0lat0r
Member
 
Registered: Aug 2003
Location: Lewisville, TX
Distribution: Kubuntu
Posts: 295

Rep: Reputation: 30
Can't store it permenantly... Would have to copy everything over on reboot. There is a program called RamDISK I believe it is, where you can put programs on your ram and then on shutdown it stores all the data in an .img file. Then on reboot it loads the .img file into your system memory. That would probably work...
 
Old 04-01-2004, 08:29 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,909

Rep: Reputation: 747Reputation: 747Reputation: 747Reputation: 747Reputation: 747Reputation: 747Reputation: 747
Its basically what a liveCD does.

You could also use a solid state memory.
 
Old 04-01-2004, 08:42 PM   #4
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
What you are talking about is completely possible. It is (like michaelk said) a LiveCD, but not on a CD.

That is what I do on my embedded devices. The root file system is mounted on a RAM disk, and directories that need to survive a reboot (/etc mainly) are mapped to partitions on a storage device of some type (I use a Compact Flash card).
 
Old 04-01-2004, 08:48 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,909

Rep: Reputation: 747Reputation: 747Reputation: 747Reputation: 747Reputation: 747Reputation: 747Reputation: 747
MS3FGX
Curious, what kind embedded device i.e SBC are you running linux on?
 
Old 04-01-2004, 11:23 PM   #6
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
Nothing as fancy (or as expensive) as a true SBC.

It is a VIA EPIA Mini-ITX motherboard with a solid state power supply and a 32 MB Compact Flash on the IDE chain to hold the boot initrd image/kernel and the /etc directory.

It runs a embedded version of Slackware I created that boots from a 8 MB compressed image that decompresses into a 32 MB RAMDISK. Which has telnet, FTP, SSH servers, plus network diagnostics (tcpdump, nmap, ettercap, etc).

I use them as remote network diagnostic machines, I drop one at a location I am doing some work on, and then I can control it from the main office to run tests on the remote network, simulate load, etc.

I am currently working on a version that can be used as a set top box for multimedia applications in a home network (playing videos and MP3s) with 802.11 support.

In addition to my day job, so to speak, I run a small company that builds computers for local companies, and I have been thinking of looking into mass producing them and possibly selling them, but for the time being they are just for personal use.
 
Old 04-04-2004, 06:02 PM   #7
wini_g
Member
 
Registered: Jun 2003
Distribution: SuSE 11.0
Posts: 171

Original Poster
Rep: Reputation: 30
Thumbs up Nice ....

THX 4 ur replies ... certainly interesting stuff .
I C what I can find about RamDISK ... . et c.

|:-)

Da Wini G.

Last edited by wini_g; 04-04-2004 at 06:11 PM.
 
Old 04-05-2004, 06:12 AM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,909

Rep: Reputation: 747Reputation: 747Reputation: 747Reputation: 747Reputation: 747Reputation: 747Reputation: 747
MS3FGX
Thanks for the info.

I'm looking into embedded linux for home automation.
 
  


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
GCC 4 based system Orodreth Linux From Scratch 2 11-23-2005 07:49 AM
Web-based System Manager Risc91 AIX 10 01-01-2005 03:46 PM
how to build RH9 install disk based on current system markkreuzz Red Hat 2 08-10-2004 01:47 PM
What kernel to use with P4 HT based system? Splin Linux - Hardware 3 07-20-2004 02:39 PM
Nvidia Driver Installation on Live(Ram-based system, like slax/knoppix) drdroid Linux - General 3 06-17-2004 04:23 PM


All times are GMT -5. The time now is 12:11 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration