Why are(n't) some USB keydrives bootable?
Hello
I noticed the following issues with the same recent laptop that can boot off a USB keydrive and the same ISO file:
I tried three different Windows applications to burn the ISO (UNetBootin, Pendrive Linux Universal USB Installer, and LinuxLive), but it makes no difference. So I was wondering if this is a software or hardware issue:
FWIW, here's what Linux says after I insert a USB keydrive that can't boot Linux: Quote:
|
Quote:
Quote:
Have you set the USB in the boot order before hard drive, CD-rom etc? Its set in the BIOS. That has to be done for Unetbootin or the others to work. |
Are you having this problem with a particular manufacture or random devices. I also do know why a USB flash drive would not be bootable. In the case you posted the problem could be due to a corrupted image when it was downloaded. Make sure the image matches sha5sum if posted.
|
That happened to me as well.
I recall copying a Debian netinstall ISO a 512 MB device, and whatever I did, it wouldn't boot. The easiest way nowadays is to dd the ISO to the /dev/sdx. This will effectively overwrite every single byte with the correct image. That was successful, but the booting was not. In addition I tried to do a full erase (writing /dev/zero to /dev/sdx), installing grub, installing unetbootin. No write errors, binary comparison to another disk was without errors, but the stick would not boot. Copying the same ISO image to a different USB stick (256MB, 1GB or 4GB) booted without problems. The netinstall image is only 130MB or so. I don't think it has anything to do with the size, but I lacked a second 512MB stick to test that. jlinkels |
HP has a usb tool that seems to work on all the bad ones I have seen.
See www.pendrivelinux.com for some tools. Some are hidden in the pages. Things like flip bit and another tools that I forget it's name can fix some usb flash drives. Some usb may never get fixed with any software hack. I had one that used the OEM's tools to set it to a usb-zip. Seemed to fix it although most new usb flash work correctly. If in doubt buy the one that claims bootable. |
I've never run across one that wouldn't boot...even the cheapest of the cheap SWAG drives from conferences work fine for me. How old are the ones having problems? They might just be dying.
|
Thanks for the infos. I suspect some keydrives just don't have the right hardware/software and will simply never boot.
As for those that sometimes boot and sometimes don't, I read somewhere that it could be due to the formatting: To be bootable, it must be partioned so as to have an MBR and at least one partition. Incidently, why does fdisk complain? Quote:
|
Quote:
On the other hand, I had a case where we tried to copy one CF disk to another CF disk with dd. That disk contained (gawdforbid) Windows embedded for an industrial controller. The manufacturer of the controller was present and tried it with us. It did not boot. Only back at the factory with certain software they were ably to create a bootable CF disk. That beats me. Byte copy is byte copy, isn't it? BTW funny that I see this coincidence now while I am writing this. That one USB stick of mine that doesn't boot was given to me as a present from this same factory which had created this Windows embedded system with unclonable CF disk. jlinkels |
I had already issues with USBs.
I made different things at different times: - new fresh installation of extlinux (was an ext2 partition) because it did not boot anymore - or used GPARTED, check-Function, then it was ok (the USB was corrupted) - or used the plop bootloader from a UBCD for booting into the USB (the BIOS, despite having a USB boot menue, had probably an issue with the USB stick; plop was better than the BIOS) |
Most of the newer usb's can be made to be bootable. Many are even sold as being bootable as a sales feature.
When they first came out there were no standard ways. I have an old 128M that took a while for me to convert it to a usb-zip. I have seen more than a few that even HP tools didn't fix. They tended to be some of the older ones. I haven't seen any over 1G that couldn't be fixed. Below 1G is a gamble. HP usb tool is the best choice I have seen to use is you can't get it to work and you are doing the install correctly. The is also a flip bit app that fixed one of mine for a while until it died. |
Thanks for the tip.
Does someone know of a reputable site from which to find the latest "HP USB Disk Storage Format Tool"? Google shows that it's all over the place, and I'd like to make sure I'm downloading the latest and virus-free. |
Using HP's utility, I could successfully boot up with a Linux ISO!
Until now, none of those Windows application could successfully make two of the USB keydrives bootable:
1. Formatted USB keydrive using HP USB Disk Storage Format Tool 2.1.8. This keydrive never booted 2. Installed ISO image (Clonezilla alternative stable 20120620) using Universal-USB-Installer-1.9.0.6 3. Tried booting: OK! 4. Formatted USB keydrive using HP USB Disk Storage Format Tool 2.1.8. This keydrive used to boot, but hasn't worked in months using the three applications. 5. Installed ISO image (Clonezilla alternative stable 20120620) using Universal-USB-Installer-1.9.0.6 6. Tried booting: OK! It's kind of embarassing that only an old application from XP days could do this :-/ |
Next...
1. Formatted problematic USB keydrive using XP's native formatting utility (right-click on keydrive > Format > Quick Format) 2. Used Universal USB Installer to install Clonezilla ISO 3. Booted test host: OK :-/ I don't know how to get back to a broken state, so I could try Rufus ("The Reliable USB Formatting Utility"). Bottom line: If a non-vintage USB keydrive doesn't or no longer boots after having an ISO burned onto it, it might be a good idea to first format it with an alternative utility. |
There is another app that sometimes works. It is a flip bit app that changes how some usb drives are seen by bios.
The simple answer was to throw away the stupid usb and buy a new $4 one. :) |
By "flip bit", do you mean "Removable Media Bit (RMB)"?
Incidently, after using the HP utility, I noticed that the BIOS on the test host now considers the problematic keydrives as "USB Hard Drive" while they weren't advertised that way previously. This would be consistent with the tech info available on Rufus author Pete Batard's site: Quote:
That's a relief, because that means I can buy a bunch of keydrives for a project with more confidence that they can be made bootable. |
All times are GMT -5. The time now is 01:25 PM. |