<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-1400765799263079238.post18770804355836822..comments</id><updated>2010-10-15T03:55:00.080-04:00</updated><category term='linux'/><category term='globaljam'/><category term='Windows integration'/><category term='openweek'/><category term='QA'/><category term='photography'/><category term='books'/><category term='community'/><category term='developerweek'/><category term='logiciel libre'/><category term='monitoring'/><category term='canonical'/><category term='networking'/><category term='advocacy'/><category term='free software'/><category term='cisco'/><category term='social networking'/><category term='commands'/><category term='opensource'/><category term='ubuntu-qc'/><category term='planet-ubuntu'/><category term='launchpad'/><category term='ubuntu'/><category term='testing'/><category term='hardware'/><category term='motu'/><title type='text'>Comments on Matt's blog: Booting to ISO images from a USB key</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.cyphermox.net/feeds/18770804355836822/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1400765799263079238/18770804355836822/comments/default'/><link rel='alternate' type='text/html' href='http://blog.cyphermox.net/2010/10/booting-to-iso-images-from-usb-key.html'/><author><name>cyphermox</name><uri>http://www.blogger.com/profile/10138570513134453565</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-gDEZH5Re6fs/TZO1GyFqSCI/AAAAAAAABOg/PUvniy4sNaw/s220/clean_face_192.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>9</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1400765799263079238.post-4127285224568608834</id><published>2010-10-15T03:55:00.080-04:00</published><updated>2010-10-15T03:55:00.080-04:00</updated><title type='text'>OK, sorry, I should have looked further on the &amp;qu...</title><content type='html'>OK, sorry, I should have looked further on the &amp;quot;BIOS&amp;quot; error, using &amp;quot;--recheck&amp;quot; seems to help that, however now I get a grub shell and no menu. I have two iso&amp;#39;s in the folder, and a sensible looking grub.cfg</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1400765799263079238/18770804355836822/comments/default/4127285224568608834'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1400765799263079238/18770804355836822/comments/default/4127285224568608834'/><link rel='alternate' type='text/html' href='http://blog.cyphermox.net/2010/10/booting-to-iso-images-from-usb-key.html?showComment=1287129300080#c4127285224568608834' title=''/><author><name>Graham</name><uri>http://www.blogger.com/profile/05397625066137441836</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.cyphermox.net/2010/10/booting-to-iso-images-from-usb-key.html' ref='tag:blogger.com,1999:blog-1400765799263079238.post-18770804355836822' source='http://www.blogger.com/feeds/1400765799263079238/posts/default/18770804355836822' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1654848749'/></entry><entry><id>tag:blogger.com,1999:blog-1400765799263079238.post-8744458845322335666</id><published>2010-10-14T10:54:22.554-04:00</published><updated>2010-10-14T10:54:22.554-04:00</updated><title type='text'>I just tried this and got a message: &amp;quot;/dev/sd...</title><content type='html'>I just tried this and got a message: &amp;quot;/dev/sdb does not have any corresponding BIOS drive.&amp;quot; after the grub-install stage.&lt;br /&gt;&lt;br /&gt;Any ideas what the problem may be? I now have a boot/grub folder with a single file, device.map, with a single line, &amp;quot;(fd0)   /dev/fd0&amp;quot; - nothing else.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1400765799263079238/18770804355836822/comments/default/8744458845322335666'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1400765799263079238/18770804355836822/comments/default/8744458845322335666'/><link rel='alternate' type='text/html' href='http://blog.cyphermox.net/2010/10/booting-to-iso-images-from-usb-key.html?showComment=1287068062554#c8744458845322335666' title=''/><author><name>Graham</name><uri>http://www.blogger.com/profile/05397625066137441836</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.cyphermox.net/2010/10/booting-to-iso-images-from-usb-key.html' ref='tag:blogger.com,1999:blog-1400765799263079238.post-18770804355836822' source='http://www.blogger.com/feeds/1400765799263079238/posts/default/18770804355836822' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1654848749'/></entry><entry><id>tag:blogger.com,1999:blog-1400765799263079238.post-8178638680342034621</id><published>2010-10-14T09:14:11.192-04:00</published><updated>2010-10-14T09:14:11.192-04:00</updated><title type='text'>Well, vfat is conveniently just how filesystems ar...</title><content type='html'>Well, vfat is conveniently just how filesystems are set up on brand new USB keys, so jordanu&amp;#39;s comment about having a system to run the script on applies there -- what I mean by this is you *could* add the ISOs under windows, but then if you don&amp;#39;t also have python you can&amp;#39;t run the script to update the grub menu. Furthermore, it means you don&amp;#39;t really need to format the key if it&amp;#39;s a new one.&lt;br /&gt;&lt;br /&gt;In reality, vfat or another filesystem won&amp;#39;t really make much of a difference for this.&lt;br /&gt;&lt;br /&gt;My feeling was that since you have to add the isos in the first place, running the script is just an extra step that can be done quickly.&lt;br /&gt;&lt;br /&gt;With all this in mind, I&amp;#39;ll prepare a few USB keys with this trick to help other installing at tonight&amp;#39;s release party in Montreal. We&amp;#39;ll see what kind of feedback will come out ;)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1400765799263079238/18770804355836822/comments/default/8178638680342034621'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1400765799263079238/18770804355836822/comments/default/8178638680342034621'/><link rel='alternate' type='text/html' href='http://blog.cyphermox.net/2010/10/booting-to-iso-images-from-usb-key.html?showComment=1287062051192#c8178638680342034621' title=''/><author><name>matt</name><uri>http://www.blogger.com/profile/10138570513134453565</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_u586mTATcEs/SIwMl-41mGI/AAAAAAAAAAM/LHeZzfSIe7k/S220/hackergotchi.png'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.cyphermox.net/2010/10/booting-to-iso-images-from-usb-key.html' ref='tag:blogger.com,1999:blog-1400765799263079238.post-18770804355836822' source='http://www.blogger.com/feeds/1400765799263079238/posts/default/18770804355836822' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-265402215'/></entry><entry><id>tag:blogger.com,1999:blog-1400765799263079238.post-2213227292848386381</id><published>2010-10-13T22:37:17.401-04:00</published><updated>2010-10-13T22:37:17.401-04:00</updated><title type='text'>Why do you use vfat for the filesystem instead of ...</title><content type='html'>Why do you use vfat for the filesystem instead of ext4 (with journaling turned off) or another, more efficient filesystem?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1400765799263079238/18770804355836822/comments/default/2213227292848386381'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1400765799263079238/18770804355836822/comments/default/2213227292848386381'/><link rel='alternate' type='text/html' href='http://blog.cyphermox.net/2010/10/booting-to-iso-images-from-usb-key.html?showComment=1287023837401#c2213227292848386381' title=''/><author><name>HarleyPig</name><uri>http://www.blogger.com/profile/08034023806721847729</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.cyphermox.net/2010/10/booting-to-iso-images-from-usb-key.html' ref='tag:blogger.com,1999:blog-1400765799263079238.post-18770804355836822' source='http://www.blogger.com/feeds/1400765799263079238/posts/default/18770804355836822' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1532364679'/></entry><entry><id>tag:blogger.com,1999:blog-1400765799263079238.post-3137915345087268498</id><published>2010-10-13T19:42:49.349-04:00</published><updated>2010-10-13T19:42:49.349-04:00</updated><title type='text'>&amp;quot;cute, but I feel autoiso.cfg is doing quite ...</title><content type='html'>&amp;quot;cute, but I feel autoiso.cfg is doing quite a lot of checking and multiple passes over an ISO, which doesn&amp;#39;t happen with my script.&amp;quot;&lt;br /&gt;&lt;br /&gt;It&amp;#39;s true that your script lists the files in the iso once, then checks that cached list, whereas autoiso.cfg currently does one &amp;quot;pass&amp;quot; checking for each type of iso supported (exiting when it finds one, so only one pass if the iso has a loobpack.cfg). But I hope that grub&amp;#39;s metadata caching means that in effect the same thing is happening in autoiso.cfg. I.e. The directory is read once into RAM then consulted multiple times when checking for files. I&amp;#39;ll have to do some actual performance tests to see where it could be made faster.&lt;br /&gt;&lt;br /&gt;Also of course your script is run once, then the static grub.cfg is used multiple times, whereas autoiso.cfg does the detection at every boot. For me the advantage of not requiring a system which can run update-grub.py to add new isos outweighs the disadvantage of the menu taking slightly longer to load each boot.&lt;br /&gt;&lt;br /&gt;&amp;quot;OTOH, if loopback.cfg means I can have &amp;quot;submenus&amp;quot; or in a way delegate to the iso giving out choices (a la &amp;quot;live or graphical installer?&amp;quot;, read maybe-ubiquity), that&amp;#39;s pretty interesting.&amp;quot;&lt;br /&gt;&lt;br /&gt;That&amp;#39;s exactly what it means :)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1400765799263079238/18770804355836822/comments/default/3137915345087268498'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1400765799263079238/18770804355836822/comments/default/3137915345087268498'/><link rel='alternate' type='text/html' href='http://blog.cyphermox.net/2010/10/booting-to-iso-images-from-usb-key.html?showComment=1287013369349#c3137915345087268498' title=''/><author><name>jordanu</name><uri>https://launchpad.net/~jordanu</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/openid16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.cyphermox.net/2010/10/booting-to-iso-images-from-usb-key.html' ref='tag:blogger.com,1999:blog-1400765799263079238.post-18770804355836822' source='http://www.blogger.com/feeds/1400765799263079238/posts/default/18770804355836822' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-64195172'/></entry><entry><id>tag:blogger.com,1999:blog-1400765799263079238.post-5531856429110023858</id><published>2010-10-13T09:32:12.276-04:00</published><updated>2010-10-13T09:32:12.276-04:00</updated><title type='text'>jordanu: cute, but I feel autoiso.cfg is doing qui...</title><content type='html'>jordanu: cute, but I feel autoiso.cfg is doing quite a lot of checking and multiple passes over an ISO, which doesn&amp;#39;t happen with my script. OTOH, if loopback.cfg means I can have &amp;quot;submenus&amp;quot; or in a way delegate to the iso giving out choices (a la &amp;quot;live or graphical installer?&amp;quot;, read maybe-ubiquity), that&amp;#39;s pretty interesting.&lt;br /&gt;&lt;br /&gt;samtygier: thanks for the catches, I&amp;#39;ll fix the script in bzr and my post :)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1400765799263079238/18770804355836822/comments/default/5531856429110023858'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1400765799263079238/18770804355836822/comments/default/5531856429110023858'/><link rel='alternate' type='text/html' href='http://blog.cyphermox.net/2010/10/booting-to-iso-images-from-usb-key.html?showComment=1286976732276#c5531856429110023858' title=''/><author><name>matt</name><uri>http://www.blogger.com/profile/10138570513134453565</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_u586mTATcEs/SIwMl-41mGI/AAAAAAAAAAM/LHeZzfSIe7k/S220/hackergotchi.png'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.cyphermox.net/2010/10/booting-to-iso-images-from-usb-key.html' ref='tag:blogger.com,1999:blog-1400765799263079238.post-18770804355836822' source='http://www.blogger.com/feeds/1400765799263079238/posts/default/18770804355836822' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-265402215'/></entry><entry><id>tag:blogger.com,1999:blog-1400765799263079238.post-9037317996331226524</id><published>2010-10-13T07:08:35.068-04:00</published><updated>2010-10-13T07:08:35.068-04:00</updated><title type='text'>not sure if my previous comment got though. when p...</title><content type='html'>not sure if my previous comment got though. when pasting the grub command make sure you get a double hyphen instead of an emdash. otherwise you get an error like &amp;quot;More than one install_devices?&amp;quot;.&lt;br /&gt;&lt;br /&gt;also i think it should be&lt;br /&gt;sudo grub-install --root-directory=/media/DISKNAME/ /dev/sdc&lt;br /&gt;&lt;br /&gt;with sudo,  the full mountpoint, and the disk rather than the partition.&lt;br /&gt;&lt;br /&gt;also the shebang line in the script is wrong. it is missing the &amp;#39;!&amp;#39;, and should probably be&lt;br /&gt;#!/usr/bin/env python&lt;br /&gt;&lt;br /&gt;otherwise it works for me. nice to have the i386 and amd64 on the same usb stick.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1400765799263079238/18770804355836822/comments/default/9037317996331226524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1400765799263079238/18770804355836822/comments/default/9037317996331226524'/><link rel='alternate' type='text/html' href='http://blog.cyphermox.net/2010/10/booting-to-iso-images-from-usb-key.html?showComment=1286968115068#c9037317996331226524' title=''/><author><name>samtygier</name><uri>https://launchpad.net/~samtygier</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/openid16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.cyphermox.net/2010/10/booting-to-iso-images-from-usb-key.html' ref='tag:blogger.com,1999:blog-1400765799263079238.post-18770804355836822' source='http://www.blogger.com/feeds/1400765799263079238/posts/default/18770804355836822' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-834146564'/></entry><entry><id>tag:blogger.com,1999:blog-1400765799263079238.post-9204068672723900349</id><published>2010-10-13T04:50:26.364-04:00</published><updated>2010-10-13T04:50:26.364-04:00</updated><title type='text'>For isos containing a /boot/grub/loopback.cfg, lik...</title><content type='html'>For isos containing a /boot/grub/loopback.cfg, like the Ubuntu 10.10 isos, please use that rather than hard coding the kernel paths / parameters. More info here http://www.supergrubdisk.org/wiki/Loopback.cfg&lt;br /&gt;&lt;br /&gt;Also grub 1.99 will hopefully ship, as part of the official documentation, an example grub.cfg that will actually detect iso files at boot. So you can just add iso files to the flash drive without needing to modify the grub.cfg at all. If you want to see the beginnings of this autoiso.cfg you can find it here: http://lists.gnu.org/archive/html/grub-devel/2010-09/msg00080.html</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1400765799263079238/18770804355836822/comments/default/9204068672723900349'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1400765799263079238/18770804355836822/comments/default/9204068672723900349'/><link rel='alternate' type='text/html' href='http://blog.cyphermox.net/2010/10/booting-to-iso-images-from-usb-key.html?showComment=1286959826364#c9204068672723900349' title=''/><author><name>jordanu</name><uri>https://launchpad.net/~jordanu</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/openid16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.cyphermox.net/2010/10/booting-to-iso-images-from-usb-key.html' ref='tag:blogger.com,1999:blog-1400765799263079238.post-18770804355836822' source='http://www.blogger.com/feeds/1400765799263079238/posts/default/18770804355836822' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-64195172'/></entry><entry><id>tag:blogger.com,1999:blog-1400765799263079238.post-6760917934194225561</id><published>2010-10-13T00:31:18.884-04:00</published><updated>2010-10-13T00:31:18.884-04:00</updated><title type='text'>&amp;quot;+junk&amp;quot; ! That&amp;#39;s hilarious-ly humble...</title><content type='html'>&amp;quot;+junk&amp;quot; ! That&amp;#39;s hilarious-ly humble :D&lt;br /&gt;&lt;br /&gt;BTW many thanks for all the help and ideas you bring to the support team :D Always HAPPY to have you around!!!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1400765799263079238/18770804355836822/comments/default/6760917934194225561'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1400765799263079238/18770804355836822/comments/default/6760917934194225561'/><link rel='alternate' type='text/html' href='http://blog.cyphermox.net/2010/10/booting-to-iso-images-from-usb-key.html?showComment=1286944278884#c6760917934194225561' title=''/><author><name>magicfab</name><uri>https://launchpad.net/~magicfab</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/openid16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.cyphermox.net/2010/10/booting-to-iso-images-from-usb-key.html' ref='tag:blogger.com,1999:blog-1400765799263079238.post-18770804355836822' source='http://www.blogger.com/feeds/1400765799263079238/posts/default/18770804355836822' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1201197609'/></entry></feed>
