site  contact  subhomenews

Xorriso not work with multisession DVD

July 20, 2009 — BarryK
I'm communicating with Thomas Schmitt, the author of Xorriso, and will send him a link to this post...

I can confirm tronkel's report. Using a DVD-R, that has always worked before, when the first session is saved, the first burn disappears. That is, we get the saved folder only visible.
However, at reboot 'vmlinuz' and the Syslinux files are seen -- therefore the first burn is visible at this stage -- so bootup starts. But, when the 'init' script mounts the optical disk only the saved session folder is visible.

The first burn, to a blank DVD-R, is done like this:

growisofs -speed=10 -Z /dev/sr0=pup4-417.iso

Where the ISO file just has these files in it (totalling 97MB):

boot.cat help.msg isolinux.bin logo.16 vmlinuz
boot.msg initrd.gz isolinux.cfg pup4-417.sfs zp417301.sfs


Now, at the first shutdown, the session is saved to a folder on the DVD, like this:

growisofs -M /dev/sr0 -D -R -quiet -new-dir-mode 0755 -graft-points -x /initrd/pup_rw/tmp -x /initrd/pup_rw/proc -x /initrd/pup_rw/sys -x /initrd/pup_rw/var -x /initrd/pup_rw/initrd -x /initrd/pup_rw/mnt 2009-07-19-11-27=/initrd/pup_rw

This will save files in folder '2009-07-19-11-27' on the DVD. When the DVD is mounted, the files of the first burn plus saved session folders should all be visible.

We have been using this multisession technique for a couple of years, and previously have not had any problem with the first burn and subsequent burns all being visible when mounted. I have always used DVD-R.

Examine DVD content
Puppy 417, DVD-R with one saved session:

# disktype /dev/sr0

--- /dev/sr0
Block device, size 187.8 MiB (196935680 bytes)
CD-ROM, 2 tracks, CDDB disk ID 0E050202
Track 1: Data track, 183.5 MiB (192413696 bytes)
ISO9660 file system
Volume name "ISOIMAGE"
Preparer "XORRISO-0.4.0 2009.06.28.090001, LIBISOBURN-0.4.0, LIBISOFS-0.6.21, LIBBURN-0.6.7"
Data size 96.93 MiB (101634048 bytes, 49626 blocks of 2 KiB)
El Torito boot record, catalog at 55
Bootable non-emulated image, starts at 49569, preloads 2 KiB
Platform 0x00 (x86), System Type 0x00 (Empty)
ISOLINUX boot loader
Track 2: Data track, 4.313 MiB (4521984 bytes)
ISO9660 file system
Volume name "ISOIMAGE"
Preparer "XORRISO-0.4.0 2009.06.28.090001, LIBISOBURN-0.4.0, LIBISOFS-0.6.21, LIBBURN-0.6.7"
Data size 3.992 MiB (4186112 bytes, 2044 blocks of 2 KiB)


I can mount the above DVD but this is all I see (folder only):

# ls /mnt/sr0
2009-07-20-12-12


DVD content, older Puppy, working multisession
Testing an older puppy that has cdrkit, in which DVD multisession works, here is what 'disktype' reports with one session saved:

# disktype /dev/sr0

--- /dev/sr0
Block device, size 189.0 MiB (198148096 bytes)
CD-ROM, 2 tracks, CDDB disk ID 0E050A02
Track 1: Data track, 183.5 MiB (192413696 bytes)
ISO9660 file system
Volume name "CDROM"
Application "MKISOFS ISO 9660/HFS FILESYSTEM BUILDER & CDRECORD CD-R/DVD CREATOR (C) 1993 E.YOUNGDALE (C) 1997 J.PEARSON/J.SCHILLING"
Data size 85.31 MiB (89456640 bytes, 43680 blocks of 2 KiB)
El Torito boot record, catalog at 26
Bootable non-emulated image, starts at 27, preloads 2 KiB
Platform 0x00 (x86), System Type 0x00 (Empty)
ISOLINUX boot loader
Track 2: Data track, 5.469 MiB (5734400 bytes)
ISO9660 file system
Volume name "CDROM"
Application "GENISOIMAGE ISO 9660/HFS FILESYSTEM CREATOR (C) 1993 E.YOUNGDALE (C) 1997-2006 J.PEARSON/J.SCHILLING (C) 2006-2007 CDRKIT TEAM"
Data size 5.457 MiB (5722112 bytes, 2794 blocks of 2 KiB)


I can mount the disk and see both original burn and the saved session:

# ls /mnt/sr0
2009-07-20-11-26 boot.msg isolinux.bin pup_394.sfs zdrv_394.sfs
boot.cat initrd.gz isolinux.cfg vmlinuz

Comments

Xorriso upgrade coming soon
Username: BarryK
UPDATE I have just received an email from Thomas. He has isolated the problem and will be uploading a new version soon, probably tomorrow. He says to wait for 'xorriso-0.4.0.pl01.tar.gz' and then test that. Xorriso home page: http://scdbackup.sourceforge.net/xorriso_eng.html


Tags: woof