Comment 9 for bug 1201257

Revision history for this message
Steve Langasek (vorlon) wrote : Re: [Bug 1201257] Re: Ubuntu doesn't boot from Windows 8 boot menu

On Mon, Jul 15, 2013 at 11:59:02PM -0000, Şâkir Aşçı wrote:
> > How did you prepare the Ubuntu USB disk?

> I've just bought this ASUS computer, so it's very new and I've been
> reading a lot about UEFI before the installation. So, I had Ubuntu 13.04
> installed in my old laptop and I prepared the USB with Ubuntu's pre-
> installed USB installer software (usb-creator-gtk). I was thinking of
> using YUMI or Unetbootin in order to write image under Windows, but I
> thought that may cause changes in the ISO file and so didn't use them.

> Before starting creating USB, I re-downloaded the 13.04 image in order
> to make sure that I have the most updated one, and controlled md5sum
> after the download. Additionally, I also burnt the image to a DVD and
> tried in that way too. I had the same result, so I'm sure that there
> couldn't be anything wrong regarding the installation media.

> So, what to do now? :/

To rule out this being a problem with usb-creator, please rewrite the USB
stick directly using dd. Please note that you must be *very careful* when
using this method: because you are writing to the device directly, if you
get the wrong device name, you can overwrite your system's main disk.

On your existing Ubuntu installation, *before* plugging in your USB stick,
run from the commandline:

 $ ls -l /dev/sdb

this should say:

  ls: cannot access /dev/sdb: No such file or directory

If so, then 'sdb' is the correct device. If not, repeat for sdc, sdd, etc.

Plug the USB stick into the computer, and repeat the last command. If you
have the right device name, it should now show you the device, not an error
message.

Once you have the correct device, run:

 $ sudo dd if=/path/to/ubuntu.iso bs=$((1024*1024)) of =/dev/sdN

where /dev/sdN is the device corresponding to the USB stick.

When that command completes, you will have a USB stick with the unmodified
Ubuntu image. If that still fails, then there's definitely some problem
with shim (though I don't know what). If it succeeds, then it's a bug in
usb-creator.