LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-22-2012, 03:13 PM   #1
ylang
Member
 
Registered: Sep 2012
Posts: 45

Rep: Reputation: Disabled
Is there any linux distro that can write to media to which it is installed


I need an os. that boots up and when I shut down it should write the changes to the media from which it is running.
 
Old 09-22-2012, 03:16 PM   #2
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
as long as the medium isn't read-only by nature (optical drives for instance), then any distribution, installed properly can do this.
 
Old 09-22-2012, 03:27 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
I need an os. that boots up and when I shut down it should write the changes to the media from which it is running.
Every installed OS weather it is Linux , Microsoft , or Apple dose this as part of the NORMAL operating procedure

it IS HOW as computer OS works
 
Old 09-23-2012, 08:30 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,321
Blog Entries: 28

Rep: Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140
It sounds as if you are talking about booting to removable media, rather than a hard disk.

This link should help if I guessed correctly: http://linuxathena.com/tutorials/boo...ve-unetbootin/
 
Old 09-24-2012, 08:29 AM   #5
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939
When a system boots, say, using the GRUB boot-loader, then the majority of the boot-time software (including most of GRUB itself) is located in "an ordinary directory on the hard drive." The kernel is also found there, and the boot-loader knows how to navigate the file-system to find it. Although it is customary best-practice to make those files (and often, the entire /boot branch) read-only, those areas can still be writable. Furthermore, although it is frequently the case that areas such as /usr may correspond to other partitions on a multi-partitioned media ... again, there is no physical requirement for this to be so.

You could easily organize your boot-media so that it contains the customary-and-protected boot-folder and, on the very same media, other read/write areas of the file system to which any application may read or write at any time.

When you "shut down the system," what actually happens is that the system switches to a different "run level." (See man inittab e.g.) When this happens, init/systemd begins to execute a prescribed series of programs, the cumulative effect is to shut the system down in an organized fashion. (There's a lot of detail here that I won't go into now ...) But, if you want particular things to be-sure-to happen as you shut the machine down, this is the place and the method by which to do it. On any Unix/Linux system. You can precisely determine what happens and in what sequence it happens.

Look at: man service.
 
Old 09-24-2012, 09:38 AM   #6
ylang
Member
 
Registered: Sep 2012
Posts: 45

Original Poster
Rep: Reputation: Disabled
Frankbell,yes I wanted to know if I could save to removable media like rewritable CD-ROM
 
Old 09-24-2012, 10:00 AM   #7
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
flash drives, yes, but unfortunately rewritable cd-rom isn't random access, it has to be erased before re-writing, so i highly doubt that would be practical (theoretically possible yes, but horribly impractical)
 
Old 09-24-2012, 11:19 AM   #8
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Well, what about a multi-session DVD ? That might work, but it doesn't make much sense to do so. I mean it wouldn't work like you think it would. You would have to append a session with some files, but it wouldn't change the first session.
 
  


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
Best Linux distro for removable media cmas1148 Linux - General 5 01-16-2011 05:05 PM
Which Linux Distro's come with Windows Media Support upon Boot? john biles Linux - General 2 10-09-2006 07:47 PM
Need a linux distro for media server/downloader ydgmms Linux - Distributions 2 01-02-2006 01:18 PM
Linux installation media has no write permission to Ultra-Wide SCSI2 array?? halo14 Linux - Hardware 3 04-04-2005 03:29 PM
Linux Media Center Distro? sloik2000 Linux - Distributions 4 02-20-2005 12:48 PM

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

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