LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-09-2017, 06:11 PM   #1
bniblet
LQ Newbie
 
Registered: Mar 2017
Posts: 13

Rep: Reputation: Disabled
"default boot device missing or boot failed" error


ubuntu 16.04.2.LTS was running fine for almost a week - until this morning. When I woke and started up the computer, all I got was a grub command prompt. After a little while I decided to do a reinstall (erase the disk and just install ubuntu). Now I get the above error in the subject. I have run boot-repair tool, disabled the secure boot in the BIOS, learned a thing or two about gparted, fdisk, some other tools, but still no luck booting from the hard disk.

When I press enter I get one option, shimx86. From there if I hit esc or enter I get the error again. For a little while, if I hit esc I got the grub prompt, but that was hours and several reinstalls ago.

Checked for similar threads before posting, some looked promising, but none were similar enough to help.

The latest paste thingy that boot-repair spat out is here: http://paste.ubuntu.com/24148806/

Hoping for some help! Thanks!
 
Old 03-09-2017, 07:14 PM   #2
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch
Posts: 1,253

Rep: Reputation: 467Reputation: 467Reputation: 467Reputation: 467Reputation: 467
Quote:
Originally Posted by bniblet View Post
ubuntu 16.04.2.LTS was running fine for almost a week - until this morning. When I woke and started up the computer, all I got was a grub command prompt. After a little while I decided to do a reinstall (erase the disk and just install ubuntu). Now I get the above error in the subject. I have run boot-repair tool, disabled the secure boot in the BIOS, learned a thing or two about gparted, fdisk, some other tools, but still no luck booting from the hard disk.

When I press enter I get one option, shimx86. From there if I hit esc or enter I get the error again. For a little while, if I hit esc I got the grub prompt, but that was hours and several reinstalls ago.

Checked for similar threads before posting, some looked promising, but none were similar enough to help.

The latest paste thingy that boot-repair spat out is here: http://paste.ubuntu.com/24148806/

Hoping for some help! Thanks!
Hey bniblet - can you confirm that your computer is UEFI-based ? The bootinfo summary would seem to indicate that. When you reinstalled Ubuntu, did everything go normally ?

There is one particularity in your grub.cfg file that struck me as odd .. : grub is looking for a kernel to boot on sda2 named /boot/vmlinuz-4.8.0-41-generic.efi.signed ... I have never seen the ".signed" extension before. ... Anyone else ?
 
Old 03-09-2017, 07:20 PM   #3
bniblet
LQ Newbie
 
Registered: Mar 2017
Posts: 13

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Rickkkk View Post
Hey bniblet - can you confirm that your computer is UEFI-based ? The bootinfo summary would seem to indicate that. When you reinstalled Ubuntu, did everything go normally ?

There is one particularity in your grub.cfg file that struck me as odd .. : grub is looking for a kernel to boot on sda2 named /boot/vmlinuz-4.8.0-41-generic.efi.signed ... I have never seen the ".signed" extension before. ... Anyone else ?
Indeed this computer is ufei based, even though the paste in file references a mbr. When I run the install, everything goes swimmingly. Then I reboot and find the same error... I am running repair - boot again right now, with a few options changed.
 
Old 03-09-2017, 07:43 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 19,719

Rep: Reputation: 3550Reputation: 3550Reputation: 3550Reputation: 3550Reputation: 3550Reputation: 3550Reputation: 3550Reputation: 3550Reputation: 3550Reputation: 3550Reputation: 3550
Very hard to help if the ground keeps moving. When you stop changing things post the (latest) boot-repair link. I'll check back in a couple of days.
 
Old 03-09-2017, 07:51 PM   #5
bniblet
LQ Newbie
 
Registered: Mar 2017
Posts: 13

Original Poster
Rep: Reputation: Disabled
Just tried boot-repair using the "advanced options", changed a few things I am too exhausted to remember off hand. At some point a dialog said to open a terminal and run 3 commands. The first one was

sudo chroot "mnt/boot-sav/sda2" dpkg-configfile -a

which returned that there is no such directory as mnt/boot-sav/sda2, so I decided to quit out of the repair, and run the 'recommended' version. Tried to reboot from the disk just to see what would happen and got the same error. This time around the pastebin is http://pastebin.org/fzjJWg2x

