Wiki source for MultiSessionLiveDVD


Show raw source

===How to Create a Multi-session LiveDVD===

Creating a disc that is multi-session is desirable when one wishes data to be //saved to the same live DVD// that one has booted from. This means that one can carry an operating system and personal files //all on one optical disc//.

A multi-session optical disc is only created if it is specifically written to as 'open'. Being 'open' means that future, persistent data can be saved onto the same disc as opposed to some //other// additional partition on a hard disc drive or flash memory drive. [[http://murga-linux.com/puppy/index.php?f=6 Forum Thread]]

Once a disc becomes full [[http://www.murga-linux.com/puppy/viewtopic.php?p=539158#539158 a new one may be created containing all the latest settings and configuration from the old one]].

=={{color text="Using Microsoft Windows" c="black"}}==
Not all CD/DVD burning programs designed for Microsoft Windows provide the option to burn (write) in multi-session mode. One that does is the free ""<a href="http://www.cdburnerxp.se/" class="ext" title="www.cdburnerxp.se">CDBurnerXP</a>∞"".

__Use this program for creating a multi-session live CD only__. However, it is recommended to use //DVD+R media// for the creation of a multi-session optical disc. DVD has a superior specification than CD. DVD+R is superior than other DVD formats in terms of its archival capacity. Therefore the only circumstance under which one should use ""CDBurnerXP"" to burn a CD-R would be if one's optical drive is not a DVD rewriter. The following instructions are for such a situation:
- Download and install ""CDBurnerXP"". [[http://www.filehippo.com/download_cdburnerxp/581/ Version 3]] does not require [[http://www.filehippo.com/download_dotnet_framework_3/ Microsoft .NET Framework]] to be installed. Later versions do. Launch ""CDBurnerXP"" whereupon a dialog box opens which is the start-up screen ([[http://www.simplehelp.net/2007/09/11/how-to-burn-an-iso-file-in-windows/ older start-up screen]], [[http://www.cdburnerxp.se/help/ newer start-up screen]] - varies depending on software version)
- select the option that refers to burning an ISO image
- From the File menu select //Write Disk from ISO file...//
- Select a low writing speed, e.g. 4x
- Ensure that //Finalize Disc// is __not__ ticked
- Click //Write Disc//

__Do not use ""CDBurnerXP"" to create a multi-session live DVD__. To record to DVD a running Linux distribution (operating system) is required because one //absolutely must// use [[http://linuxcommand.org/man_pages/growisofs1.html growisofs]] (combined mkisofs frontend/DVD recording program) to perform the recording. The ""Burniso2cd"" program in Puppy Linux makes use of ""growisofs"".

__In summary, for //all// Microsoft Windows users, the recommended course of action is__:
""
<br />
<ul>
<li><font color="#800080">First <a href="http://puppylinux.org/wikka/LiveDVD">create a Puppy <b>non</b>-multi-session live disc</a> using <b><a href="http://www.terabyteunlimited.com/downloads-free-software.htm">BurnCDCC</a></b>. In this instance any type of disc is suitable.<br />
</font></li>
</ul>
<ul>
<li><font color="#800080">Then use this newly created disc to boot into Puppy Linux so as to create a <i>new</i>, multi-session one using <b>Burniso2cd</b> (as shown above). This is possible even if one only has one optical disc drive since remember that Puppy Linux runs completely in R.A.M. and so the first live disc (the non-multi-session one) <i>can be removed from the optical disc drive</i> and replaced with a blank DVD+R for the creation of a <i>multi-session</i> live disc.
</font></li>
</ul>""

=={{color text="Using Linux" c="black"}}==
Puppy Linux has been a pioneer of the multi-session live DVD. To create a multi-session disc use the ""Burniso2cd"" program within Puppy Linux. This program will only write the ISO image to a __blank disc__, i.e. the disc is either new, or, as in the case of a re-writable disc, it has been erased first using the Pburn program.

To start Pburn, within Puppy Linux go to: //Menu > Multimedia > Pburn//

To start ""Burniso2cd"":
~-within Puppy Linux go to: //Menu > Multimedia > ""Burniso2cd""//
~-via the command-line interface: %%burniso2cd%%

__Erasing a disc using Pburn__
Start Pburn; go to //Burn > Blank CD/DVD//; click //Blank disc// tab; select type of erasure //Fast blank// and select type of disc media; click //Burner device// tab and select your burner device (drive) that contains the disc to be erased, and un-check //Eject disc after burn//; click //Burn// button to commence erasing.

__Writing an ISO image to disc using ""Burniso2cd""__
Start ""Burniso2cd""; select the disc type, CD or DVD, that has been placed in the drive; then select the optical disc drive that contains the disc; and then navigate to the location of the relevant ISO file so as to select it. The ""Burniso2cd"" program will write the ISO image file to the optical disc. Leave the disc in the drive and re-start the computer.

When using ""Burniso2cd"" with an optical disc it is always burnt "open", i.e. the option whether to burn as closed or open is not offered. This disc can become either a multi-session Puppy live DVD or a non-multi-session one. This option is offered when one first boots the newly written disc and subsequently proceeds to shutdown for the first time: one will be asked where one will want one's personal data to be saved, either on the DVD or on some other partition, wherever that may be. The irreversible decision one makes here is what determines whether the disc is permanently set as multi-session or not. So if one wants a multi-session disc choose that personal data and session settings be saved to the optical disc only, i.e. select **//Save to CD//**, and not //Save to file// (the default option). Subsequently, each time one proceeds to shutdown at the end of a session, the option to save or discard that session is provided.

For CD-R/RW media the situation is different. The option //is// offered whether to burn as closed or open; so if one wants a multi-session CD-R/RW then one must choose to burn an 'open' disc. However, using a CD is less reliable at saving sessions at shutdown than using a DVD+R, another reason not to use CD for creating a live disc.


===Appendix 1===
%%CDR=/dev/sr0
xorriso \
-report_about warning \
-dev "$CDR" \
-compliance deep_paths:long_paths \
-pathspecs as_mkisofs \
-not_paths \
/initrd/pup_rw/tmp /initrd/pup_rw/proc /initrd/pup_rw/sys \
/initrd/pup_rw/var /initrd/pup_rw/initrd /initrd/pup_rw/mnt \
/initrd/pup_rw/run ${xREMSFS} \
-- \
-add ${MYDATE}=/initrd/pup_rw -- \
-zisofs level=8:block_size=64k \
-find / -type f -pending_data -exec set_filter --zisofs -- \
-fs 32m \
2> /tmp/dvderr.txt%%


===References===
https://bkhome.org/news/202011/disable-drives-for-multisession-easypup.html
https://bkhome.org/news/202011/multisession-dvd-with-zisofs-compression.html
https://bkhome.org/news/202011/multi-session-dvd-still-highly-relevant.html
https://bkhome.org/archive/puppylinux/multi-puppy.htm
http://www.murga-linux.com/puppy/viewtopic.php?t=47416
http://www.murga-linux.com/puppy/viewtopic.php?p=348158&search_id=774806811#348158
http://www.murga-linux.com/puppy/viewtopic.php?t=51567
http://www.murga-linux.com/puppy/viewtopic.php?p=380764#380764
http://www.murga-linux.com/puppy/viewtopic.php?t=59173
https://dev.lovelyhq.com/libburnia/web/wiki
https://www.gnu.org/software/xorriso/

{{nocomments}}
----
==Categories==
CategoryInstallation
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki