You are not logged in.

#1 2014-06-14 14:45:50

pepedopolous
Member
Registered: 2012-02-12
Posts: 86

Laptop stopped booting due to EFI boot device problems [SOLVED]

Hi,

I'm writing this from my old laptop. My Lenovo U330 touch will not boot. When I turn it on it states that 'default boot device is missing or boot failed'. It used to go to gummiboot and there were Linux and Windows boot options.

I can boot from an Arch USB drive and chroot but when I try to reinstall gummiboot or grub I get errors:

#gummiboot --path=$esp install
#failed to check filesystem type of install: No such file or directory

# grub-install --target=x86_64-efi --efi-directory=$esp --bootloader-id=grub --recheck --debug
#grub install error failed to get canonical path of `'

On this laptop there are various partitions for EFI and a small Windows 8 partition.

I guess there is some problem with the $esp

It should be /dev/sda2 and / is dev/sda6. All seem to be present and correct with fdisk -l, however, for some reason there is a boot flag on /

I've tried to sort it out for a few hours now. Please if anyone can help that would be amazing.

P

Last edited by pepedopolous (2014-06-22 22:38:55)

Offline

#2 2014-06-14 16:27:16

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,763
Website

Re: Laptop stopped booting due to EFI boot device problems [SOLVED]

What is in your /etc/fstab?
I don't think the /dev/sda<x> numbering is important.
What is the output of:

# gdisk -l /dev/sda

Offline

#3 2014-06-14 17:07:07

pepedopolous
Member
Registered: 2012-02-12
Posts: 86

Re: Laptop stopped booting due to EFI boot device problems [SOLVED]

http://i.imgur.com/JmSCOyK.jpg

/dev/sda6 is the root file system, it is btrfs. I'm not sure why it now shows EFI system???

/dev/sda2 is the $esp

I had /boot as the $esp

Googling around, I've only found info on reinstalling windows from a USB stick!

P

Moderator edit [ewaller] Redacted img tags on over sized image

Last edited by ewaller (2014-06-17 01:45:37)

Offline

#4 2014-06-14 17:20:06

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,763
Website

Re: Laptop stopped booting due to EFI boot device problems [SOLVED]

Can you make the image any larger? I can hardly see it... Maybe a movie is needed tongue

Offline

#5 2014-06-16 19:52:58

surfatwork
Member
Registered: 2012-01-05
Posts: 137

Re: Laptop stopped booting due to EFI boot device problems [SOLVED]

I had this same problem, except on a HP.
The HP has an option to "test" the hard disk, as one of the BIOS options.I did that, the drive didnt report any errors and it worked fine after that. It repeated after a couple of days, and the same procedure got it working again.
I then reformatted the drive and reinstalled everything. Hasn't come back after that.
Perhaps you could try something similar? You can always boot using a flash dirks and backup your data before you reinstall.

Offline

#6 2014-06-17 01:44:01

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: Laptop stopped booting due to EFI boot device problems [SOLVED]

Head_on_a_Stick wrote:

Can you make the image any larger? I can hardly see it... Maybe a movie is needed tongue

Ah, come on!  Don't encourage them tongue

pepedopolous,
I changed your img tags to url tags.  Please see https://wiki.archlinux.org/index.php/Fo … s_and_Code
Thanks


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#7 2014-06-17 10:02:21

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,763
Website

Re: Laptop stopped booting due to EFI boot device problems [SOLVED]

pepedopolous wrote:

[..] it is btrfs. [...]

Try again without using btrfs --- it is not production ready...

Offline

#8 2014-06-18 00:24:09

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Laptop stopped booting due to EFI boot device problems [SOLVED]

Head_on_a_Stick wrote:
pepedopolous wrote:

[..] it is btrfs. [...]

Try again without using btrfs --- it is not production ready...

This is a pretty ridiculous suggestion.  It may not be production ready and it may not be the best choice for the user, but it has nothing to do with the problem at hand.

@OP, are you literally typing:

gummiboot --path=$esp install

If so, $esp is a variable.  So in your case you would need to set esp=/boot.  But gummiboot's default --path for install is actually /boot.  So you should only need to do:

gummiboot install

Offline

#9 2014-06-22 22:37:52

pepedopolous
Member
Registered: 2012-02-12
Posts: 86

Re: Laptop stopped booting due to EFI boot device problems [SOLVED]

@OP, are you literally typing:

gummiboot --path=$esp install

If so, $esp is a variable.  So in your case you would need to set esp=/boot.  But gummiboot's default --path for install is actually /boot.  So you should only need to do:

gummiboot install

Thanks for your help guys. I was entering in the command literally (facepalm). However, I decided to wipe the disk and start again without any space wasted on Windows and recovery partitions.

I'm not sure what was the original source of the booting problem. The Windows LiveUSB repair routines failed to solve it, so good riddance!

Offline

Board footer

Powered by FluxBB