{"id":2339,"date":"2005-10-07T14:33:00","date_gmt":"2005-10-08T04:33:00","guid":{"rendered":"http:\/\/www.andrewjohnson.me.uk\/blog\/?p=6"},"modified":"2005-10-07T14:33:00","modified_gmt":"2005-10-08T04:33:00","slug":"damn-small-and-damn-cool-2","status":"publish","type":"post","link":"https:\/\/andyjohnson.uk\/blog\/2005\/10\/07\/damn-small-and-damn-cool-2\/","title":{"rendered":"Damn Small and Damn Cool"},"content":{"rendered":"<p>USB &#8216;thumb&#8217; (or &#8216;pen&#8217;) drives are one of those low-profile technological developments that you mostly don&#8217;t give much thought to; but when you do you realise just how amazing they are. Back in 1989 I bought my first 20GB hard-drive for my first PC&nbsp; The drive was big (perhaps a bit bigger than a video-cassette box), heavy and relatively fragile (if you were going to move the PC you had to remember to manually park the drive heads before powering-down). It cost over ?200. Today I can pay ?25 for a 500MB thumb drive that weighs essentially nothing and can live quite happily in the hostile environment of my work bag. Pretty maazing, when you think about it. Which I usually don&#8217;t.<\/p>\n<p> A few days ago, while on the train home from work, I was reading an article about how to install Linux on a thumb drive: the idea being that you can carry around a fully-configured system in your pocket for those inconvenient times when you don&#8217;t have access to your usual PC. Just find any old PC, plug-in the thumb drive, reboot, and (assuming the bios can handle it) the system boots the OS on the thumb drive rather than the one on the hard drive. I thought that this was moderately interesting but nothing that special. As it happened, I&#8217;d spent a large part of the day (the part I get paid for) running tests on a client-server system where the clients and server were each running on virtual machines using <a href=\"http:\/\/www.vmware.com\/\">VMware<\/a>. VMWare is another piece of technology that I keep forgetting to remember is deeply impressive. It essentially allows you to run multiple copies of Windows (or Linux) on the same machine <i>at the same time<\/i>. Each &#8216;guest&#8217; machine thinks it is a real PC, and can access network resources via the real host PC.<\/p>\n<p> So I thought, booting from thumb drives is all very well, but what I really want is something like WMware that lets me run a guest OS from a thumb drive <i>without rebooting<\/i>. That way I don&#8217;t have to disturb the guest PC (which, in say a cyber-cafe, may be locked-down to prevent reboots). At first i thought one of the &#8216;<a href=\"http:\/\/www.google.co.uk\/search?hl=en&amp;q=live+cd&amp;btnG=Google+Search&amp;meta=\">live cd<\/a>&#8216; Linux distributions might do this, but it turned-out they all require a reboot.<\/p>\n<p> Then I found something remarkable: the Embedded version of <a href=\"http:\/\/www.damnsmalllinux.org\/\">Damn Small Linux<\/a>. DSL is a small-footprint (50MB max) Linux distro that can boot from CD, and very good it is too. But the magic is in the Embedded version. This is essentially a pre-configured copy of DSL that runs in an open-source, VMware-like virtualisation system called <a href=\"http:\/\/fabrice.bellard.free.fr\/qemu\/\">Qemu<\/a>. Unzip DSL Embedded onto a thumb drive (or a hard-drive folder), run a batch file (no installation needed), and Damn Small Linux boots-up inside its own window. After a bit of grinding an X11-based desktop appears. If the host PC is on a DHCP-enabled hetwork then the Linux machine acquires its own IP address and you can access the net using the pre-installed browser (Firefox), email and ftp apps. Clients for vnc and terminal services are included, and I easily logged-into my home server.<\/p>\n<p> This, my friends, is <i>very, very cool<\/i>. And since it is also <i>very, very free<\/i>, I urge you to try it. I couldn&#8217;t find the Embedded version on the DSL download page, but you can get it from ibiblio <a href=\"http:\/\/distro.ibiblio.org\/pub\/linux\/distributions\/damnsmall\/current\/dsl-1.5-embedded.zip\">here<\/a> (53MB).<\/p>\n<p> I&#8217;m going to play with this and see what it can do. First-up is to get <a href=\"http:\/\/openvpn.net\/\">Open VPN<\/a> working so that I can tunnel into my home network. Watch this space! <\/p>\n","protected":false},"excerpt":{"rendered":"<p>USB &#8216;thumb&#8217; (or &#8216;pen&#8217;) drives are one of those low-profile technological developments that you mostly don&#8217;t give much thought to; but when you do you realise just how amazing they are. Back in 1989 I bought my first 20GB hard-drive for my first PC&nbsp; The drive was big (perhaps a bit bigger than a video-cassette &hellip; <a href=\"https:\/\/andyjohnson.uk\/blog\/2005\/10\/07\/damn-small-and-damn-cool-2\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Damn Small and Damn Cool&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"class_list":["post-2339","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/andyjohnson.uk\/blog\/wp-json\/wp\/v2\/posts\/2339","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/andyjohnson.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/andyjohnson.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/andyjohnson.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/andyjohnson.uk\/blog\/wp-json\/wp\/v2\/comments?post=2339"}],"version-history":[{"count":0,"href":"https:\/\/andyjohnson.uk\/blog\/wp-json\/wp\/v2\/posts\/2339\/revisions"}],"wp:attachment":[{"href":"https:\/\/andyjohnson.uk\/blog\/wp-json\/wp\/v2\/media?parent=2339"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/andyjohnson.uk\/blog\/wp-json\/wp\/v2\/categories?post=2339"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/andyjohnson.uk\/blog\/wp-json\/wp\/v2\/tags?post=2339"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}