<?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>Martin Falatic's Techno Blog &#187; removable bit</title>
	<atom:link href="http://www.falatic.com/index.php/tag/removable-bit/feed" rel="self" type="application/rss+xml" />
	<link>http://www.falatic.com</link>
	<description>Technobabble</description>
	<lastBuildDate>Tue, 18 May 2010 08:50:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Fun with bootable flash drives!</title>
		<link>http://www.falatic.com/index.php/7/fun-with-bootable-flash-drives</link>
		<comments>http://www.falatic.com/index.php/7/fun-with-bootable-flash-drives#comments</comments>
		<pubDate>Wed, 22 Apr 2009 02:25:58 +0000</pubDate>
		<dc:creator>Marty</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[flash drives]]></category>
		<category><![CDATA[GParted]]></category>
		<category><![CDATA[removable bit]]></category>
		<category><![CDATA[Super Grub]]></category>
		<category><![CDATA[UAC]]></category>
		<category><![CDATA[UBCD4Win]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Vista]]></category>

		<guid isPermaLink="false">http://www.falatic.com/?p=7</guid>
		<description><![CDATA[I&#8217;ve been fiddling with making bootable flash drives lately, via UBCD4Win for the most part.  It&#8217;s actually come in handy a few times in the last month alone and the new v3.50 just came out today!  In the course of this I&#8217;ve learned a couple of useful things that might be worthwhile to others working [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been fiddling with making bootable flash drives lately, via <a title="UBCD4Win homepage" href="http://www.ubcd4win.com/" target="_blank">UBCD4Win</a> for the most part.  It&#8217;s actually come in handy a few times in the last month alone and the new v3.50 just came out today!  In the course of this I&#8217;ve learned a couple of useful things that might be worthwhile to others working on this.</p>
<p><span id="more-7"></span></p>
<hr />
<h3>Flash Drives and The Removable Bit</h3>
<p>Something I stumbled upon today was a Lexar utility that can flip the removable bit on a flash drive.  <span style="color: #800000;"><span style="text-decoration: underline;"><strong>Disclaimer: this may not work for you or could even cause problems!</strong></span></span> As you may have noticed a flash drive appears as a &#8220;removable disk&#8221; in explorer, and (as I understand it) cannot be partitioned in XP or lower (Vista doesn&#8217;t seem to care as much from what I can tell).Indeed, it works, making the drive go from &#8220;removable&#8221; to &#8220;basic&#8221; (that is, fixed or local).</p>
<p>As I was doing all this in Vista with UAC enabled I was alarmed when it appeared that once I flipped the bit there was no flipping it back!  It&#8217;s not necessarily bad but I prefer to keep it removable unless otherwise necessary.  After lots of flailing (and finding a few posts alluding to this one-way trip problem &#8211; but no answers) <span style="text-decoration: underline;">I ran the utility via the &#8220;Run as administrator&#8221; option</span>. This allowed BootIt to see the &#8220;fixed&#8221; disks (which the flash drive becomes a part of after flipping the bit).  <strong>Be VERY careful not to mess with the wrong drive of course! </strong> I think Vista is more protective of the fixed disks, thus the unexpected hurdle.</p>
<p>Note: I was able to flip the removable bit on Lexar and A-DATA drives, <strong>but I had no luck with</strong> my 4GB OCZ Rally2, a Sandisk Cruzer Micro or with an old Pocket Disk brand 128MB drive (handy for small images) which all stayed resolutely removable.</p>
<p>Read more about the <em><strong>Lexar BootIt (Flip the Removable Media Bit)</strong></em> tool <a href="http://freestickdownload.blogspot.com/2008/05/bootit-lexar-usb-flip-romovable-media.html" target="_blank">here</a> and <a href="http://www.downloadsquad.com/tag/usb-flash-drive/" target="_blank">here</a> (I used v1.07, which I think is the only one out there).</p>
<hr />
<h3>Adding bootable ISO images to UBCD4Win images</h3>
<p>It&#8217;s pretty easy to add bootable ISO images to UBCD4Win (this is tested with v3.22 and should work with v3.50 equally well).  Today I had LOTS of &#8220;fun&#8221; dealing with a lost boot manager on my triple-boot laptop (<em>Vista, Ubuntu, Win7, oh my!</em>) and I snagged copies of <a title="GParted project page" href="http://gparted.sourceforge.net/index.php" target="_blank">GParted</a> and <a title="Super Grub Disk" href="http://www.supergrubdisk.org/" target="_blank">Super Grub</a> to try and save the day.  All I did was download them and add the ISOs to the /images tree on the prepared flash drive.  Then I added a couple of entries in /menu.lst as follows:</p>
<pre>title Super Grub
map --mem (hd0,0)//Images/super_grub.iso (hd32)
map --hook
chainloader (hd32)
rootnoverify (hd32)</pre>
<pre>title GParted
map --mem (hd0,0)//Images/gparted-live.iso (hd32)
map --hook
chainloader (hd32)
rootnoverify (hd32)</pre>
<p>The ISO names must match what&#8217;s in /images, and I&#8217;d avoid putting spaces in the names too.  <span style="color: #800000;"><span style="text-decoration: underline;"><strong>The usual disclaimer applies: I figured this out by trial and error but it worked fine for me.</strong></span></span></p>
<p>Super Grub ended up working and saving the day!  GParted, not so much&#8230; I had to put it on a CD to get it to fully work.  This is no fault of GParted&#8230; as far as I can tell the same problem would affect ANY partition tool. GParted actually got stuck in a repeating loop of attempting to mount a drive and I think it had to do with how the boot process involved resetting the USB hub (thus resetting the flash drive).  Other partition managers that pass through a USB stage also experienced the same issues.  Booting GParted from the CD-RW appears to avoid all that.  I had the same problem when I attemtped to mount and install the Ubuntu 9.04 ISO from that USB drive today&#8230; it worked fine from a DVD.  So, while this method works in theory it may not always be practical given the limitations of booting from USB.</p>
<p>What&#8217;s nice is that once I have a small stable of utilities like this I can eventually burn the whole thing onto a DVD for near-universal usage (even on machines that won&#8217;t boot from flash).  Pretty handy!  <img src='http://www.falatic.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><em><strong>Update: </strong></em>there are better ways to do this menu thing I&#8217;m sure&#8230; and apparently the CD ISO uses an entirely different menu system for some reason.  So at a minimum /BCDW/BCDW.INI also needs to be updated (but I&#8217;m not yet sure what that should look like).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.falatic.com/index.php/7/fun-with-bootable-flash-drives/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
