How to install Quirky Xerus
|Quirky Xerus x86_64 version 8.5 is deployed as a live-CD (an ISO file) and as an image file for a USB Flash stick or SD-card.
Traditionally, Linux distributions have been provided as ISO files, for writing to optical media. Increasingly, this is seen as a legacy format. However, choose whichever you are comfortable with.
This page is in two halves. The first half describes installation with the live-CD, the second half describes the Flash stick image file.
Live-CD ISO fileThis is what most people are familiar with, and does not need much explanation. You need an application to "burn" the ISO file to a blank CD-R, and there are plenty of those around, for Windows, Mac and Linux.
You then need to configure the BIOS, either traditional BIOS or the more modern UEFI-firmware (on all PCs from 2012 onward), to boot from the CD. This is usually pretty straightforward.
For those who already know a bit about this, note that the ISO is UEFI-aware and does not require "legacy boot" to be enabled in the UEFI-firmware boot setup.
Note also, it is possible to write the ISO file to a USB Flash stick, and boot from that. But, you need to properly understand how to write the ISO file -- Linux users usually use the 'dd' utility for this.
When Quirky boots, he is running totally in RAM. If there is enough RAM, the bootup will automatically copy the file q.sfs (which is all of Quirky) from the CD to RAM -- that is why the first bootup is slow, as the file is about 400MB.
After bootup, you will see two icons on the desktop, "install" and "save". The "install" icon enables you to install Quirky any way you want, to a partition on the hard drive, or an external drive. The "save" icon enables you to save the session.
That "save" icon is most interesting, as it will save your files in RAM (everything that you have done, such as Internet setup, file downloads, app settings, whatever) to a file on the hard drive. Note, that file is named s.sfs.
At next bootup from the live-CD, that s.sfs is automatically loaded back into RAM, so you can carry on from before. Booting from the CD is thus a viable alternative to doing an actual install, on an ongoing usage basis.
Note also, q.sfs also gets saved to the hard drive, so subsequent bootups are much faster.
USB Flash stick imageQuirky is provided as a 8GB USB Flash stick image, or for an SD-card. This file may be written to an 8GB or greater Flash stick. In the latter case, at first bootup there will be an offer to increase the filesystem to fill the drive. Do not try and use a 4GB or smaller drive!
The image file is named like this: xerus64-8.5-8gb.img.gz
This is an image of the entire Flash stick, gzip compressed -- the ".img" identifies it as an image-file, and ".gz" identifies it as compressed.
If you want to be certain that the downloaded file is not corrupted, do this: open a terminal window at the same folder where you downloaded *.img.gz (any file manager worth its salt will have an "Open terminal here" menu item). Then run (for the example of version 8.5):
# md5sum xerus64-8.5-8gb.img.gz
Then, if you are a wiz on the Linux commandline, you might be able to just run a command like this (assuming Quirky version 8.5, and the USB Flash drive is sdb):
# gunzip --stdout xerus64-8.5-8gb.img.gz | dd of=/dev/sdb bs=1M
For everyone else, and even if you are a Linux-wiz, I recommend that you use my EasyDD utility. Reason is, it helps to choose the correct target-drive, and does a lot of sanity checking. Even wiz's can make dumb mistakes!
EasyDD is in EasyOS 0.6+ and Quirky 8.4+, however, if you are not yet running these versions, you will have to download this utility. It is a script named easydd, and should work in almost every Linux distribution.
Get it from here:
Open a terminal window at the same folder where you downloaded xerus64-8.5-8gb.img.gz , if not already.
Then, download easydd.gz to the same folder, and run this;
# gunzip easydd.gz
...the first line uncompresses the file, the second line makes it executable.
EasyDD can run as a fully-GUI application, or in CLI-mode. CLI means Command Line Interface, and this is the one you will use. The GUI mode is nice, but it is likely that whatever Linux distribution you are currently using, does not have the required dependencies.
Here is a summary of how to run EasyDD:
An example of row-3 is "easydd xerus64-8.5-8gb.img.gz sdb", however, to minimize the possibility of choosing the wrong target drive, I recommend that you choose row-2. Example:
# ./easydd xerus64-8.5-8gb.img.gz
...notice the "./" prefix. You need that, because easydd
is in the current directory. Note also, the "#" -- you don't type that,
it is the shell prompt, and may be different in your Linux distro.
After that, you will be asked to plug-in the Flash drive, then you choose it, then you write the file to it. It is very simple.
are now ready to boot the computer from the Flash drive. Jump down to
the bottom of this page for the link to the next tutorial.
WindowsThere are various tools for writing a compressed image file to a Flash stick. The one that I have tested is USB Image Tool, which is free.
USB Image Tool website: http://www.alexpage.de/usb-image-tool/
Before launching into a description of how to use USB Image Tool. you should have downloaded the image file "xerus64-8.5-8gb.img.gz". It is a very good idea to check that it was properly downloaded. There is a tool for doing this:
I have also hosted it here:
Unzip it, and extract "md5sums.exe" (usually achieved by right-click, then choose to extract contents). The usage instructions explain that if you drag "xerus64-8.5-8gb.img.gz" on top of "md5sums.exe", it will display the md5sum hash-code. You can check this against the content of the online "md5sums.txt" file, to verify that the file was downloaded correctly.
This is optional, but usually a good thing to do.
USB Image Tool does not have an installer, it is just a zip file that you extract the files from wherever you want them. That is, download, to say, the "Download" folder, then copy "usbit.zip" wherever you want it, then right-click on it and choose to extract the contents. When you do so, you will see these files:
The one that you need to run is "USB Image Tool.exe" -- right-click on it and choose "Run as administrator".
If your USB Flash stick is already plugged in, you will see it on the left side. Otherwise, plug it in and it should appear. Notice at the top, "Device mode" is selected, this is important:
Click on the Flash drive to highlight it, then click the "Restore" button. You should have downloaded the compressed image file beforehand, now choose it:
Easy, just highlight the *-8gb.img.gz file (whichever you have downloaded) then click the "Open" button. Then just watch as the file is uncompressed and written to the drive:
Note that the uncompressed image file is 8GB, but you do not need that much free space on the hard drive. USB Image Tool writes the file immediately to the Flash drive as it is uncompressed (in Linux we refer to this as piping)
One thing to be careful about. Looking at the above snapshot, you might think it reasonable that writing is finished when it reaches "100%". Not so, it actually went to almost "300%" before finishing. So wait until the green bar goes away entirely.
Do not yet unplug the Flash stick! It is now ready to use, however, with Windows you must first select "Safely eject drives" from the tray:
This ensures that Windows has fully flushed everything to the drive. If you just pull out the drive without doing this, it is possible the tail-end of the write operation was not fully written to the drive, even if you have finished and exited from USB Image Tool.
In the example shown above, the Flash drive that I have plugged-in is named "Data Traveler 2.0". I also have an SD-card inserted.
How to boot from the Flash stickAfter having written to a Flash stick, it is ready to be used. However, the computer has to be configured to boot (startup) from the Flash stick, rather than its usual internal hard drive.
Note that this can be done non-invasively, so it won't upset the installation of Windows or other OS on the computer's hard drive, and you will be able to easily go back to booting it/them.
So, here is the next tutorial:
One useful bit of information: I have two laptops, both with SD-card slots. However, the laptops cannot be configured to boot from them. Unfortunate, it would be nice to boot Quirky off a SD-card, as it does not stick out the side of the laptop!
Another useful bit of information: not all Flash sticks are the same! Some of them are incredibly slow. Interestingly, I have purchased cheap USB3 sticks recently and tested them -- found that they run essentially at the same speed regardless of whether plugged into USB2 or USB3 sockets, and at about twice the speed of cheap USB2 sticks. My testing is limited, but something to consider when shopping for a Flash stick.
If you like Quirky and want to keep using it on your computer, no problem. However, if you don't like the Flash stick sticking out the side of your laptop, you might want to consider installing Quirky onto the internal hard drive.
There are various ways to install Quirky onto the hard drive, such as via the menu "Setup -> Quirky Universal Installer". For a CLI technique, look here:
February 27, 2018