You are not logged in.
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
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
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
Can you make the image any larger? I can hardly see it... Maybe a movie is needed
Offline
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
Can you make the image any larger? I can hardly see it... Maybe a movie is needed
Ah, come on! Don't encourage them
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
[..] it is btrfs. [...]
Try again without using btrfs --- it is not production ready...
Offline
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
@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