LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
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.

Notices

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

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


Hello,
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:
Code:
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
jefro
Guru
 
Registered: Mar 2008
Posts: 11,526

Rep: Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404
"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
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,395
Blog Entries: 2

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
The root filesystem is a RAM disk:
Code:
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
cnxsoft
Member
 
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
drabpol
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
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 4,004

Rep: Reputation: 624Reputation: 624Reputation: 624Reputation: 624Reputation: 624Reputation: 624
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.
 
  


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
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 07:02 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