![]() ![]() NOTE: The USB drive is specified as /dev/sdx and not /dev/sdxX. Just change the paths to the correct paths for your system. The dd command will almost always result in a working Live USB. We are going to focus on only the two recommended methods which are dd from the command line and SUSE Image Writer from the GUI. There are many methods of creating Live USB images using Linux. Some of the more widely known utilities that fall into this category are: For best results, it is recommended that you NOT use these types of utilities to create your Live USB. There are workarounds to fix the failure but that is beyond the scope of this article. In the end I just used good old fashioned dd.Some USB Writing utilities alter the labels of the partitions included in the ISO image. Another option would have been to continue with the disk write, but to skip the label information. Also, as you can see in the previous section, they do log an error when the data can not be extracted, but they do nothing if the file format does not exist.Īt a minimum they could have thrown an error. A simple review of this should have caught the problem. The fact that this code fails silently, the code base does not provide for bug features, and that there is no documentation on this bug/feature is problematic. USBCreatorProcessException : # TODO evand : Error dialog. popen ( cmd, stderr = None ) if output : return output except misc. A simple exception could have given the end user some sort of idea about what the issue was, but instead, it fails silently.ĭef _is_casper_cd ( self, filename ): for search in : cmd = try : output = misc. The application checks to see if the iso file ‘is_casper_cd.’ This check returns None if it does not follow this format. _is_casper_cd ( filename ) if label : self. So, I dug into the code and found the issue rather quickly to my surprise. I am a huge fan of python for a number of reasons. At this point, I was more frustrated than anything else, and had decided I was going to use dd to create the usb disk, but I wanted find out what the problem in the code was.ĭigging through the code, I found that the core of the application is a few python scripts. I was surprised when I went to the bug page, and found that the package had not been configured for bug reports yet. Even if I was going to fix it, I wanted to ensure that the issue was being tracked, and to see if anyone else had submitted a bug on the topic already. My first thought was to create a bug on the issue. Unless I missed something, there is no easy search within a project, the navigation is antiquated, and the look and feels leaves a bit to be desired. ![]() Having used multiple systems over the years, launchpad felt like a step back in time. The code is hosted on LaunchPad which uses Bazaar as its version control system. This was because I wanted to try out the latest Fedora, and had not bothered to pull down another ISO.įinding the source code for the USB Creator took a bit longer than planned. ![]() Let me add a quick note and say, I had not tried a Debian based ISO on the application. It just sits there and does nothing.Īt this point, I could have just used dd and been done with it, but I wanted to find out what was going on with the application, and why it was not working. It turns out that if you are not using a Debian based distro, then the application will fail silently. It does mention using an Ubuntu ISO image, but what should work for one, should work for most any ISO. This page walks through using the Startup Disk Creator. Ubuntu has a page dedicated to the topic. That led me down the rabbit hole that you see here. Normally I would use dd, but Ubuntu has a tool, and I thought sure, let’s try this gui tool. I had Ubuntu installed, and I wanted to give Fedora a try (it has been a while), so I just needed to create a bootable USB stick. Well, Ubuntu was finally getting rid of the Unity desktop, so the spin off that I had been using was no longer going to be updated. I had been running Ubuntu GNOME, a flavor of Ubuntu that was focused on a mostly vanilla install of Gnome on top of Ubuntu. Let me start with the scenario that led me into issues with the Ubuntu Startup Disk Creator. Issues with Ubuntu’s Startup Disk Creator for non-debian ISOs ![]()
0 Comments
Leave a Reply. |