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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-01-2004, 06:15 PM
|
#1
|
Member
Registered: Jun 2003
Distribution: SuSE 11.0
Posts: 171
Rep:
|
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.
|
|
|
04-01-2004, 06:24 PM
|
#2
|
Member
Registered: Aug 2003
Location: Lewisville, TX
Distribution: Kubuntu
Posts: 295
Rep:
|
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...
|
|
|
04-01-2004, 08:29 PM
|
#3
|
Moderator
Registered: Aug 2002
Posts: 26,200
|
Its basically what a liveCD does.
You could also use a solid state memory.
|
|
|
04-01-2004, 08:42 PM
|
#4
|
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852
|
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).
|
|
|
04-01-2004, 08:48 PM
|
#5
|
Moderator
Registered: Aug 2002
Posts: 26,200
|
MS3FGX
Curious, what kind embedded device i.e SBC are you running linux on?
|
|
|
04-01-2004, 11:23 PM
|
#6
|
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852
|
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.
|
|
|
04-04-2004, 06:02 PM
|
#7
|
Member
Registered: Jun 2003
Distribution: SuSE 11.0
Posts: 171
Original Poster
Rep:
|
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.
|
|
|
04-05-2004, 06:12 AM
|
#8
|
Moderator
Registered: Aug 2002
Posts: 26,200
|
MS3FGX
Thanks for the info.
I'm looking into embedded linux for home automation.
|
|
|
All times are GMT -5. The time now is 12:57 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|