[SOLVED] Installation issue. Can't intall the grub file.
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have 3 drives on my PC. I formatted windows 7 and am trying to install ubuntu on 1 with 1 for a swap file and the other saved files. Ubuntu still thinks I have another operating system and each time I try to install at the end of the installation I get the message "the grub-efi-amd-signed package failed to install into/ target/. Without the grub boot loader the installed system will not boot." So how do I get rid of my windows boot loader and replace it with the grub boot loader? Thanks.
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
Rep:
Try installing the boot loader to the first drive. If the step fails, boot with the rescue system and install it that way. But you might need to know whether thew system uses UEFI or BIOS. Most systems can use both, but only one at a time. Virtualbox works so well now, it's hardly worth multi-booting.
Thanks but I just checked and with ubuntu 16 I do not have the rescue boot option. Another question at the beginning just after choosing language it says I have another system with a bios and gives the option to proceed saying the other system won't work (neither works) or go back and change installation type. I have 3 drives. What type of file system should the Linux system and swap drive and my storage drive be. ext4,ext3,ext2, swap area, btrfs, jfs, xfs, fat16, fat32, efi ?
Running https://github.com/arvidjaar/bootinfoscript can tell you and us what's going on, allowing someone to figure out what to do next. It sounds to me like you have a UEFI system and have been trying to install in legacy mode without eradicating the existing UEFI/ESP partition.
Run the script as a sudoer? Not sure what that means and I don't have an operating system on the computer to run the script. I expect you are right I need to eradicate something (bios boot loader?) but it is not visible.
Bootinfoscript is just a script. Every installation media I've run across provides a shell cmdline that can run a script, typically via Ctrl-Alt-F2 if not others. The script can be on a floppy, CD, HD partition, USB device, anywhere you can put and get access to it.
If you had windows 7 installed you more than likely still have some ntfs data filesystems on some of your partitions?? Windows 7 was by default a Legacy install with no EFI and the message you are reporting shows that you are trying to install Ubuntu UEFI. I would suggest that you read the link below which is the Ubuntu documentation on dual booting with windows UEFI as it has an explanation of how you can set your computer to boot UEFI or Legacy and what you would expect to see when booting either. You need to decide whether to install UEFI or Legacy/MBR and that depends upon what your end goal is. If you only expect to install Ubuntu, it should not matter much.
Also, getting the bootinfoscript and running it from the Ubuntu install meddia or booting the Ubuntu install media and going to the site below and getting boot repair, downloading and running it per the detailed instructions would provide much more helpful information and someone should be able to help.
I went through both of your links and tried and a number of things and I don't know exactly how but something worked and I got it installed and saved my files from the windows system. Thanks so much everyone's help.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.