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 06-26-2017, 05:51 PM   #1
sdowney717
Member
 
Registered: Sep 2015
Posts: 495

Rep: Reputation: Disabled
Can not install linux mint, get errors


The 'grub-efi-amd64-signed' package failed to install into /target/. Without the GRUB boot loader, the installed system will not boot.

Why??
I created partitions, and mint installer can not do the job?
 
Old 06-26-2017, 05:53 PM   #2
sdowney717
Member
 
Registered: Sep 2015
Posts: 495

Original Poster
Rep: Reputation: Disabled
screen shot image of gparted.
I am installing the os root to sda2, and user to sda3, with grub installed to sda.
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2017-06-26 18-51-56.png
Views:	149
Size:	46.2 KB
ID:	25330  
 
1 members found this post helpful.
Old 06-26-2017, 07:16 PM   #3
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174
Did you install to the MBR?
Try boot repair:-

https://forums.linuxmint.com/viewtopic.php?t=241498

https://ubuntuforums.org/showthread.php?t=2346196

You could also install Grub manually if need be.

Login with Live CD or usb as root
-Find out linux disk with fdisk -l
mount it
mount /dev/sda /mnt (sapce after mount and a space after sda
To Recover
grub-install –root-directory=/mnt /dev/sda
 
Old 06-27-2017, 01:29 AM   #4
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917
If other solutions fail, consider using a BootRepairDisk live disk to repair Grub:

https://sourceforge.net/projects/boot-repair-cd/
 
Old 06-27-2017, 05:11 AM   #5
sdowney717
Member
 
Registered: Sep 2015
Posts: 495

Original Poster
Rep: Reputation: Disabled
I tried boot-repair installed from liveusb, it did not work.
I have tried lots of stuff, nothing works.
I tried the manual install and update of grub.
I have also sought help on mintforums

https://forums.linuxmint.com/viewtop...33974#p1333974

NOTHING will make it boot linux.
It does run win10, win7.

I have a situation here where I do boot ubuntu from this board off a different hard drive.
I had installed ubuntu on a different PC, when that PC failed, I put the drive in this PC and it boots up.

BUT this motherboard will not boot new install of either mint or ubuntu,
Board is MSI 760GM-E51

I have no clue as to what is going on anymore with this thing.
I am using ubuntu on it to type this message.

My guess is If I want to install a new version of linux, I will be left with a non booting system. So I am really stuck and will have to buy a new PC to run linux or live with old linux OS. Better hope the hard drive does not crash.

I read other people say about this motherboard, bios supports UEFI and motherboard does not, but these KID compute geek wannabes don't really have a clue and give out worthless info, what ever pops into their heads.

My recommendation, do not buy MSI products. Buy Motherboards where UEFI can be disabled.
Scream at linux programmers to really fix UEFI install errors, no one trying to install linux should get cryptic UEFI errors on an install.
My guess is there are plenty of folk out there who wanted to install linux but could not because of UEFI errors, but they are the silent majority and do not post complaints on message boards.

On a FRESH installer install with a blank drive, the linux installer complains that this computer bios has booted in UEFI mode and the drive has os installed in bios mode and says this may prevent it from booting, if you FORCE a UEFI install to move forward... It does that with a blank hard drive, one that the installer erased.

Perhaps the drive needs to be formatted with NTFS, somehow totally wiped. I just do not know.

Last edited by sdowney717; 06-27-2017 at 05:28 AM.
 
Old 06-27-2017, 05:33 AM   #6
aragorn2101
Member
 
Registered: Dec 2012
Location: Mauritius
Distribution: Slackware
Posts: 553

Rep: Reputation: 277Reputation: 277Reputation: 277
Hi,

I seriously think there is a good explanation for your problems and I am also a little confused about your last post (#5).

From the screenshot you uploaded, I can see the disk is MBR.

So, for clearing out all doubts here, can you please explain carefully what happened? I know UEFI systems quite well and I think I can help, even if it is not a UEFI problem :-).

So, you have a PC with MSI 760GM-E51. You successfully boot it up to now. What type of hard disk did you have on it and what OS's did you use to boot on it? A screenshot of this hard disk's config will be nice as well.

Then, please tell us what you did next. Another PC of yours crashed and you brought it's hard disk and plugged it into this one? How did you plug it? Which SATA or anything else?

After that, what did you notice changed at boot of this PC? What did you try? What errors?

I'm sorry if you find me irritating. I think if we get all the information clearly, we can find a solution quite fast.
 
Old 06-27-2017, 05:40 AM   #7
sdowney717
Member
 
Registered: Sep 2015
Posts: 495

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by aragorn2101 View Post
Hi,

I seriously think there is a good explanation for your problems and I am also a little confused about your last post (#5).

From the screenshot you uploaded, I can see the disk is MBR.

So, for clearing out all doubts here, can you please explain carefully what happened? I know UEFI systems quite well and I think I can help, even if it is not a UEFI problem :-).

So, you have a PC with MSI 760GM-E51. You successfully boot it up to now. What type of hard disk did you have on it and what OS's did you use to boot on it? A screenshot of this hard disk's config will be nice as well.

Then, please tell us what you did next. Another PC of yours crashed and you brought it's hard disk and plugged it into this one? How did you plug it? Which SATA or anything else?

After that, what did you notice changed at boot of this PC? What did you try? What errors?

I'm sorry if you find me irritating. I think if we get all the information clearly, we can find a solution quite fast.
I think I see why I am having problem, it may not be the bios, or the motherboard, IT SEEMS to be the WD hard drive.
I booted win7 and it shows the truth, these is an EFI partiton on thedrive of 512mb. However win7 diskmanagement will not allow me to delete that EFI partition.

What do you think?
Attached Thumbnails
Click image for larger version

Name:	efi.PNG
Views:	37
Size:	33.3 KB
ID:	25336  
 
Old 06-27-2017, 05:48 AM   #8
sdowney717
Member
 
Registered: Sep 2015
Posts: 495

Original Poster
Rep: Reputation: Disabled
Code:
Method 1. How to delete EFI partition with Diskpart

Step 1. Hit "Windows Key + R to open the run dialogue box, enter "diskpart" and click "OK" to open a black command prompt window.

Step 2. Type "list disk" to display all the disks of your computer. Type "select disk n" to identify which disk you need to work with. Here n stands for the disk letter.

Step 3. Type "list partition" to display all the volumes on the hard drive. Type "select partition n" to identify which partition you want to remove. Here n stands for the volume letter.

Step 4. Type "delete partition override" to remove the EFI partition. Finally, type "exit" to close the windows when you receive the message says, DiskPart successfully deleted the selected partition".
The EFI partiton is now gone from disk 1 using windows7.

Will now try to reinstall ubuntu.

My original goal was to setup the drive with an NTFS partiton at the front and then 2 small os partitions, then 2 EXT4 partitions for users then swap.
So was to be able to boot mint and ubuntu with seperate os partition from users.
Attached Thumbnails
Click image for larger version

Name:	efi2.PNG
Views:	23
Size:	85.5 KB
ID:	25337  

Last edited by sdowney717; 06-27-2017 at 05:50 AM.
 
Old 06-27-2017, 05:56 AM   #9
aragorn2101
Member
 
Registered: Dec 2012
Location: Mauritius
Distribution: Slackware
Posts: 553

Rep: Reputation: 277Reputation: 277Reputation: 277
Ah, you have 3 disks. Since that one had an EFI partition, it must also have a GPT disk format.

Where do you want to install your Mint? On that disk 1?

Last edited by aragorn2101; 06-27-2017 at 06:06 AM.
 
Old 06-27-2017, 06:02 AM   #10
sdowney717
Member
 
Registered: Sep 2015
Posts: 495

Original Poster
Rep: Reputation: Disabled
I only want it installed on one hard drive, I pulled every drive out of the PC.

I removed the 512 mb efi partition.

I booted ubuntu liveusb
I partioned the drive using gparted

installer is giving me the same warning.
Which means the linux os will not boot.
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2017-06-27 10-59-37.jpg
Views:	81
Size:	111.7 KB
ID:	25338  
 
Old 06-27-2017, 06:04 AM   #11
sdowney717
Member
 
Registered: Sep 2015
Posts: 495

Original Poster
Rep: Reputation: Disabled
here is the new gparted partitions.
There is only 1 drive in the pc

So far it has been impossible to create a working install, i am assuming due to uefi.

I have been working on this for several days...
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2017-06-27 11-03-27.png
Views:	35
Size:	55.8 KB
ID:	25339  

Last edited by sdowney717; 06-27-2017 at 06:06 AM.
 
Old 06-27-2017, 06:08 AM   #12
aragorn2101
Member
 
Registered: Dec 2012
Location: Mauritius
Distribution: Slackware
Posts: 553

Rep: Reputation: 277Reputation: 277Reputation: 277
At the beginning the disk was in MBR format. This is causing the error. You have to check with Gparted if the disk is not in GPT format. Then you can proceed.
 
Old 06-27-2017, 06:12 AM   #13
sdowney717
Member
 
Registered: Sep 2015
Posts: 495

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by aragorn2101 View Post
At the beginning the disk was in MBR format. This is causing the error. You have to check with Gparted if the disk is not in GPT format. Then you can proceed.
how to check?

ok, from device info says it is in gpt partition table, is that good or bad?
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2017-06-27 11-13-35.png
Views:	27
Size:	110.4 KB
ID:	25340  

Last edited by sdowney717; 06-27-2017 at 06:14 AM.
 
Old 06-27-2017, 06:17 AM   #14
sdowney717
Member
 
Registered: Sep 2015
Posts: 495

Original Poster
Rep: Reputation: Disabled
parted info for disk
Code:
ubuntu@ubuntu:~$  sudo parted -l
Model: ATA SAMSUNG HD102UJ (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system     Name  Flags
 1      1049kB  32.0GB  32.0GB  ext4
 2      32.0GB  486GB   454GB   ext4
 3      486GB   517GB   30.8GB  ext4
 4      517GB   984GB   467GB   ext4
 5      984GB   1000GB  16.4GB  linux-swap(v1)


Model: SanDisk Cruzer (scsi)
Disk /dev/sdb: 4005MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 1      4194kB  4005MB  4000MB  primary  fat32        boot


ubuntu@ubuntu:~$
 
Old 06-27-2017, 06:20 AM   #15
sdowney717
Member
 
Registered: Sep 2015
Posts: 495

Original Poster
Rep: Reputation: Disabled
So do I give up?

I can try these suggestions I found
https://help.ubuntu.com/community/UEFI

Last edited by sdowney717; 06-27-2017 at 06:22 AM.
 
  


Reply


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
[SOLVED] Linux Mint 17.3 Unable to Update Errors Ztcoracat Linux Mint 8 01-21-2017 04:52 PM
Installing Mint 18 alongside Mint 18 and partition errors Novatian Linux - Newbie 6 12-08-2016 08:38 AM
Linux Mint 17.3 Cinnamon errors taperwil Linux - Newbie 8 01-23-2016 09:14 PM
Errors while updating Linux Mint 16 lpvmc Linux Mint 8 09-23-2015 08:04 PM
Newbie with Mint/ Linux needs to install Clam AV in Mint after 4 Wdws Trogan attack BAKEAPPLEFARM Linux Mint 6 03-24-2010 08:38 PM

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

All times are GMT -5. The time now is 08:49 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