<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Libre Things &#187; USB</title>
	<atom:link href="http://positon.org/tag/usb/feed" rel="self" type="application/rss+xml" />
	<link>http://positon.org</link>
	<description></description>
	<lastBuildDate>Tue, 23 Feb 2016 20:01:11 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.7.1</generator>
	<item>
		<title>Lenovo Thinkpad BIOS Update with Linux and USB</title>
		<link>http://positon.org/lenovo-thinkpad-bios-update-with-linux-and-usb</link>
		<comments>http://positon.org/lenovo-thinkpad-bios-update-with-linux-and-usb#comments</comments>
		<pubDate>Thu, 29 May 2014 16:59:54 +0000</pubDate>
		<dc:creator><![CDATA[dooblem]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Arch Linux]]></category>
		<category><![CDATA[BIOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Thinkpad]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[USB]]></category>

		<guid isPermaLink="false">http://positon.org/?p=190</guid>
		<description><![CDATA[Here are the steps I used to upgrade the BIOS of my Lenovo Thinkpad X1 Carbon Gen 2. You have to download the bootable ISO file from Lenovo support site, convert it and copy it to a usb flash drive. You will need a USB key you can erase. First Get the bootable ISO file [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Here are the steps I used to upgrade the BIOS of my Lenovo Thinkpad X1 Carbon Gen 2.<br />
You have to download the bootable ISO file from Lenovo support site, convert it and copy it to a usb flash drive.</p>
<p>You will need a USB key you can erase.</p>
<p>First Get the bootable ISO file from Lenovo support website. To get your product number:</p>
<pre>
sudo dmidecode -t system | grep Product
</pre>
<p>To check your BIOS version: <code>sudo dmidecode -t bios</code></p>
<p>Get the <strong>geteltorito</strong> program from your packages or download it:</p>
<pre>
cd /tmp/
wget http://userpages.uni-koblenz.de/~krienke/ftp/noarch/geteltorito/geteltorito
chmod +x geteltorito
</pre>
<p>Extract the img from the ISO:</p>
<pre>
./geteltorito -o bios.img gruj09us.iso
</pre>
<p>Copy the img to the USB key (<strong>make sure sdb is you USB key!!</strong>):</p>
<pre>
sudo fdisk -l /dev/sdb #at least check that device size is right
sudo dd if=bios.img of=/dev/sdb
</pre>
<p>That&#8217;s it. Boot on USB stick and follow the instructions to update your BIOS.</p>
]]></content:encoded>
			<wfw:commentRss>http://positon.org/lenovo-thinkpad-bios-update-with-linux-and-usb/feed</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
		<item>
		<title>The ultimate live USB MultiBoot solution: Easy2Boot</title>
		<link>http://positon.org/the-ultimate-live-usb-multiboot-solution-easy2boot</link>
		<comments>http://positon.org/the-ultimate-live-usb-multiboot-solution-easy2boot#comments</comments>
		<pubDate>Sat, 16 Mar 2013 16:41:00 +0000</pubDate>
		<dc:creator><![CDATA[dooblem]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Easy2Boot]]></category>
		<category><![CDATA[Grub]]></category>
		<category><![CDATA[grub4dos]]></category>
		<category><![CDATA[USB]]></category>

		<guid isPermaLink="false">http://positon.org:81/?p=120</guid>
		<description><![CDATA[I&#8217;ve spent days looking for a good live Multiboot USB solution. I mean a way to include many downloaded ISO files in a single USB stick. I was looking for a system allowing to drop the ISOs in a folder on the key, just showing a menu with the ISO files to boot. Easy2Boot does [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve spent days looking for a good live Multiboot USB solution. I mean a way to include many downloaded ISO files in a single USB stick. I was looking for a system allowing to drop the ISOs in a folder on the key, just showing a menu with the ISO files to boot. <a href="http://www.rmprepusb.com/tutorials/72---easyboot---a-grubdos-multiboot-drive-that-is-easy-to-maintain">Easy2Boot</a> does exactly that!</p>
<p>Booting an ISO file is complex because lots of live operating systems expect to be at the root of a DOS partition. After some research I found several posts saying that generic ISO chainloading is very hard (<a href="http://tinyapps.org/blog/misc/201005080700_boot_any_iso_from_usb.html">p1</a> <a href="http://comptb.cects.com/67-multi-boot-usb-with-syslinux-and-grub4dos">p2</a>).</p>
<p>I found solutions like <a href="http://www.pendrivelinux.com">YUMI (Your Universal Multiboot Installer</a> (windows) or <a href="http://liveusb.info/dotclear/">MultiSystem</a>. At this time, the problem of those programs is that they use specific &#8220;tricks&#8221; for each distribution to build a menu that will load directly the Linux kernel. It&#8217;s not as simple as dropping your ISOs in a folder: you have to use the software to build the multiboot usb key. Another drawback is that you will loose the <a href="http://www.syslinux.org">SYSLINUX</a> boot menus of the distros, because it loads directly the Linux kernels.</p>
<p>You also have hardware usb disk drives emulating a cdrom device. It&#8217;s probably the most reliable solution, but it&#8217;s not cheap, and bigger that a small USB key.</p>
<p>Easy2Boot, with grub4dos scripting, uses a nice trick (<a href="http://reboot.pro/topic/16429-easy2boot-development-discussion/page-2#entry169026">described here</a>): when the iso file is chosen from the boot menu, a DOS partition (number 4) is created starting and ending at the position of the .iso file on the FAT filesystem. This method is more &#8220;ISO generic&#8221; and can boot many ISO files (99% of Live Linuxes). The drawbacks is that you have a partition overlapping the other (this is not a problem, at least under Linux), and you have to make sure that the FAT filesystem will not fragment your ISO files when you copy them on the key.</p>
<p>Under Windows, you can use the <a href="http://www.rmprepusb.com/">RMPrepUSB</a> software (freeware/not opensource) to prepare your USB key.</p>
<p>Under Linux/Ubuntu, this is simple too:</p>
<ol>
<li>Format your USB key with a single FAT partition (I recommend <a href="http://en.wikipedia.org/wiki/GParted">gparted</a>).</li>
<li><a href="http://www.rmprepusb.com/tutorials/72---easyboot---a-grubdos-multiboot-drive-that-is-easy-to-maintain">Download Easy2Boot</a> (v1 Beta06 works fine) and put all the files at the root of the partition.</li>
<li><a href="https://code.google.com/p/grub4dos-chenall/downloads/list">Download grub4dos</a> (take the last Featured version) and extract the archive on your PC (not on the usb stick)</li>
<li>From the grub4dos folder, run <code>sudo ./bootlace.com --time-out=0 /dev/sdX</code> to install grub4dos MBR (make sure you use the right device!).</li>
<li>Put some ISOs directly in the <code>/MAINMENU</code> directory</li>
<li>Here you go. Reboot and enjoy!</li>
</ol>
<p>Thanks to RMPrepUSB and to the reboot.pro forum guys!</p>
<p><ins>Hints</ins>:</p>
<ul>
<li>If you have FAT fragmentation problems (&#8220;File for drive emulation must be in one contiguous disk area&#8221;), you can degragment by copying all the files locally, format, then copy back the files. I asked a <a href="http://unix.stackexchange.com/questions/68189/a-clever-way-to-defragment-a-fat-filesystem">question on StackExchange</a> to know if a better method exists.</li>
<li>Use <a href="http://unix.stackexchange.com/questions/37779/how-do-i-boot-from-a-liveusb-using-qemu-kvm">VirtualBox or KVM/Qemu to test your live usb stick</a> without rebooting (VirtualBox seems faster).</li>
</ul>
<p><ins>Links</ins>:</p>
<ul>
<li><a href="http://www.rmprepusb.com/">RMPrepUSB website</a>: Easy2Boot, and lots of great bootloading tutorials (<a href="http://www.rmprepusb.com/tutorials/grub4dos">grub4dos tuto</a>, <a href="http://www.rmprepusb.com/tutorials/autoiso">autoiso tuto</a>)</li>
<li><a href="http://www.rmprepusb.com/tutorials/72---easyboot---a-grubdos-multiboot-drive-that-is-easy-to-maintain">RMPrepUSB Easy2Boot tuto</a></li>
<li>grub4dos : <a href="http://gna.org/projects/grub4dos/">gna page</a>, <a href="http://code.google.com/p/grub4dos-chenall/">googlecode chenall page</a>, <a href="http://microsaint.narod.ru/_Info_Grub4Dos/Grub4dos_tutorial.html">wiki doc</a>, <a href="http://diddy.boot-land.net/grub4dos/Grub4dos.htm">diddy guide</a></li>
<li><a href="http://reboot.pro">Reboot.pro forum</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://positon.org/the-ultimate-live-usb-multiboot-solution-easy2boot/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
