BTS

Issue1306

Title Unable to boot to USB disk using EFI/UEFI
Priority bug Status resolved
Superseder Nosy List daniel.walton, mika
Assigned To mika Topics

Created on 2014-04-29.07:06:52 by daniel.walton, last changed 2014-06-16.07:08:51 by mika.

Files
File name Uploaded Type Edit Remove
unnamed daniel.walton, 2014-05-12.01:16:40 text/html
unnamed daniel.walton, 2014-05-26.11:25:23 text/html
unnamed daniel.walton, 2014-06-16.00:54:01 text/html
Messages
msg4818 (view) Author: mika Date: 2014-06-16.07:08:51
Thanks for verifying and your feedback, Daniel!

regards,
-mika-
msg4817 (view) Author: daniel.walton Date: 2014-06-16.00:54:01
that works perfectly.

I copied the /boot/efi.img file to the grml 2014.03 bootable USB I had made
and it resolved the EFI booting issues.

Thanks.


On Mon, May 26, 2014 at 9:07 PM, Michael Prokop <bts@bts.grml.org> wrote:

>
> Michael Prokop <mika@grml.org> added the comment:
>
> Hi,
>
> I've just verified this for the most recent build of grml64-small (being
> https://jenkins.grml.org/job/grml64-small_sid/881/artifact/grml_isos/ as
> of
> now), works as expected with grml2usb 0.14.4 (verified the result via
> "qemu-system-x86_64 -bios /usr/share/ovmf/OVMF.fd [...]"). This is a
> problem of
> the 2014.03 ISOs (which I just verified, got the same error message as you)
> which lack the bug fix for UEFI boot which is included in recent grml-live
> versions
> (
> https://github.com/grml/grml-live/commit/8d91fa8e1b3b6d46a1333928a7384a463868cce0
> ),
> so all the new Grml builds should be working just fine.
>
> regards,
> -mika-
>
> ----------
> assignedto:  -> mika
> nosy: +mika
> status: need-eg -> resolved
>
> _____________________________________
> GRML issue tracker <bts@bts.grml.org>
> <http://bts.grml.org/grml/issue1306>
> _____________________________________
>
msg4811 (view) Author: daniel.walton Date: 2014-05-26.11:25:23
Ok cool.
I'll try a newer one.
Thanks
On 26/05/2014 9:07 PM, "Michael Prokop" <bts@bts.grml.org> wrote:

>
> Michael Prokop <mika@grml.org> added the comment:
>
> Hi,
>
> I've just verified this for the most recent build of grml64-small (being
> https://jenkins.grml.org/job/grml64-small_sid/881/artifact/grml_isos/ as
> of
> now), works as expected with grml2usb 0.14.4 (verified the result via
> "qemu-system-x86_64 -bios /usr/share/ovmf/OVMF.fd [...]"). This is a
> problem of
> the 2014.03 ISOs (which I just verified, got the same error message as you)
> which lack the bug fix for UEFI boot which is included in recent grml-live
> versions
> (
> https://github.com/grml/grml-live/commit/8d91fa8e1b3b6d46a1333928a7384a463868cce0
> ),
> so all the new Grml builds should be working just fine.
>
> regards,
> -mika-
>
> ----------
> assignedto:  -> mika
> nosy: +mika
> status: need-eg -> resolved
>
> _____________________________________
> GRML issue tracker <bts@bts.grml.org>
> <http://bts.grml.org/grml/issue1306>
> _____________________________________
>
msg4809 (view) Author: mika Date: 2014-05-26.11:07:20
Hi,

