I can’t install Ubuntu.
Solved
Le_reblochon_gamer
Posted messages
92
Status
Membre
-
jeannets Posted messages 28331 Registration date Status Contributeur Last intervention -
jeannets Posted messages 28331 Registration date Status Contributeur Last intervention -
Hello, I have a PC model HP 20-r101nf AiO PC FR, and I can't install Ubuntu 19.10 on my PC because Grub won't install. How can I fix this problem?
16 réponses
Hi,
Since your PC is not listed by malbo on the Ubuntu site, you'll need to improvise. In my opinion, you have several options to get out of this situation:
1. Reinstall Windows 10. Many HPs have a UEFI locked to Windows Boot Manager. You can always try a dual-boot later on.
2. If a Legacy or CSM-ROM option exists in the BIOS, enable it and install Ubuntu in that mode. This is the common solution suggested if this option is available.
3. If you prefer UEFI, install Ubuntu without GRUB and try using Refind as a boot manager.
4. Another UEFI option, install without GRUB, then add GRUB manually without writing to NVRAM, and manually add the entry from the BIOS, or modify shimx64.efi to make the PC think it boots Windows.
These suggestions are frequently discussed on the Ubuntu forum (especially Acers face the same NVRAM locking issue). I recommend starting a topic over there and including a boot-info report right away to save time. The "secure-boot," "bootmgr /BCD," or "grub4dos" solutions are suggested by people who don't know what they're talking about.
Since your PC is not listed by malbo on the Ubuntu site, you'll need to improvise. In my opinion, you have several options to get out of this situation:
1. Reinstall Windows 10. Many HPs have a UEFI locked to Windows Boot Manager. You can always try a dual-boot later on.
2. If a Legacy or CSM-ROM option exists in the BIOS, enable it and install Ubuntu in that mode. This is the common solution suggested if this option is available.
3. If you prefer UEFI, install Ubuntu without GRUB and try using Refind as a boot manager.
4. Another UEFI option, install without GRUB, then add GRUB manually without writing to NVRAM, and manually add the entry from the BIOS, or modify shimx64.efi to make the PC think it boots Windows.
These suggestions are frequently discussed on the Ubuntu forum (especially Acers face the same NVRAM locking issue). I recommend starting a topic over there and including a boot-info report right away to save time. The "secure-boot," "bootmgr /BCD," or "grub4dos" solutions are suggested by people who don't know what they're talking about.
jeannets
Posted messages
28331
Registration date
Status
Contributeur
Last intervention
Ambassadeur
6 597
Hello,
Does UBUNTU work on this PC? Booting from a DVD for example? What media do you have?
I believe this PC has an AMD processor... is your Ubuntu compatible with AMD?
-- Are you looking to install it in dual boot while keeping Windows at the same time?
-- It is possible that the BIOS is configured for Windows 10 for example, and Ubuntu is not properly matched.
-- Normally, the installation of Ubuntu ends with the setup of GRUB-2... which GRUB are you talking about?
-- Often, you need to use Windows' BCD system to boot Linux
Or use GRUB4-DOS which allows coexistence
So, please answer the questions so we can better understand what you're trying to do... and how?
Because it is quite difficult to describe a GRUB setup that can become complicated with so little text.
Does UBUNTU work on this PC? Booting from a DVD for example? What media do you have?
I believe this PC has an AMD processor... is your Ubuntu compatible with AMD?
-- Are you looking to install it in dual boot while keeping Windows at the same time?
-- It is possible that the BIOS is configured for Windows 10 for example, and Ubuntu is not properly matched.
-- Normally, the installation of Ubuntu ends with the setup of GRUB-2... which GRUB are you talking about?
-- Often, you need to use Windows' BCD system to boot Linux
Or use GRUB4-DOS which allows coexistence
So, please answer the questions so we can better understand what you're trying to do... and how?
Because it is quite difficult to describe a GRUB setup that can become complicated with so little text.
No, Ubuntu doesn't work on my PC because it can't complete the installation because Grub doesn't want to install. My installation media is a 64 GB USB stick. I don't know if it's compatible with AMD, but the version I want to install is 19.04 or 19.10, I can't remember, so I think it's compatible with AMD. And no, I'm not looking to install Ubuntu in dual boot because I messed up my Windows 10 installation by fiddling with something in the registry. As for the BIOS, I don't know, but it managed to boot from the USB stick and install Ubuntu almost to the very end, but it's just before the end that I get an error message saying that Grub doesn't want to install. I'm talking about the Grub that installs at the very end of the installation, just before the end. And I don't know what BCD is, but I still managed to boot into Ubuntu without installation, the thing to test Ubuntu without installing it, but when I restart it, there's no more graphical interface, just a "interface" with command lines. And I don't know GRUB4-DOS, and I have no idea how it works.
There you go.
There you go.
Hello,
First question, did you disable secure boot in the "bios"?
--
Secure, save, hold, protect, control.
95% of computer problems are located between the keyboard and the chair.
First question, did you disable secure boot in the "bios"?
--
Secure, save, hold, protect, control.
95% of computer problems are located between the keyboard and the chair.
To install Ubuntu on a "recent" computer, you need to disable "secure boot" in order to allow the installation.
Give me all the specifications of your machine and its year of manufacture, knowing that at a certain time, HP - Acer - some Dell - Toshiba branded their machines so that users could not install other operating systems. Well, there was always a solution to install other OS
--
Secure, save, hold, protect, control.
95% of computer problems are located between the keyboard and the chair.
Give me all the specifications of your machine and its year of manufacture, knowing that at a certain time, HP - Acer - some Dell - Toshiba branded their machines so that users could not install other operating systems. Well, there was always a solution to install other OS
--
Secure, save, hold, protect, control.
95% of computer problems are located between the keyboard and the chair.
"To install Ubuntu on a "recent" computer, you must disable "secure boot" to allow the installation."
Hi,
Ubuntu has a signature recognized by secure boot, so it is unnecessary to disable it.
Secure boot is only meant to prevent the PC from booting from media that does not have a recognized signature. If the PC boots from the installation USB, the problem is something else.
Hi,
Ubuntu has a signature recognized by secure boot, so it is unnecessary to disable it.
Secure boot is only meant to prevent the PC from booting from media that does not have a recognized signature. If the PC boots from the installation USB, the problem is something else.
No, I don't agree, try installing Ubuntu 18.04.3 on a Lenovo Legion Y530 without disabling secure boot and without doing some manipulations beforehand ... good luck with that.
No, he managed to boot from the USB drive and complete the installation, it's just that in the end, Grub doesn't want to install.
jeannets
Posted messages
28331
Registration date
Status
Contributeur
Last intervention
Ambassadeur
6 597
Yes, I believe I understand that Ubuntu runs from the USB stick in DEMO version if it is not installed on the hard drive... That was my first question.. The goal was to know if AMD and this PC are OK for Ubuntu... It would still be necessary to answer clearly on this point..?
-- I think he is stuck on the installation of Grub... If Windows was there before, there is a small BootManager partition of 100 or 200 MB and very often it is write-protected... and that prevents Grub from being installed on the first track..
You would need to use a disk utility to check those partitions... and the disk... how it is all divided... and disable the write protection... with a live CD, like the one from Malekal for example in Windows-10-PESE and use "Partition Wizard" to inspect the disk.
-- I think he is stuck on the installation of Grub... If Windows was there before, there is a small BootManager partition of 100 or 200 MB and very often it is write-protected... and that prevents Grub from being installed on the first track..
You would need to use a disk utility to check those partitions... and the disk... how it is all divided... and disable the write protection... with a live CD, like the one from Malekal for example in Windows-10-PESE and use "Partition Wizard" to inspect the disk.
I told you in the text with
https://www.malekal.com/malekal-live-cd-reparer-depanner-pc-windows/ and you choose Windows 10PESE http://win10se.cwcodes.net/
And in this CD, you use the utility software "Partition Wizard"
Everything was written.
a live CD, like the one from Malekal for example in Windows-10-PESE and use "Partition Wizard" to inspect the disk
https://www.malekal.com/malekal-live-cd-reparer-depanner-pc-windows/ and you choose Windows 10PESE http://win10se.cwcodes.net/
And in this CD, you use the utility software "Partition Wizard"
Everything was written.
jeannets
Posted messages
28331
Registration date
Status
Contributeur
Last intervention
Ambassadeur
6 597
What are the things you don't understand... Elaborate a little...
Maybe we can explain it to you step by step...
You have the choice, to take yourself by the hand a bit and try to do something
Or do nothing... and stay on that.
Maybe we can explain it to you step by step...
You have the choice, to take yourself by the hand a bit and try to do something
Or do nothing... and stay on that.
No, there are too many scattered things; I would understand better if all possible solutions were in a single message.
Well, have you downloaded the Windows 10 PESE ISO file and put it on a bootable USB stick (made with RUFUS)?
Following the links in my POST 31 ... If not, do it and when it's ready, come back to say so here.
I admit that the POSTS don’t follow each other… I think it’s the new organization of the site that’s causing this mess… Sorry, it’s not your fault… but take it step by step, it will take a little longer, that's all.
Following the links in my POST 31 ... If not, do it and when it's ready, come back to say so here.
I admit that the POSTS don’t follow each other… I think it’s the new organization of the site that’s causing this mess… Sorry, it’s not your fault… but take it step by step, it will take a little longer, that's all.
Well, no, I reinstalled Windows 10 on my PC using the ISO from the official Microsoft website. And I used the media creation tool that installs when you "install" the Windows 10 ISO. And why install Windows 10 PE?
No, you haven't understood... this is not about installing Windows 10 on your PC... On the contrary, it's about having a Special Windows 10 that boots and works solely from the DVD/USB stick... and this version of Windows is only used for testing and diagnosing malfunctioning PCs, with the specialized programs it contains... it does not handle management, nor games, nor office tools... it's a tool to help you get out of your situation.
Don't confuse things. And don't go looking for the file elsewhere... they are not the same.
Don't confuse things. And don't go looking for the file elsewhere... they are not the same.
It’s not the right vocabulary.... Since we’re not installing it.... on the PC...
But you need to download this ISO file exactly here http://win10se.cwcodes.net/Compressed/download.php?loc=Win10C&httploc=win10se.cwcodes.net%2FCompressed%2F&file=Win10PE_SE_2019-04-12.zip&localdlc=Win10PE_SE_count.txt
It’s a ZIP file, you need to unzip it first to extract the ISO file... which you will need to burn onto your USB stick using Rufus
https://www.commentcamarche.net/telecharger/utilitaires/19615-rufus/ with explanations.
So there you go, the first step is to download the file===Unzip it... install Rufus and use it to put your ISO (win PESE) onto this USB stick of at least 8 GB... nothing on the PC for now.
But you need to download this ISO file exactly here http://win10se.cwcodes.net/Compressed/download.php?loc=Win10C&httploc=win10se.cwcodes.net%2FCompressed%2F&file=Win10PE_SE_2019-04-12.zip&localdlc=Win10PE_SE_count.txt
It’s a ZIP file, you need to unzip it first to extract the ISO file... which you will need to burn onto your USB stick using Rufus
https://www.commentcamarche.net/telecharger/utilitaires/19615-rufus/ with explanations.
So there you go, the first step is to download the file===Unzip it... install Rufus and use it to put your ISO (win PESE) onto this USB stick of at least 8 GB... nothing on the PC for now.
This is not the correct URL that was given to you ;-((
See: https://www.malekal.com/creer-live-cd-malekal-depanner-ordinateur/#Telecharger_le_Live_CD_Malekal
See: https://www.malekal.com/creer-live-cd-malekal-depanner-ordinateur/#Telecharger_le_Live_CD_Malekal
After that, you need to plug in the USB drive you just created into a port on your Ubuntu problem PC and start the PC. It should boot from the USB drive... It takes a bit of time and finally displays a desktop of Windows 10, of a new kind... Probably in English... you can change it to French in the bottom right corner of the screen...
-- Click on "Start" or Windows Key ===> all programs ===> Disk Utility ===> Partition Wizard... it should show you your drives.
The goal is to look at your PC's main disk, Disk Zero... see how it is partitioned... and what the attributes of each partition are...
At this point, it would be good to take photos or screenshots to send here.
But let's wait and see, because we're not there yet...
-- Click on "Start" or Windows Key ===> all programs ===> Disk Utility ===> Partition Wizard... it should show you your drives.
The goal is to look at your PC's main disk, Disk Zero... see how it is partitioned... and what the attributes of each partition are...
At this point, it would be good to take photos or screenshots to send here.
But let's wait and see, because we're not there yet...
Don't you find it a bit cumbersome to go through a Windows 10 live USB to check if there's an EFI partition and see what it contains?
You can simply boot from a Linux live USB (any one will do), list the partitions to identify the EFI partition, mount it manually, and you'll be able to see its contents with a simple ls...
So, Apodose's (aka Ik......) suggestion seems the most sensible since it will connect you with Ubuntu specialists... But if you want to waste time, it might drag on for a while given the pace that's expected...
You can simply boot from a Linux live USB (any one will do), list the partitions to identify the EFI partition, mount it manually, and you'll be able to see its contents with a simple ls...
So, Apodose's (aka Ik......) suggestion seems the most sensible since it will connect you with Ubuntu specialists... But if you want to waste time, it might drag on for a while given the pace that's expected...
Re,
Don't you find it a bit heavy to go through a W10 live USB to check if there is an EFI partition and see what it contains?
Especially since a simple sudo fdisk -l would have already provided several significant pieces of information. But the request for a boot-info report is still relevant to get a complete overview.
Well, no, I reinstalled Windows 10 on my PC using the ISO from Microsoft's official site
It is absurd to install WinPE if W10 has been restored, because on the one hand, it does the same thing, and on the other hand, it itself contains a WinPE.
It's (WinPE is) a tool to help you get out of your situation.
If the issue is what I think it is (the final crash during the GRUB installation is quite "well known" on UEFI laptops), it's more than unlikely.
Don't you find it a bit heavy to go through a W10 live USB to check if there is an EFI partition and see what it contains?
Especially since a simple sudo fdisk -l would have already provided several significant pieces of information. But the request for a boot-info report is still relevant to get a complete overview.
Well, no, I reinstalled Windows 10 on my PC using the ISO from Microsoft's official site
It is absurd to install WinPE if W10 has been restored, because on the one hand, it does the same thing, and on the other hand, it itself contains a WinPE.
It's (WinPE is) a tool to help you get out of your situation.
If the issue is what I think it is (the final crash during the GRUB installation is quite "well known" on UEFI laptops), it's more than unlikely.
Yes, of course it's a bit heavy, but burning a live CD with WinPe or with Toutou is not more complicated.
It's also important to understand that not everyone is familiar with Linux and command lines... or they don't understand the return message at all...
Of course, to check the partition... yes, but for me Win PESE contains many other tools with user-friendliness. Often, things get complicated afterward and you need other tools. And redo everything again, etc. Here, I'm betting on having all the tools to explore the disk and even more if there are files to recover... even more, we can even connect to the internet without needing the PC's disk...
I understood that @roblochon was lost with all the opinions in a disordered sequence... I just wanted to help him... It doesn't change the fact that everyone could have done it... I'm not jealous; but we need to keep ensuring the steering afterward... well, anyway... a new year is ahead of us.
It's also important to understand that not everyone is familiar with Linux and command lines... or they don't understand the return message at all...
Of course, to check the partition... yes, but for me Win PESE contains many other tools with user-friendliness. Often, things get complicated afterward and you need other tools. And redo everything again, etc. Here, I'm betting on having all the tools to explore the disk and even more if there are files to recover... even more, we can even connect to the internet without needing the PC's disk...
I understood that @roblochon was lost with all the opinions in a disordered sequence... I just wanted to help him... It doesn't change the fact that everyone could have done it... I'm not jealous; but we need to keep ensuring the steering afterward... well, anyway... a new year is ahead of us.

Legacy is the legacy mode, in other words, an emulation of the old BIOS.
https://doc.ubuntu-fr.org/tutoriel/boot-info#methode_standarddepuis_une_session_ubuntu