Also found a couple more instances of 'signed' items for you Rickkkkk in the last command (which I did not run).
sudo chroot "mnt/boot-sav/sda2" apt-get purge -y -force-yes grub *common shim-signed linux-signed*
 
Old 03-09-2017, 07:54 PM   #6
bniblet
LQ Newbie
 
Registered: Mar 2017
Posts: 13

Original Poster
Rep: Reputation: Disabled
Wink

Quote:
Originally Posted by syg00 View Post
Very hard to help if the ground keeps moving. When you stop changing things post the (latest) boot-repair link. I'll check back in a couple of days.
sorry syg00 I'll give it a rest now and stop changing things!

Thanks for replying guys!
 
Old 03-09-2017, 08:12 PM   #7
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch
Posts: 1,253

Rep: Reputation: 467Reputation: 467Reputation: 467Reputation: 467Reputation: 467
bniblet,

Happy to help if I can.

Looked up this "signed" business ... Turns out it's particular to Ubuntu (at least ...) for systems with Secure Boot. It needs shimx86.efi to function. I found this reference, which may be of use to you:

http://askubuntu.com/questions/88381...ric-efi-signed

Hope it may help.
 
Old 03-09-2017, 08:46 PM   #8
bniblet
LQ Newbie
 
Registered: Mar 2017
Posts: 13

Original Poster
Rep: Reputation: Disabled
Thanks for the link Rickkkk. One of the things I changed last time around was to disable Secure Boot, which must be why it wanted to purge the signed files.
 
Old 03-11-2017, 04:51 PM   #9
bniblet
LQ Newbie
 
Registered: Mar 2017
Posts: 13

Original Poster
Rep: Reputation: Disabled
Bump

Just got back from a little trip. I didn't bring the computer. Anyway I used bootrepair to create another log just now and here's the URL: http://paste.ubuntu.com/24160489/ I am not going to screw around with it just yet so nothing is going to change. Thanks for looking!
 
Old 03-12-2017, 07:59 AM   #10
bniblet
LQ Newbie
 
Registered: Mar 2017
Posts: 13

Original Poster
Rep: Reputation: Disabled
Just changed the 'boot' option in the BIOS screen from 'UEFI' to 'Legacy' and booted up just fine. So I guess the problem is solved. Seems like kind of a chintsy solution though. Shouldn't I be able to use UEFI as I did before?
 
Old 03-12-2017, 09:46 AM   #11
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch
Posts: 1,253

Rep: Reputation: 467Reputation: 467Reputation: 467Reputation: 467Reputation: 467
Quote:
Originally Posted by bniblet View Post
Just changed the 'boot' option in the BIOS screen from 'UEFI' to 'Legacy' and booted up just fine. So I guess the problem is solved. Seems like kind of a chintsy solution though. Shouldn't I be able to use UEFI as I did before?
You can, but you have to make sure you create your bootable media (USB drive) using the appropriate steps for both your UEFI system and the particular ISO you are using. It should be more intuitive, but it's not quite there yet ... ;-)

Glad to hear you got it going by booting in "legacy" mode.

Cheers !
 
Old 03-12-2017, 10:21 AM   #12
bniblet
LQ Newbie
 
Registered: Mar 2017
Posts: 13

Original Poster
Rep: Reputation: Disabled
I used the same ISO on the same USB drive to install before (and it worked) and it seems to me I was always in UEFI mode up til now. Anyway thanks for checking in Rickkkk.
 
  


Reply

Tags
boot err msg.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"Failed to claim resource" and "platform device creation failed" when trying to boot Linux from USB on HP laptop Desertman194 Linux - Laptop and Netbook 5 11-10-2016 04:48 PM
"Default Boot Device Missing or Boot Failed" Error Message LarryHale Linux - Laptop and Netbook 1 03-24-2016 08:43 PM
elementary OS Freya: "Failed Waiting Boot Device" AmsterDan Linux - Newbie 4 03-19-2015 09:14 PM
"No root device found.Boot has failed.sleeping forever." on rhel6 when compile kernel upo Linux - Kernel 12 08-23-2011 01:23 AM
Linux appears to install normally, but with "Missing OS" error on boot? Linux>Me Fedora - Installation 22 11-14-2006 06:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration