Ian Melnick wrote:I'd like to use a "live" cd and be able to save my stuff to it without requiring a separate medium. What I'd like to happen is partition a cd-rw so that the first part is from the iso that I'd download from somewhere, and the second part would be a writable filesystem (udf?) that I'd be able to mount as /home.
First of all, given the speed that these things write/read at, is this idea realistic/possible?
I know you said "without requiring a separate medium", but wouldnt an easier solution be a USB keyring drive for /home, /etc and other volotile files rather than what you are suggesting. I know its not what your asking, but it does go a long way towards whay you are trying to achieve.
You speed issues with RW-CD would no longer be a problems as the CD can be RO from the start
I checked the CD-Recordable FAQ [1], as I didn't quite know about this either. But I'm still not entirely sure what the correct way to do this is, or the correct terminology.
You don't want to rewrite the entire disk every time; just your changes.
Since there are no other takers, I'll tell you what I got out of it.
So first, I think you want to write the boot image as the first session, and then close that session.
The problem is that when you mount the disk, as I understand it, you will only get the last session written.
The FAQ describes later sessions linking to files in previous sessions:
"Most of the popular CD creation programs allow you to "link" one or more earlier sessions to the session currently being burned. This allows the files from the previous sessions to appear in the last session without taking up any additional space on the CD (except for the directory entry). You can also "remove" or "replace" files, by putting a newer version into the last session, and not including a link to the older version [2]."
So what you need to do, I gather, is include the files for /home in a later session. And then always "link" the files from the first session as /.
When it's time to save changes, then use the cdrecord "blank=session" option to blank the previous session, and rewrite it including the links, and including the newer files.
Can anyone tell us whether we are on the right track here?
[1] http://www.cdrfaq.org/ [2] http://www.cdrfaq.org/faq02.html#S2-5
dircha
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]