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. Forum Thread

Once a disc becomes full a new one may be created containing all the latest settings and configuration from the old one.

Using Microsoft Windows
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 CDBurnerXP∞.

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:

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



Using Linux
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:

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/



Categories
CategoryInstallation
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki