Ask your questions here.
Post a reply
fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## Re: Snapshot Wheezy don't build isohybrid

Mon Apr 07, 2014 6:38 pm

Well, that's working the same as here. I don't know why the script dies for you at that point. (the dbus error is unrelated. I get the exact same one.)
J.T.Kirk

- J.T.Kirk
- Posts: 32
- Joined: Tue Sep 11, 2012 3:42 pm

## Re: Snapshot Wheezy don't build isohybrid

Sat May 31, 2014 2:25 pm

Hi all
I write some lines of bash, for adding to Snapshot, possibility of create in the first instance
Livecd isohybrid.
First: update xorriso to version 1.3.6

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

In the file:

Code:
  `/usr/bin/refractasnapshot-gui
  `

Add in section:

Code:
  `refractasnapshot_configuration () {
  work_iso=${work_iso:="/home/work/iso"}
  isohybrid_mbr=${isohybrid_mbr:="/usr/lib/syslinux/isohdpfx.bin"} }
  `

Replace this codes:

Code:
  `# 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)
  `

With this:

Code:
  `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)
  `

The final result:

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

Try the code and report if it works.
Regards
dzz

- dzz
- Posts: 647
- Joined: Wed Apr 27, 2011 11:53 am
- Location: Devon, England

## Re: Snapshot Wheezy don't build isohybrid

Sat May 31, 2014 4:12 pm

@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)
J.T.Kirk

- J.T.Kirk
- Posts: 32
- Joined: Tue Sep 11, 2012 3:42 pm

## Re: Snapshot Wheezy don't build isohybrid

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)

Yes, I missed this discussion.
Yes, in Sid, the version of syslinux is last version:

Code:
  `https://packages.debian.org/sid/syslinux
  `

My few lines bash codes is for all user of Squeeze and Snapshot Refracta!
Ok, thank!
Regards
Post a reply
Jump to:

Powered by phpBB © phpBB Group.

phpBB Mobile / SEO by Artodia.