LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can not install linux mint, get errors (https://www.linuxquestions.org/questions/linux-newbie-8/can-not-install-linux-mint-get-errors-4175608667/)

sdowney717 06-26-2017 05:51 PM

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?

sdowney717 06-26-2017 05:53 PM

1 Attachment(s)
screen shot image of gparted.
I am installing the os root to sda2, and user to sda3, with grub installed to sda.

Ztcoracat 06-26-2017 07:16 PM

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

hydrurga 06-27-2017 01:29 AM

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

https://sourceforge.net/projects/boot-repair-cd/

sdowney717 06-27-2017 05:11 AM

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.

aragorn2101 06-27-2017 05:33 AM

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.

sdowney717 06-27-2017 05:40 AM

1 Attachment(s)
Quote:

Originally Posted by aragorn2101 (Post 5727696)
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?

sdowney717 06-27-2017 05:48 AM

1 Attachment(s)
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.

aragorn2101 06-27-2017 05:56 AM

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?

sdowney717 06-27-2017 06:02 AM

1 Attachment(s)
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.

sdowney717 06-27-2017 06:04 AM

1 Attachment(s)
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...

aragorn2101 06-27-2017 06:08 AM

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.

sdowney717 06-27-2017 06:12 AM

1 Attachment(s)
Quote:

Originally Posted by aragorn2101 (Post 5727715)
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?

sdowney717 06-27-2017 06:17 AM

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:~$


sdowney717 06-27-2017 06:20 AM

So do I give up?

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


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