Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
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.


Search this Thread
Old 07-03-2012, 03:02 AM   #1
LQ Newbie
Registered: Jul 2012
Posts: 6

Rep: Reputation: Disabled
system loading from image in industrial device

I have got a special industrial device with linux on board. This is an individual, created by device manufacturer, truncated distribution, where the system is loaded (probably) from the saved on hard drive image. When I created a file or edit something and restart system the changes disappear.

Mount returns:
rootfs on / type rootfs (rw)
/dev/root.old on / type ext2 (rw,relatime,errors=continue)
proc on /proc type proc (rw,relatime)
sys on /sys type sysfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
none on /proc/bus/usb type usbfs (rw,relatime)
tmpfs on /var/ramdrive type tmpfs (rw,relatime,size=16384k)
is it possible to add files, services or something else to the system (without removing hard drive)?
Old 07-04-2012, 03:07 PM   #2
Registered: Mar 2008
Posts: 12,496

Rep: Reputation: 1585Reputation: 1585Reputation: 1585Reputation: 1585Reputation: 1585Reputation: 1585Reputation: 1585Reputation: 1585Reputation: 1585Reputation: 1585Reputation: 1585
"When I created a file or edit something and restart system the changes disappear."

I am not sure it is a real hard drive. Boot to bios maybe or look inside for more clues.
It may be a sort of live cd type of install where some ram is being used to act like a real file system. It could be the image is on a rom or even a CF disk that has the the write blocked mechanically.
Old 07-05-2012, 07:47 PM   #3
LQ 5k Club
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,396
Blog Entries: 2

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
The root filesystem is a RAM disk:
rootfs on / type rootfs (rw)
The listed mounts don't appear to include any non-volatile media.

--- rod.
Old 07-15-2012, 08:58 AM   #4
Registered: Nov 2010
Location: Thailand
Distribution: Fedora 12, Ubuntu 10.10
Posts: 166

Rep: Reputation: 29
If the system is booted using a ramdisk image, all changes will disappear after reboot.
Old 08-10-2012, 07:01 AM   #5
LQ Newbie
Registered: Jul 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
it is a RAM disk, thanks for help
Old 08-10-2012, 07:11 AM   #6
Senior Member
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 4,392

Rep: Reputation: 690Reputation: 690Reputation: 690Reputation: 690Reputation: 690Reputation: 690
with live-cd/live-usb iso's it is possible to loop mount them on a real filesystem. change config files or add the packages you want then roll it into a custom iso. but those changes would remain static (it wouldnt allow for real-time changes unless there was some persitent overlay option).

Last edited by schneidz; 08-10-2012 at 07:12 AM.


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
how to loading the device drivers dynamically while booting up the system manikumar086 Linux - Kernel 2 07-27-2011 01:26 AM
Changing device loading order and driver loading before X enygma Red Hat 2 10-18-2008 12:38 AM
LXer: Industrial-grade trouble ticketing system on Debian Etch LXer Syndicated Linux News 0 06-01-2008 05:00 PM
looking for an industrial/scientific system, 8 pci slots skullmunky Linux - Hardware 2 04-23-2007 05:23 PM
Setting X boot image, and loading image untwisted Linux - General 2 03-09-2004 07:40 PM

All times are GMT -5. The time now is 01:23 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration