Ubuntu GRUB installation crashed

Asked by Yves on 2020-01-20

On a Lenova ThinkCentre M81 i3 processor, 8G-Ram & 'fresh' install of UbubtuStudio ~ was successful but at the end (restart) a new black page appears with this; E53: No boot filename received MOF: Exiting Intel Boot Agent. Error 1965: No operating system found. Press any key to repeat boot sequence. Being new to LINUX .:. Ubuntu 19.10 was just installed a week ago and was working great(including installing Ardour, LMMS, Blender etc.) but upon trying to do a 'fresh' install of UbuntuStudio 19.10 something is not working ? Is there anyone who cold help with this please ~ maybe who has successfully dealt with this issue already ? After two unsuccessful tries at opening Ubuntustudio from the harddrive~then tried to run the program directly from the usb stick and that works well. It shows; 24 folders in "File System". 5 of those folders have 'arrows' (bin, lib, lib32, lib64, fibx32 & sbin). The 24 folders in "500GB Volume"(harddrive) are the same except for a greyed-out folder named 'swapfile' & 'root' both of which have an X on them. The 'ubuntu-studio' (home folder) has 8 folders which are all empty except 'desktop' which has the folder ; "Install Ubuntu Studio 19.10" On the main page (blue w/logo) in the "500 GB Volume" folder is the applications ~ which work well(tried a few). So UbuntuStudio seems to work great off of the usb stick/drive but will not open without the usb drive . We gotta get this sorted out, so if any knowlegable volunteers have experience with these sorts of issues please feel free to help out! Thanks in advance It may be bothersome for folks like you but please remember that you are communicating with a 'beginner' so any quick & not precisely explained suggestions are potentially not going to be correctly interpreted, comprehended or executed .
The harddrive is selected as the 1st boot device.
This is not a manual install.
Ubuntu installer may have selected another drive automatically by error. Which may be something developers address?
CMOS battery is new.
Thank-you for trying to help start with troubleshooting ,even-though troubleshooting their OS is something many beginners are not looking forwards to do(hi-hi). Perhaps a BIG warning in RED could be on Ubuntu's download page addressing this reality-for anyone considering to download this OS ? That may spare Ubuntu from plenty of complications ?
 Either way, the process is already underway and presently the Lenovo M81 has no OS now, so what to do other than persist/keep searching for a solution? Could you indicate concise steps to repairing the GRUB on the only harddrive on the Lenovo M81 via the usb stick ? This PC has only one Harddrive. No usb drive plugged in and one empty CD/DVD drive.
On this Lenovo M81 Bios Setup Utility ->Startup there is ;

>Primary Boot Sequence
1: HDD1: PO; WDC WD5000_______(Western Digital 500GB Harddrive)
2: FDD:
3: USB FDD:
4: USB KEY:
5: CD/DVD1: P1: Optiarc DVD RW AD-7250H
6: Network1: IBA GE Slot 00CB v1365

Excluded from boot order:
USB HDD:
USB CD/DVD:

Automatic Boot Sequence->
1: HDD1: PO; WDC WD5000_______(Western Digital 500GB Harddrive)
2: Network1: IBA GE Slot 00CB v1365

Excluded from boot order:
FDD:
CD/DVD1: P1: Optiarc DVD RW AD-7250H
USB FDD:
USB HDD:
USB CD/DVD:
USB KEY:

Error Boot Sequence->
1: HDD1: PO; WDC WD5000_______(Western Digital 500GB Harddrive)
2: Network1: IBA GE Slot 00CB v1365

Excluded from boot order:
FDD:
CD/DVD1: P1: Optiarc DVD RW AD-7250H
USB FDD:
USB HDD:
USB CD/DVD:
USB KEY:

Boot Mode ; (has 3 choices ;
1) AUTO (priority UEFI then Legacy) 2) Legacy 3) EUFI
-presently the 'Boot Order ' is set to LEGACY

Quick Boot is now been DISABLED
DEVICES->
Configure SATA as ;
1 AHCI or 2) IDE
   ....it was AHCI so changed it to IDE*

Native Mode Operation is ENABLED
Hard Disk Pre-Delay DISABLED
External SATA Port ENABLED
SATA Controller ENABLED

Guess What (hi-hi) again ,it' error 1962: No operating system found 😢
So will return all settings to default and try your 2nd suggestion. p.s. . . .unfortunately we live in an isolated small village & know no one around here who is experienced with this *
So ran Ubuntu from the usb stick & typed lsblk into the terminal and got;

  sda
     ----sda1 512M
    l____sda2 465.3G

  sbd 7.5G
   l__sbd1 7.5G part/cdrom

So ran in the terminal sudo grub-install /dev/sda2
but the terminal said it could not be found?So shut it down & unplugged the dvd drive so only the one harddrive is working.....(you can hear it working slightly while loading the programs)
Then made a new bootable usb of UbuntuStudio19.10 with Etcher this time (instead of Rufus last time)and before installing highlighted "check disk for errors" &pressed enter-which took a while but eventually it said everything is okay. So installed UbuntuStudio (erase disk completely & install UbuntuStudio option)but for the first time (after 3or 4 previous attempts over the past few days)got this pop up while the GRUB was installing ; GRUB installation failed....The 'grub-efi-amd64-signed' package failed to install into / target /. . ..Installer crashed ...we're sorry ...........file report
Mind you something must be working because this message is being written to you on the same PC ?

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
2020-01-21
Last reply:
2020-02-05

Is this a dual boot?
Are you using UEFI?

Yves (yves537) said : #2

Hi & thank-you for asking. No this is not a dual boot. There was no operating system on this 500GB harddrive. On a LenovaM81 BIOS there is 3 options ;
1) AUTO
2) EUFI
3) LEGACY
Each option was utilized to try and boot but your question maybe is not not clear?
 Do you mean to say "are you using UEFI when installing UBUNTUSTUDIO' in which the answer is perhaps, as it is set to AUTO.
 Thanks again for your effort to help out *

________________________________
From: <email address hidden> <email address hidden> on behalf of actionparsnip <email address hidden>
Sent: Monday, January 20, 2020 1:27 PM
To: <email address hidden> <email address hidden>
Subject: Re: [Question #688117]: Ubuntu GRUB installation crashed

Your question #688117 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/688117

    Status: Open => Needs information

actionparsnip requested more information:
Is this a dual boot?
Are you using UEFI?

--
To answer this request for more information, you can either reply to
this email or enter your reply at the following page:
https://answers.launchpad.net/ubuntu/+question/688117

You received this question notification because you asked the question.

Yves (yves537) said : #3

OK, so set boot to LEGACY and Hard-drive to 1st boot in all options again. Also disabled quick boot. Here is what happened the previous time and now this time in the terminal - ;

ubuntu-studio@ubuntu-studio:~/Desktop$ sudo grub-install /dev/sda; sudo grub-mkconfig -o /boot/grub/grub.cfg
Installing for i386-pc platform.
grub-install: error: failed to get canonical path of `/cow'.
/usr/sbin/grub-probe: error: failed to get canonical path of `/cow'.

Yves (yves537) said : #4

when typing fdisk /dev/sda this appeared;
Command (m for help): p
Disk /dev/sda: 465.78 GiB, 500107862016 bytes, 976773168 sectors
Disk model: WDC WD5000AAKX-0
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 8C35BEDC-1AF0-4D5D-BFD5-2F2C47C38048

Device Start End Sectors Size Type
/dev/sda1 2048 1050623 1048576 512M EFI System
/dev/sda2 1050624 976771071 975720448 465.3G Linux filesystem

Command (m for help):

Yves (yves537) said : #5

Then typed this

sudo su
fdisk -l

and got this on the terminal;
Command (m for help): sudo su
fdisk -lCreated a new partition 1 of type 'Linux native' and of size 465.7 GiB.
Created a new partition 2 of type 'Linux swap' and of size 47.1 MiB.
Created a new partition 3 of type 'Whole disk' and of size 465.8 GiB.
Created a new Sun disklabel.
The old gpt signature will be removed by a write command.

Command (m for help):

Yves (yves537) said : #6

Dear Parsnip,
  UBUNTUSTUDIO finally installed (after 5 nites of trying)*
. . . by choosing to install along side of UBUNTU 19.10 ?
Select Dive SCSI1 Ubuntu 19.10 /dev/sda2(ext4) 257.5GB Ubuntu Studio /dev/sda2(ext4) 242.0GB
there was an error during the 1st step of installation tho, just before the "Install" Welcome page-"you may wish to read the release notes" which said something like this in multiple repetitions ( a black page that lasted only one second);
Error communicating with TPM chip .....but that can be turned on again in the BIOS which will apparently resolve this issue. Thank-you for any assistance you provided.
p.s. so does this mean both UBUNTU and UBUNTUSTUDIO are installed on this hard-drive and if so how does one decide which to utilize on start-up?

________________________________
From: <email address hidden> <email address hidden> on behalf of actionparsnip <email address hidden>
Sent: Monday, January 20, 2020 1:27 PM
To: <email address hidden> <email address hidden>
Subject: Re: [Question #688117]: Ubuntu GRUB installation crashed

Your question #688117 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/688117

    Status: Open => Needs information

actionparsnip requested more information:
Is this a dual boot?
Are you using UEFI?

--
To answer this request for more information, you can either reply to
this email or enter your reply at the following page:
https://answers.launchpad.net/ubuntu/+question/688117

You received this question notification because you asked the question.

Yves (yves537) said : #7

Nope -choosing the UBUNTU 19.10 option on start-up just brings us to UBUNTUSTUDIO - after a buncha script has been running on a black page background ! Then that UBUNTUSTUDIO won't go to Firefox but restarting and choosing the UBUNTUSTUDIO option seems to work fine again.

________________________________
From: <email address hidden> <email address hidden> on behalf of actionparsnip <email address hidden>
Sent: Monday, January 20, 2020 1:27 PM
To: <email address hidden> <email address hidden>
Subject: Re: [Question #688117]: Ubuntu GRUB installation crashed

Your question #688117 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/688117

    Status: Open => Needs information

actionparsnip requested more information:
Is this a dual boot?
Are you using UEFI?

--
To answer this request for more information, you can either reply to
this email or enter your reply at the following page:
https://answers.launchpad.net/ubuntu/+question/688117

You received this question notification because you asked the question.

Launchpad Janitor (janitor) said : #8

This question was expired because it remained in the 'Open' state without activity for the last 15 days.