I've just verified this for the most recent build of grml64-small (being
https://jenkins.grml.org/job/grml64-small_sid/881/artifact/grml_isos/ as of
now), works as expected with grml2usb 0.14.4 (verified the result via
"qemu-system-x86_64 -bios /usr/share/ovmf/OVMF.fd [...]"). This is a problem of
the 2014.03 ISOs (which I just verified, got the same error message as you)
which lack the bug fix for UEFI boot which is included in recent grml-live
versions
(https://github.com/grml/grml-live/commit/8d91fa8e1b3b6d46a1333928a7384a463868cce0),
so all the new Grml builds should be working just fine.

regards,
-mika-
msg4803 (view) Author: daniel.walton Date: 2014-05-12.01:16:40
That solves the booting from a dd'd USB disk , but a disk created by
grml2usb still has issues booting. Copying the files from 13.09 that i
mentioned earlier fixes it.




On Fri, May 9, 2014 at 1:36 AM, Michael Prokop <bts@bts.grml.org> wrote:

>
> Michael Prokop <mika@grml.org> added the comment:
>
> Daniel, could you please be so kind and give one of the
> http://daily.grml.org/
> ISOs that will be available as of tomorrow a shot? We have a pending fix in
>
> https://github.com/grml/grml-live/commit/8d91fa8e1b3b6d46a1333928a7384a463868cce0which
> hopefully addresses your issue and the ISOs that are available as of
> tomorrow
> (2014-05-09) are supposed to include that fix.
>
> ----------
> status: chatting -> need-eg
>
> _____________________________________
> GRML issue tracker <bts@bts.grml.org>
> <http://bts.grml.org/grml/issue1306>
> _____________________________________
>
msg4802 (view) Author: mika Date: 2014-05-08.15:36:02
Daniel, could you please be so kind and give one of the http://daily.grml.org/
ISOs that will be available as of tomorrow a shot? We have a pending fix in
https://github.com/grml/grml-live/commit/8d91fa8e1b3b6d46a1333928a7384a463868cce0 which
hopefully addresses your issue and the ISOs that are available as of tomorrow
(2014-05-09) are supposed to include that fix.
msg4801 (view) Author: daniel.walton Date: 2014-04-30.06:35:29
only tried with the grml96 flavour
msg4800 (view) Author: daniel.walton Date: 2014-04-30.06:34:41
I got grub/uefi booting working by copying the /efi/boot/bootx64 file from
GRML 2013.9
msg4799 (view) Author: mika Date: 2014-04-30.06:33:02
Hm, this could be related to
https://github.com/grml/grml-live/commit/d3e8ff25fa98d39f794af4c8c151ca17f110bc6b -
are you able to reproduce the problem with the grml64 flavour as well?
msg4798 (view) Author: daniel.walton Date: 2014-04-30.06:15:52
Seems as GRUB boot mode is broken for USB disks.

If i create a grml USB disk usingthe --grub option it doesn't boot at all.

e.g.
grml2usb --grub /lib/live/mount/medium /dev/sdb1
msg4797 (view) Author: daniel.walton Date: 2014-04-29.07:42:05
From mucking around in the grub rescue mode it seems as it doesn't have
msdos filesystem support.
On 29/04/2014 5:06 PM, "Daniel Walton" <bts@bts.grml.org> wrote:

>
> New submission from Daniel Walton <daniel.walton@gmail.com>:
>
> Have tried two methods to boot USB disks using EFI/UEFI
> ### 1. USB disk created using dd cdrom.iso > usb disk
> What steps will reproduce the problem?
>
> create usb disk by using dd/ddrescue onto a usb flash drive.
> in my case i used the following command after booting from the grml CD
>
> ddrescue --force /dev/cdrom /dev/sdb
>
>
> What is the expected output? What do you see instead?
> For PC and MAC (imac)
>   no UEFI boot option appears for the usb disk (grml 2013.9 installed to
> USB
> disk works fine)
>
>
> What version of the product are you using? On what operating system?
>
> Using grml 2014.03 full 96
> On a newish PC that allows UEFI as well as legacy booting methods.
>
> ### 2. USB disk created using "grml2usb /dev/cdrom /dev/sdb1" to usb stick
> with
> formatted fat32 partition
> What steps will reproduce the problem?
>
> make USB stick and then try to boot from a MAC or a PC with UEFI capability
>
>
> What is the expected output? What do you see instead?
>
> On PC& MAC the drive appears and shows it has EFI/UEFI booting capability
> but
> when you boot the following error occurs. (within the """ delimiters)
>
> """
> unknown command 'normal'.
> E: Could not find root device!
> Error: no such device: /conf/bootid.txt
> Entering rescue mode...
> grub rescue>
> """
>
> What version of the product are you using? On what operating system?
>
> Using grml 2014.03 full 96
>
> On a newish PC that allows UEFI as well as legacy booting methods.
>
> ----------
> messages: 4796
> nosy: daniel.walton
> priority: bug
> status: unread
> title: Unable to boot to USB disk using EFI/UEFI
>
> _____________________________________
> GRML issue tracker <bts@bts.grml.org>
> <http://bts.grml.org/grml/issue1306>
> _____________________________________
>
msg4796 (view) Author: daniel.walton Date: 2014-04-29.07:06:52
Have tried two methods to boot USB disks using EFI/UEFI
### 1. USB disk created using dd cdrom.iso > usb disk
What steps will reproduce the problem?

create usb disk by using dd/ddrescue onto a usb flash drive.
in my case i used the following command after booting from the grml CD

ddrescue --force /dev/cdrom /dev/sdb


What is the expected output? What do you see instead?
For PC and MAC (imac)
  no UEFI boot option appears for the usb disk (grml 2013.9 installed to USB
disk works fine)


What version of the product are you using? On what operating system?

Using grml 2014.03 full 96
On a newish PC that allows UEFI as well as legacy booting methods.

### 2. USB disk created using "grml2usb /dev/cdrom /dev/sdb1" to usb stick with
formatted fat32 partition
What steps will reproduce the problem?

make USB stick and then try to boot from a MAC or a PC with UEFI capability


What is the expected output? What do you see instead?

On PC& MAC the drive appears and shows it has EFI/UEFI booting capability but
when you boot the following error occurs. (within the """ delimiters)

"""
unknown command 'normal'.
E: Could not find root device!
Error: no such device: /conf/bootid.txt
Entering rescue mode...
grub rescue>
"""

What version of the product are you using? On what operating system?

Using grml 2014.03 full 96

On a newish PC that allows UEFI as well as legacy booting methods.
History
Date User Action Args
2014-06-16 07:08:51mikasetstatus: chatting -> resolved
messages: + msg4818
2014-06-16 00:54:01daniel.waltonsetfiles: + unnamed
messages: + msg4817
2014-05-26 11:25:23daniel.waltonsetfiles: + unnamed
status: resolved -> chatting
messages: + msg4811
2014-05-26 11:07:21mikasetstatus: need-eg -> resolved
assignedto: mika
messages: + msg4809
nosy: + mika
2014-05-12 01:16:40daniel.waltonsetfiles: + unnamed
messages: + msg4803
2014-05-08 15:36:02mikasetstatus: chatting -> need-eg
messages: + msg4802
2014-05-01 07:40:55daniel.waltonsetfiles: - unnamed
2014-05-01 07:40:52daniel.waltonsetfiles: - unnamed
2014-05-01 07:40:48daniel.waltonsetfiles: - unnamed
2014-04-30 06:35:29daniel.waltonsetfiles: + unnamed
messages: + msg4801
2014-04-30 06:34:41daniel.waltonsetfiles: + unnamed
messages: + msg4800
2014-04-30 06:33:02mikasetmessages: + msg4799
2014-04-30 06:15:52daniel.waltonsetfiles: + unnamed
messages: + msg4798
2014-04-29 23:05:18daniel.waltonsetfiles: - unnamed
2014-04-29 07:42:05daniel.waltonsetfiles: + unnamed
status: unread -> chatting
messages: + msg4797
2014-04-29 07:06:52daniel.waltoncreate