{"id":29,"date":"2010-08-23T22:06:26","date_gmt":"2010-08-23T22:06:26","guid":{"rendered":"https:\/\/kristau.net\/blog\/?p=29"},"modified":"2010-08-23T22:06:26","modified_gmt":"2010-08-23T22:06:26","slug":"quick-and-relatively-easy-srcdclonezilla-hybrid-usb-stick","status":"publish","type":"post","link":"https:\/\/kristau.net\/blog\/29\/","title":{"rendered":"Quick and (Relatively) Easy SRCD\/Clonezilla Hybrid USB Stick"},"content":{"rendered":"<p>So you want one <span class=\"caps\">USB<\/span> Flash stick to boot the latest versions of both <a title=\"SRCD\" href=\"http:\/\/www.sysresccd.org\/Main_Page\">System Rescue CD<\/a> and <a href=\"http:\/\/clonezilla.org\/clonezilla-live\/\">Clonezilla-Live<\/a>? So did I! Easy, I thought, just use <a href=\"http:\/\/unetbootin.sourceforge.net\/\">UNetbootin<\/a> to create each one in turn, copying the files between runs, then merge them together. Well, it wasn\u2019t that easy.<\/p>\n<p>First off, Clonezilla (1.2.5-35) installs just fine via UNetbootin, but the latest <span class=\"caps\">SRCD<\/span> (1.5.8) does not. I noticed, however, that <span class=\"caps\">SRCD<\/span> now includes an installer script called <strong>usb_inst.sh<\/strong> which essentially does the same thing UNetbootin does. Here are the steps I followed to get them both crammed on to one 1 GB <span class=\"caps\">USB<\/span> flash stick (with about 608 MB spare space):<\/p>\n<ol>\n<li>Install <span class=\"caps\">SRCD<\/span> to the <span class=\"caps\">USB<\/span> stick using the <strong>usb_inst.sh<\/strong> script.<\/li>\n<li>Boot to the <span class=\"caps\">USB<\/span> stick to verify it worked OK.<\/li>\n<li>Install Clonezilla to the same <span class=\"caps\">USB<\/span> stick with UNetbootin. Be sure to <span class=\"caps\">NOT<\/span> overwrite the files when it prompts you to do so.<\/li>\n<li>Boot to the <span class=\"caps\">USB<\/span> stick to make sure it still works for <span class=\"caps\">SRCD<\/span>. At this point, Clonezilla will <span class=\"caps\">NOT<\/span> show up in the boot menus.<\/li>\n<li>Remove the first few lines from the top of <strong>\/syslinux.cfg<\/strong>, stopping at the blank line before the first \u201clabel\u201d line.<\/li>\n<li>Merge the <strong>\/syslinux\/syslinux.cfg<\/strong> and <strong>\/syslinux.cfg<\/strong> files with <em>cat \/syslinux.cfg &gt;&gt; \/syslinux\/syslinux.cfg<\/em> does the trick. Be sure to append <strong>\/syslinux.cfg<\/strong> at the end of <strong>\/syslinux\/syslinux.cfg<\/strong><\/li>\n<li>Boot to the <span class=\"caps\">USB<\/span> stick several times and verify you can start up each of the menu items successfully.<\/li>\n<\/ol>\n<p>Note that the only reason this works is that the <span class=\"caps\">SRCD<\/span> install script uses that <strong>\/syslinux<\/strong> subfolder for its boot menus, and that both are using similar boot techniques. If the <span class=\"caps\">SRCD<\/span> and UNetbootin scripts continue to configure themselves like this, then this method should work for future version, too.<\/p>\n<p>For my next challenge. . . cram BackTrack, <span class=\"caps\">SRCD<\/span> and Clonezilla on a 4 GB <span class=\"caps\">USB<\/span> Flash stick!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So you want one USB Flash stick to boot the latest versions of both System Rescue CD and Clonezilla-Live? So did I! Easy, I thought, just use UNetbootin to create each one in turn, copying the files between runs, then merge them together. Well, it wasn\u2019t that easy. First off, Clonezilla (1.2.5-35) installs just fine [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,7],"tags":[56,97,244,191,195,202],"class_list":["post-29","post","type-post","status-publish","format-standard","hentry","category-linux","category-technology","tag-clonezilla","tag-hints-tips-tricks","tag-linux","tag-system-rescue-cd","tag-technology-2","tag-unetbootin"],"_links":{"self":[{"href":"https:\/\/kristau.net\/blog\/wp-json\/wp\/v2\/posts\/29","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kristau.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kristau.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kristau.net\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/kristau.net\/blog\/wp-json\/wp\/v2\/comments?post=29"}],"version-history":[{"count":0,"href":"https:\/\/kristau.net\/blog\/wp-json\/wp\/v2\/posts\/29\/revisions"}],"wp:attachment":[{"href":"https:\/\/kristau.net\/blog\/wp-json\/wp\/v2\/media?parent=29"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kristau.net\/blog\/wp-json\/wp\/v2\/categories?post=29"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kristau.net\/blog\/wp-json\/wp\/v2\/tags?post=29"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}