On March 8, 2012 07:55:34 pm Thomas Schmitt wrote: > Hi, > > Ryan Braun wrote: > > > is there some kind of magic that needs to be done to the iso > > > > > >in order to be able cat squeeze.iso > /dev/sdb? > > Steve McIntyre wrote: > > -isohybrid-mbr syslinux/usr/lib/syslinux/isohdpfx.bin -partition_offset > > 16 > > Instead of syslinux/usr/lib/syslinux/isohdpfx.bin one may use the > original USB-stick-bootable ISO image. xorriso will copy up to 32 kB > from the given file into the start of the emerging new ISO image. > E.g: > > -isohybrid-mbr debian-6.0.4-i386-netinst.iso > > > Have a nice day :) > > Thomas Ok guys, having some trouble getting a working iso out of xorriso. It generates an iso, but there are some warnings. And virtualbox won't accept the end result iso as valid. But, mount -o loop will mount it just fine.. I think I pulled most of the necessary bits out of the .disk file with the original debian xorriso command. But am not sure about all the rock ridge/joliet notices xorriso spits out. xorriso -as mkisofs -r -V 'Debian 6.0.4 i386 1' -o /var/opt/newest.iso \ -J -isohybrid-mbr /home/ryan/debian-6.0.4-i386-kde-CD-1.iso -partition_offset \ -J -joliet-long -cache-inodes -b isolinux/isolinux.bin -c isolinux/boot.cat \ -no-emul-boot -boot-load-size 4 $MASTER xorriso -as mkisofs -r -V 'Debian 6.0.4 i386 1' -o /var/opt/newest.iso \ > -J -isohybrid-mbr /home/ryan/debian-6.0.4-i386-kde-CD-1.iso -partition_offset \ > -J -joliet-long -cache-inodes -b isolinux/isolinux.bin -c isolinux/boot.cat \ > -no-emul-boot -boot-load-size 4 $MASTER xorriso 0.5.6 : RockRidge filesystem manipulator, libburnia project. Drive current: -outdev 'stdio:/var/opt/newest.iso' Media current: stdio file, overwriteable Media status : is blank Media summary: 0 sessions, 0 data blocks, 0 data, 6742m free xorriso : WARNING : -volid text problematic as automatic mount point name xorriso : WARNING : -volid text does not comply to ISO 9660 / ECMA 119 rules xorriso : FAILURE : -as mkisofs: Unknown option '-partition_offset' xorriso : NOTE : -as mkisofs: Ignored option '-joliet-long' xorriso : NOTE : -as mkisofs: Ignored option '-cache-inodes' Added to ISO image: directory '/'='/var/opt/master' xorriso : UPDATE : 3796 files added in 1 seconds xorriso : UPDATE : 3796 files added in 1 seconds xorriso : NOTE : Tolerated problem event of severity 'FAILURE' xorriso : NOTE : Copying to System Area: 32768 bytes from file '/home/ryan/debian-6.0.4-i386-kde-CD-1.iso' xorriso : NOTE : Tolerated problem event of severity 'FAILURE' libisofs: WARNING : Can't add /debian to Joliet tree. Symlinks can only be added to a Rock Ridget tree. libisofs: WARNING : Can't add /dists/stable to Joliet tree. Symlinks can only be added to a Rock Ridget tree. libisofs: WARNING : Can't add /doc/FAQ/html/ch-basic_defs.html to Joliet tree. Symlinks can only be added to a Rock Ridget tree. libisofs: WARNING : Can't add /doc/FAQ/html/ch-choosing.html to Joliet tree. Symlinks can only be added to a Rock Ridget tree. libisofs: WARNING : Can't add /doc/FAQ/html/ch-compat.html to Joliet tree. Symlinks can only be added to a Rock Ridget tree. libisofs: WARNING : Can't add /doc/FAQ/html/ch-contributing.html to Joliet tree. Symlinks can only be added to a Rock Ridget tree. libisofs: WARNING : Can't add /doc/FAQ/html/ch-customizing.html to Joliet tree. Symlinks can only be added to a Rock Ridget tree. libisofs: WARNING : Can't add /doc/FAQ/html/ch-faqinfo.html to Joliet tree. Symlinks can only be added to a Rock Ridget tree. libisofs: WARNING : Can't add /doc/FAQ/html/ch-ftparchives.html to Joliet tree. Symlinks can only be added to a Rock Ridget tree. libisofs: WARNING : Can't add /doc/FAQ/html/ch-getting.html to Joliet tree. Symlinks can only be added to a Rock Ridget tree. libisofs: WARNING : Can't add /doc/FAQ/html/ch-kernel.html to Joliet tree. Symlinks can only be added to a Rock Ridget tree. libisofs: WARNING : Can't add /doc/FAQ/html/ch-nexttime.html to Joliet tree. Symlinks can only be added to a Rock Ridget tree. libisofs: WARNING : Can't add /doc/FAQ/html/ch-pkg_basics.html to Joliet tree. Symlinks can only be added to a Rock Ridget tree. libisofs: WARNING : Can't add /doc/FAQ/html/ch-pkgtools.html to Joliet tree. Symlinks can only be added to a Rock Ridget tree. libisofs: WARNING : Can't add /doc/FAQ/html/ch-redistrib.html to Joliet tree. Symlinks can only be added to a Rock Ridget tree. libisofs: WARNING : Can't add /doc/FAQ/html/ch-software.html to Joliet tree. Symlinks can only be added to a Rock Ridget tree. libisofs: WARNING : Can't add /doc/FAQ/html/ch-support.html to Joliet tree. Symlinks can only be added to a Rock Ridget tree. libisofs: WARNING : Can't add /doc/FAQ/html/ch-uptodate.html to Joliet tree. Symlinks can only be added to a Rock Ridget tree. libisofs: WARNING : Can't add /doc/FAQ/html/footnotes.html to Joliet tree. Symlinks can only be added to a Rock Ridget tree. libisofs: WARNING : Can't add /doc/FAQ/html/index.html to Joliet tree. Symlinks can only be added to a Rock Ridget tree. xorriso : UPDATE : 1.24% done xorriso : UPDATE : 1.24% done xorriso : UPDATE : 4.97% done xorriso : UPDATE : 8.70% done, estimate finish Thu Mar 22 20:52:47 2012 xorriso : UPDATE : 12.43% done, estimate finish Thu Mar 22 20:52:47 2012 xorriso : UPDATE : 14.92% done, estimate finish Thu Mar 22 20:52:49 2012 xorriso : UPDATE : 16.75% done, estimate finish Thu Mar 22 20:52:52 2012 xorriso : UPDATE : 19.89% done, estimate finish Thu Mar 22 20:52:52 2012 xorriso : UPDATE : 23.18% done, estimate finish Thu Mar 22 20:52:52 2012 xorriso : UPDATE : 25.97% done, estimate finish Thu Mar 22 20:52:53 2012 xorriso : UPDATE : 28.60% done, estimate finish Thu Mar 22 20:52:53 2012 xorriso : UPDATE : 32.33% done, estimate finish Thu Mar 22 20:52:53 2012 xorriso : UPDATE : 36.06% done, estimate finish Thu Mar 22 20:52:52 2012 xorriso : UPDATE : 39.79% done, estimate finish Thu Mar 22 20:52:52 2012 xorriso : UPDATE : 43.44% done, estimate finish Thu Mar 22 20:52:52 2012 xorriso : UPDATE : 47.25% done, estimate finish Thu Mar 22 20:52:51 2012 xorriso : UPDATE : 50.98% done, estimate finish Thu Mar 22 20:52:51 2012 xorriso : UPDATE : 54.71% done, estimate finish Thu Mar 22 20:52:51 2012 xorriso : UPDATE : 58.44% done, estimate finish Thu Mar 22 20:52:51 2012 xorriso : UPDATE : 62.17% done, estimate finish Thu Mar 22 20:52:50 2012 xorriso : UPDATE : 65.70% done, estimate finish Thu Mar 22 20:52:50 2012 xorriso : UPDATE : 68.59% done, estimate finish Thu Mar 22 20:52:50 2012 xorriso : UPDATE : 72.67% done, estimate finish Thu Mar 22 20:52:50 2012 xorriso : UPDATE : 77.09% done, estimate finish Thu Mar 22 20:52:49 2012 xorriso : UPDATE : 80.82% done, estimate finish Thu Mar 22 20:52:50 2012 xorriso : UPDATE : 85.79% done, estimate finish Thu Mar 22 20:52:48 2012 xorriso : UPDATE : 89.52% done, estimate finish Thu Mar 22 20:52:48 2012 xorriso : UPDATE : 93.25% done xorriso : UPDATE : 96.38% done xorriso : UPDATE : 98.77% done ISO image produced: 658681 sectors Written to media : 658848 sectors at LBA 32 Writing to 'stdio:/var/opt/newest.iso' completed sucessfully. xorriso : NOTE : -return_with SORRY 32 triggered by problem severity FAILURE FWIW I'm building this image on ubuntu maverick, not sure if there is a version difference xorriso between the two that matters. root@infinity:/var/opt/master/.disk# file /home/ryan/debian-6.0.4-i386-kde-CD-1.iso /home/ryan/debian-6.0.4-i386-kde-CD-1.iso: # ISO 9660 CD-ROM filesystem data 'Debian 6.0.4 i386 1 ' (bootable) -- Ryan Braun Aviation and Defence Services Division Chief Information Officer Branch, Environment Canada CIV: 204-833-2500x2625 CSN: 257-2625 FAX: 204-833-2558 E-Mail: Ryan.Braun@ec.gc.ca |