{"id":266,"date":"2009-02-12T22:54:43","date_gmt":"2009-02-13T03:54:43","guid":{"rendered":"https:\/\/lowtek.ca\/roo\/?p=266"},"modified":"2019-12-07T10:21:36","modified_gmt":"2019-12-07T14:21:36","slug":"k3b-burn-baby-burn","status":"publish","type":"post","link":"https:\/\/lowtek.ca\/roo\/2009\/k3b-burn-baby-burn\/","title":{"rendered":"K3B &#8211; Burn Baby Burn"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft\" style=\"margin-left: 4px; margin-right: 4px;\" title=\"K3B icon\" src=\"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/4\/44\/Crystal_128_k3b.png\" alt=\"\" width=\"128\" height=\"128\" \/> At work, I primarily use a Windows based environment, but my home desktop is <a href=\"http:\/\/www.ubuntu.com\/\">Ubuntu<\/a>.\u00a0 I did tinker for a while using Linux on my work laptop but found that the power management was temperamental and for my usage pattern the laptop has to sleep (and wake) predictably or its not useful.<\/p>\n<p>Of course, my Ubuntu desktop isn&#8217;t the only machine at home.\u00a0 Jenn&#8217;s got a Mac, and there are various Linux boxes and a host of other devices (<a href=\"http:\/\/en.wikipedia.org\/wiki\/Squeezebox_(network_music_player)\">squeezebox<\/a>, etc) all on the network.\u00a0 Really the network is much more important than the actual desktop you are using since mostly we&#8217;re talking about web and email access.\u00a0 The network centric approach falls down when you want to do something like burn a DVD, then the machine matters.<\/p>\n<p>Ubuntu comes with a nice set of built in tools\u00a0 &#8211; but I wasn&#8217;t satisfied with the standard ones.\u00a0 It didn&#8217;t take me long to come across <a href=\"http:\/\/en.wikipedia.org\/wiki\/K3b\">K3B<\/a> and I haven&#8217;t looked back since.\u00a0 The user interface is intuitive, and I haven&#8217;t managed to make a <a href=\"http:\/\/www.windowsdevcenter.com\/pub\/a\/oreilly\/windows\/news\/pchardnut_0900.html\">coaster<\/a> yet.<\/p>\n<p>Just today I found myself needing to burn a Mac OSX <a href=\"http:\/\/en.wikipedia.org\/wiki\/Apple_Disk_Image\">.dmg<\/a> file.\u00a0 Now K3B doesn&#8217;t handle .dmg natively.\u00a0 So the first thing we need to do is convert the .dmg file into an <a href=\"http:\/\/en.wikipedia.org\/wiki\/ISO_image\">.iso<\/a> &#8216;like&#8217; file.\u00a0 There was a <a href=\"http:\/\/ubuntuforums.org\/showthread.php?t=343808\">handy thread<\/a> that discussed exactly this problem and pointed at <a href=\"http:\/\/blinkenlights.ch\/gnupod\/dmg2iso.pl\">dmg2iso.pl<\/a>.\u00a0 The perl version works fine from my testing, but will fail with large .dmg files.\u00a0 The solution is<a href=\"http:\/\/hem.bredband.net\/catacombae\/dmgx.html\"> DMGExtractor<\/a>, a java implementation that does the same conversion work.<\/p>\n<p>Once you have converted the file &#8211; you might simply want to take a look at it without burning a CD or DVD.\u00a0 This is easy under Linux.<\/p>\n<p><code>sudo mount -t hfsplus -o loop test.iso \/mnt<\/code><\/p>\n<p>The same trick can be used with normal iso9660 format files by using <code>-t iso9660<\/code> as the type.<\/p>\n<p>Now its time to burn a DVD with our converted .iso like file.\u00a0 K3B will dutifully check the format of this .iso file and report that it is not actually an iso9660 format file, but we know from mounting it that it is a valid filesystem in the hfsplus format.\u00a0 K3B will let you still burn the DVD using this non-iso9660 file with a well worded warning that it can&#8217;t promise this will work but that there are valid formats that K3B doesn&#8217;t know about.<\/p>\n<p>The resulting DVD works fine on the Mac &#8211; K3B hasn&#8217;t let me down yet.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>At work, I primarily use a Windows based environment, but my home desktop is Ubuntu.\u00a0 I did tinker for a while using Linux on my work laptop but found that the power management was temperamental and for my usage pattern the laptop has to sleep (and wake) predictably or its not useful. Of course, my &hellip; <a href=\"https:\/\/lowtek.ca\/roo\/2009\/k3b-burn-baby-burn\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;K3B &#8211; Burn Baby Burn&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-266","post","type-post","status-publish","format-standard","hentry","category-computing"],"_links":{"self":[{"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/posts\/266","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/comments?post=266"}],"version-history":[{"count":2,"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/posts\/266\/revisions"}],"predecessor-version":[{"id":1670,"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/posts\/266\/revisions\/1670"}],"wp:attachment":[{"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/media?parent=266"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/categories?post=266"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/tags?post=266"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}