Mon Apr 07, 2014 6:38 pm
Sat May 31, 2014 2:25 pm
wget http://www.gnu.org/software/xorriso/xorriso-1.3.6.pl01.tar.gz
tar -zxvf xorriso-1.3.6.pl01.tar.gz
cd xorriso-1.3.6
./configure --prefix=/usr
make
make install
/usr/bin/refractasnapshot-gui
refractasnapshot_configuration () {
work_iso=${work_iso:="/home/work/iso"}
isohybrid_mbr=${isohybrid_mbr:="/usr/lib/syslinux/isohdpfx.bin"} }
# create the iso file, put either a number or date/time in the filename
# create md5sum file for the iso
# genisoimage -r -J -l -D -o "$snapshot_dir"/"$filename" -cache-inodes \
# -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 \
# -boot-info-table -allow-limited-size iso/ | tee >($DIALOG --title="Creating CD/DVD image file..." --progress --pulsate --width 300)
xorriso -as mkisofs -D -r -J -l -o "$snapshot_dir"/"$filename" \
-b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 \
-isohybrid-mbr "$isohybrid_mbr" -partition_offset 16 \
-boot-info-table "$work_iso"/ | tee >($DIALOG --title="Creating CD/DVD image file..." --progress --pulsate --width 300)
home/snapshot# fdisk -l -u *.iso
Disk snapshot-20140530_1042.iso: 766 MB, 766509056 bytes
64 heads, 32 sectors/track, 731 cylinders, total 1497088 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x3e6ec0a5
Device Boot Start End Blocks Id System
snapshot-20140330_1042.iso1 * 64 1497087 748544 17 Hidden HPFS/NTFS
Sat May 31, 2014 4:12 pm
Sat May 31, 2014 4:45 pm
dzz wrote:@J.T.Kirk:
Your suggestion to use xorriso (as does live-build) was noted. Thanks for the code, however you might have missed this current discussion, resulting in a new snapshot version.:
new-versions-of-installer-and-snapshot-9-1-x-for-sid-t383-20.html
If you have time to look and maybe test, that would help. The change is similar to your code suggestion except xorriso has a Debian package (no need to install from source) and $isohybrid_mbr resides in a different place in newer syslinux (requiring a version test)
https://packages.debian.org/sid/syslinux