|Image of Dariolynx|
Unfortunately, a Live USB run is not always possible for me. The reason is in my laptop’s BIOS, which does not work properly with hybrid ISO images.
Some time ago I wrote an article titled "Different methods to create Live USB", where 6 different methods were described. Obviously, the most widely used of them are the command dd and the tool Unetbootin.
Since hybrid images are not usable for me, the command dd is rarely good for me. Unetbootin is my most often used method.
Unfortunately, Unetbootin is not always satisfactory either. The most recent case was my experiment with OpenSuSE 12.1 Li-f-e. That time round, I had to revert to the Live DVD method.
That was a trigger to one of my readers to join the scene. The person under the nickname Cyberorg (his real name is Jigish Gohil, by the way) mentioned a new method, which I’ve never heard of before. It is his own tool, which creates a Live USB from ISO images with a method different from Unetbootin’s. Of course, I wanted to try it.
The toolThe tool is a script. Yes, this is not a binary file, but rather a bash script. This approach has its benefits and issues. The most obvious benefit is cross-platform compatibility. You can run the script on any operating system which has bash. Which one does not have? The issue, of course, is the absence of a graphical interface. If you are scared of the command line, then this is not your cup of tea.
The use of the script is very simple:
- You need to be under root (not sudo);
- You need to specify the path to the ISO image;
- You need to specify the partition on your USB stick, which must be in FAT format;
- You need to answer a couple of confirmation questions in the process.
ExperienceI tried to use the script myself. Being in a Xubuntu 12.04 session, I tried to create a Live USB with OpenSuSE 12.2 KDE.
First of all, I ran sudo su to get root access. You may know that there is no root user per se in Ubuntu-based systems, so the simple command su will not work. The command sudo su is a workaround for this.
Then, I specified a location of my ISO image, and the USB stick partition. Here are some comments:
- Path to an ISO image should not have spaces in folder and file names, or you need to use quotation marks. That’s a generic rule for all the commands in bash.
- The USB stick partition should be unmounted, so I needed to run umount /dev/sdb1 first. If the partition is mounted, you get an error message.
Finally, the script created a Live USB stick for me, which carried a processed image of OpenSuSE 12.2 KDE on it. It was a time to see how my laptop would like it.
The outcomeThe best way to try was to reboot my laptop and use the USB stick. That is what I did.
And… drums… drums… drums… tension increases…
It worked! First, I was able to see a boot menu, then the splash screen of OpenSuSE 12.2 KDE. And then, the whole OS booted!
That was a success! I now have another tool to use when I need a Live USB!
Limitations and perspectivesThe only distributions supported by Cyberorg’s script for now are Ubuntu and OpenSuSE. This already gives you the wide range of available distributions to try, because of richness of Ubuntu-based derivatives.
|Image by Photohiro|
In terms of existing script, I think it would be beneficial to replace the error message about a mounted USB partition with a simple umount command. Why do you need to ask user to do this externally, if you already have a bash script running?
Have you tried the Cyberorg’s script? Or maybe you know other methods of Live USB creation, not mentioned in either of my articles?
Update: you can now read a review of OpenSuSE 12.2 KDE, which I used as a guinea pig in this case.